mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 15:02:58 +02:00
test c**
This commit is contained in:
15
libdvbci/aes_xcbc_mac.h
Normal file
15
libdvbci/aes_xcbc_mac.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#ifndef __AES_XCBC_H_
|
||||
#define __AES_XCBC_H_
|
||||
|
||||
struct aes_xcbc_mac_ctx {
|
||||
uint8_t K[3][16];
|
||||
uint8_t IV[16];
|
||||
AES_KEY key;
|
||||
int buflen;
|
||||
};
|
||||
|
||||
int aes_xcbc_mac_init(struct aes_xcbc_mac_ctx *ctx, const uint8_t *key);
|
||||
int aes_xcbc_mac_process(struct aes_xcbc_mac_ctx *ctx, const uint8_t *in, unsigned int len);
|
||||
int aes_xcbc_mac_done(struct aes_xcbc_mac_ctx *ctx, uint8_t *out);
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user