This commit is contained in:
Martin Willi
2006-05-10 13:16:27 +00:00
parent 4e98759d32
commit 9cf5f29027
295 changed files with 2373 additions and 25177 deletions
+12
View File
@@ -0,0 +1,12 @@
#ifndef _AES_XCBC_MAC_H
#define _AES_XCBC_MAC_H
typedef u_int32_t aes_block[4];
typedef struct {
aes_context ctx_k1;
aes_block k2;
aes_block k3;
} aes_context_mac;
int AES_xcbc_mac_set_key(aes_context_mac *ctxm, const u_int8_t *key, int keylen);
int AES_xcbc_mac_hash(const aes_context_mac *ctxm, const u_int8_t * in, int ilen, u_int8_t hash[16]);
#endif /* _AES_XCBC_MAC_H */