c-iprs/sign.c

22 lines
356 B
C
Raw Normal View History

2016-11-01 00:24:47 +00:00
#include <stdlib.h>
#include <stdint.h>
#include "iprs.h"
#include "sign.h"
uint8_t* signablePart(Record *r) {
uint8_t* sigbuf = NULL;
/* TODO */
return sigbuf;
}
uint8_t* authorKey_Sign(uint8_t *v) {
uint8_t* sign = NULL;
/* TODO */
return sign;
}
int authorKey_Verify(uint8_t *sign, uint8_t *value) {
/* TODO */
return TRUE;
}