Searched refs:rk_sm4_crypt_ecb (Results 1 – 5 of 5) sorted by relevance
| /OK3568_Linux_fs/external/security/librkcrypto/test/c_mode/ |
| H A D | sm4_cmac.c | 31 rk_sm4_crypt_ecb(key, plain, c0); in rk_derive_mac_key() 75 rk_sm4_crypt_ecb(&ctx, Blocktemp, IVtemp); in rk_sm4_genarate_cmac() 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() 97 rk_sm4_crypt_ecb(&ctx, Blocktemp, IVtemp); in rk_sm4_genarate_cmac() 113 rk_sm4_crypt_ecb(&ctx, Blocktemp, macvalue); in rk_sm4_genarate_cmac() 144 rk_sm4_crypt_ecb(&ctx, Blocktemp, IVtemp); in rk_sm4_verify_cmac() 148 rk_sm4_crypt_ecb(&ctx, Blocktemp, tmp_macvalue); in rk_sm4_verify_cmac() 157 rk_sm4_crypt_ecb(&ctx, Blocktemp, tmp_macvalue); in rk_sm4_verify_cmac() 166 rk_sm4_crypt_ecb(&ctx, Blocktemp, IVtemp); in rk_sm4_verify_cmac() [all …]
|
| H A D | sm4_xts.c | 21 rk_sm4_crypt_ecb(ctx2, (const unsigned char*)tweak.c, tweak.c); in aes_xts128_encrypt() 32 rk_sm4_crypt_ecb(ctx1, (const unsigned char*)scratch.c, scratch.c); in aes_xts128_encrypt() 34 rk_sm4_crypt_ecb(ctx1, (const unsigned char*)scratch.c, scratch.c); in aes_xts128_encrypt() 75 rk_sm4_crypt_ecb(ctx1, (const unsigned char*)scratch.c, scratch.c); in aes_xts128_encrypt() 107 rk_sm4_crypt_ecb(ctx1, (const unsigned char*)scratch.c, scratch.c); in aes_xts128_encrypt() 119 rk_sm4_crypt_ecb(ctx1, (const unsigned char*)scratch.c, scratch.c); in aes_xts128_encrypt()
|
| H A D | sm4_cbc_mac.c | 34 rk_sm4_crypt_ecb(ctx, out, out); in rk_sm4_cbc_mac_encrypt() 40 rk_sm4_crypt_ecb(ctx, out, out); in rk_sm4_cbc_mac_encrypt()
|
| H A D | sm4_core.c | 255 int rk_sm4_crypt_ecb( void *ctx, in rk_sm4_crypt_ecb() function 266 return rk_sm4_crypt_ecb(ctx, input, output); in rk_rk_sm4_crypt_ecb()
|
| /OK3568_Linux_fs/external/security/librkcrypto/test/include/c_mode/ |
| H A D | sm4_core.h | 90 int rk_sm4_crypt_ecb( void *ctx, const unsigned char *input, unsigned char *output);
|