Home
last modified time | relevance | path

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

/net-tools-latest/mbedtls-2.4.0/library/
Dcmac.c139 unsigned char* K1, unsigned char* K2 ) in cmac_generate_subkeys() argument
156 if( ( ret = cmac_multiply_by_u( K1, L , block_size ) ) != 0 ) in cmac_generate_subkeys()
159 if( ( ret = cmac_multiply_by_u( K2, K1 , block_size ) ) != 0 ) in cmac_generate_subkeys()
314 unsigned char K1[MBEDTLS_CIPHER_BLKSIZE_MAX]; in mbedtls_cipher_cmac_finish() local
328 mbedtls_zeroize( K1, sizeof( K1 ) ); in mbedtls_cipher_cmac_finish()
330 cmac_generate_subkeys( ctx, K1, K2 ); in mbedtls_cipher_cmac_finish()
343 cmac_xor_block( M_last, last_block, K1, block_size ); in mbedtls_cipher_cmac_finish()
359 mbedtls_zeroize( K1, sizeof( K1 ) ); in mbedtls_cipher_cmac_finish()
730 unsigned char K1[MBEDTLS_CIPHER_BLKSIZE_MAX]; in cmac_test_subkeys() local
764 ret = cmac_generate_subkeys( &ctx, K1, K2 ); in cmac_test_subkeys()
[all …]