add hmac-sha1

This commit is contained in:
wangyu-
2018-06-22 13:22:26 -05:00
parent 3ab2543715
commit 52a911b109
7 changed files with 214 additions and 51 deletions

View File

@@ -142,4 +142,13 @@ int hex_to_u32(const string & a,u32_t &output);
int create_fifo(char * file);
inline void print_binary_chars(const char * a,int len)
{
for(int i=0;i<len;i++)
{
unsigned char b=a[i];
printf("<%x>",(int)b);
}
printf("\n");
}
#endif /* COMMON_H_ */