Home
last modified time | relevance | path

Searched refs:macvalue (Results 1 – 4 of 4) sorted by relevance

/OK3568_Linux_fs/external/security/librkcrypto/test/c_mode/
H A Dsm4_cmac.c53 …char *key, unsigned int key_len, unsigned char *msg, unsigned int msg_len, unsigned char *macvalue) in rk_sm4_genarate_cmac() argument
79 rk_sm4_crypt_ecb(&ctx, Blocktemp, macvalue); in rk_sm4_genarate_cmac()
88 rk_sm4_crypt_ecb(&ctx, Blocktemp, macvalue); in rk_sm4_genarate_cmac()
113 rk_sm4_crypt_ecb(&ctx, Blocktemp, macvalue); in rk_sm4_genarate_cmac()
120 …char *key, unsigned int key_len, unsigned char *msg, unsigned int msg_len, unsigned char *macvalue) in rk_sm4_verify_cmac() argument
189 if (tmp_macvalue[i] != macvalue[i]) in rk_sm4_verify_cmac()
H A Daes_cmac.c54 …key, unsigned int key_len, const unsigned char *msg, unsigned int msg_len, unsigned char *macvalue) in rk_aes_genarate_cmac() argument
83 rk_aes_encrypt(Blocktemp, macvalue, &aes_key); in rk_aes_genarate_cmac()
92 rk_aes_encrypt(Blocktemp, macvalue, &aes_key); in rk_aes_genarate_cmac()
117 rk_aes_encrypt(Blocktemp, macvalue, &aes_key); in rk_aes_genarate_cmac()
124 …key, unsigned int key_len, const unsigned char *msg, unsigned int msg_len, unsigned char *macvalue) in rk_aes_verify_cmac() argument
195 if (tmp_macvalue[i] != macvalue[i]) in rk_aes_verify_cmac()
/OK3568_Linux_fs/external/security/librkcrypto/test/include/c_mode/
H A Dsm4_cmac.h61 unsigned char *msg, unsigned int msg_len, unsigned char *macvalue);
63 unsigned char *msg, unsigned int msg_len, unsigned char *macvalue);
H A Daes_cmac.h61 const unsigned char *msg, unsigned int msg_len, unsigned char *macvalue);
63 const unsigned char *msg, unsigned int msg_len, unsigned char *macvalue);