SKF Wrapper

This commit is contained in:
Zhi Guan
2016-05-29 00:22:33 +02:00
parent 0cf9126a7d
commit ee4384daeb
142 changed files with 9469 additions and 6750 deletions

View File

@@ -79,5 +79,4 @@ clean:
# DO NOT DELETE THIS LINE -- make depend depends on it.
sm3.o: sm3.c sm3.h ../byteorder.h
sm3test.o: sm3test.c sm3.h ../byteorder.h
sm3.o: ../byteorder.h sm3.c sm3.h

View File

@@ -23,8 +23,6 @@
#define IPAD 0x36
#define OPAD 0x5C
void hmac_sm3_init(hmac_sm3_ctx_t *ctx, const unsigned char *key, size_t key_len)
{
int i;

View File

@@ -119,4 +119,27 @@ static char *pt(unsigned char *md)
sprintf(&(buf[i * 2]), "%02x", md[i]);
return (buf);
}
/*
*/
#endif