36__attribute__((visibility(
"default")))
44__attribute__((visibility(
"default")))
55__attribute__((visibility(
"default")))
57 size_t maclen, const
unsigned char *msg,
size_t msglen);
67__attribute__((visibility(
"default")))
69 size_t maclen, const
unsigned char *msg,
size_t msglen);
74__attribute__((visibility(
"default")))
int zpc_aes_cmac_alloc(struct zpc_aes_cmac **ctx)
void zpc_aes_cmac_free(struct zpc_aes_cmac **ctx)
int zpc_aes_cmac_sign(struct zpc_aes_cmac *ctx, unsigned char *mac, size_t maclen, const unsigned char *msg, size_t msglen)
int zpc_aes_cmac_verify(struct zpc_aes_cmac *ctx, const unsigned char *mac, size_t maclen, const unsigned char *msg, size_t msglen)
int zpc_aes_cmac_set_key(struct zpc_aes_cmac *ctx, struct zpc_aes_key *key)