Lines Matching refs:MBEDTLS_AES_BLOCK_SIZE
76 if( blocksize == MBEDTLS_AES_BLOCK_SIZE ) in cmac_multiply_by_u()
415 unsigned char zero_key[MBEDTLS_AES_BLOCK_SIZE]; in mbedtls_aes_cmac_prf_128()
416 unsigned char int_key[MBEDTLS_AES_BLOCK_SIZE]; in mbedtls_aes_cmac_prf_128()
429 if( key_length == MBEDTLS_AES_BLOCK_SIZE ) in mbedtls_aes_cmac_prf_128()
432 memcpy( int_key, key, MBEDTLS_AES_BLOCK_SIZE ); in mbedtls_aes_cmac_prf_128()
436 memset( zero_key, 0, MBEDTLS_AES_BLOCK_SIZE ); in mbedtls_aes_cmac_prf_128()
499 static const unsigned char aes_128_subkeys[2][MBEDTLS_AES_BLOCK_SIZE] = {
511 static const unsigned char aes_128_expected_result[NB_CMAC_TESTS_PER_KEY][MBEDTLS_AES_BLOCK_SIZE] =…
540 static const unsigned char aes_192_subkeys[2][MBEDTLS_AES_BLOCK_SIZE] = {
552 static const unsigned char aes_192_expected_result[NB_CMAC_TESTS_PER_KEY][MBEDTLS_AES_BLOCK_SIZE] =…
582 static const unsigned char aes_256_subkeys[2][MBEDTLS_AES_BLOCK_SIZE] = {
594 static const unsigned char aes_256_expected_result[NB_CMAC_TESTS_PER_KEY][MBEDTLS_AES_BLOCK_SIZE] =…
907 unsigned char output[MBEDTLS_AES_BLOCK_SIZE]; in test_aes128_cmac_prf()
914 memcmp( output, PRFT[i], MBEDTLS_AES_BLOCK_SIZE ) != 0 ) in test_aes128_cmac_prf()
943 MBEDTLS_AES_BLOCK_SIZE, in mbedtls_cmac_self_test()
957 MBEDTLS_AES_BLOCK_SIZE, in mbedtls_cmac_self_test()
970 MBEDTLS_AES_BLOCK_SIZE, in mbedtls_cmac_self_test()
984 MBEDTLS_AES_BLOCK_SIZE, in mbedtls_cmac_self_test()
997 MBEDTLS_AES_BLOCK_SIZE, in mbedtls_cmac_self_test()
1011 MBEDTLS_AES_BLOCK_SIZE, in mbedtls_cmac_self_test()