Searched refs:key_buf (Results 1 – 1 of 1) sorted by relevance
92 unsigned char key_buf[MAX_HASH_BLOCK_LENGTH]; in mbedtls_ct_hmac() local117 PSA_CHK(psa_export_key(key, key_buf, block_size, &mac_key_length)); in mbedtls_ct_hmac()121 key_buf[i] = (unsigned char) (key_buf[i] ^ 0x36); in mbedtls_ct_hmac()124 key_buf[i] = 0x36; in mbedtls_ct_hmac()130 PSA_CHK(psa_hash_update(&operation, key_buf, block_size)); in mbedtls_ct_hmac()159 key_buf[i] = (unsigned char) ((key_buf[i] ^ 0x36) ^ 0x5C); in mbedtls_ct_hmac()162 key_buf[i] = 0x5C; in mbedtls_ct_hmac()167 PSA_CHK(psa_hash_update(&operation, key_buf, block_size)); in mbedtls_ct_hmac()174 mbedtls_platform_zeroize(key_buf, MAX_HASH_BLOCK_LENGTH); in mbedtls_ct_hmac()