summaryrefslogtreecommitdiff
path: root/src/libcrypto/libaes/aes_xcbc_mac.h
blob: baf438cd4b059ae4ae78d58539496be88992cc85 (plain)
1
2
3
4
5
6
7
8
9
10
11
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 */