Home
last modified time | relevance | path

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

/mbedtls-3.5.0/library/
Dcmac.c114 unsigned char *K1, unsigned char *K2) in cmac_generate_subkeys() argument
132 if ((ret = cmac_multiply_by_u(K1, L, block_size)) != 0) { in cmac_generate_subkeys()
136 if ((ret = cmac_multiply_by_u(K2, K1, block_size)) != 0) { in cmac_generate_subkeys()
286 unsigned char K1[MBEDTLS_CIPHER_BLKSIZE_MAX]; in mbedtls_cipher_cmac_finish() local
301 mbedtls_platform_zeroize(K1, sizeof(K1)); in mbedtls_cipher_cmac_finish()
303 cmac_generate_subkeys(ctx, K1, K2); in mbedtls_cipher_cmac_finish()
313 mbedtls_xor(M_last, last_block, K1, block_size); in mbedtls_cipher_cmac_finish()
328 mbedtls_platform_zeroize(K1, sizeof(K1)); in mbedtls_cipher_cmac_finish()
749 unsigned char K1[MBEDTLS_CIPHER_BLKSIZE_MAX]; in cmac_test_subkeys() local
795 ret = cmac_generate_subkeys(&ctx, K1, K2); in cmac_test_subkeys()
[all …]
/mbedtls-3.5.0/tests/suites/
Dtest_suite_psa_crypto_metadata.data384 ECC key family: SECP K1
393 ECC key family: SECT K1