Lines Matching refs:block_size
90 const size_t block_size = PSA_HASH_BLOCK_LENGTH(hash_alg); in mbedtls_ct_hmac() local
116 PSA_CHK(psa_export_key(key, key_buf, block_size, &mac_key_length)); in mbedtls_ct_hmac()
122 for (; i < block_size; ++i) { in mbedtls_ct_hmac()
129 PSA_CHK(psa_hash_update(&operation, key_buf, block_size)); in mbedtls_ct_hmac()
160 for (; i < block_size; ++i) { in mbedtls_ct_hmac()
166 PSA_CHK(psa_hash_update(&operation, key_buf, block_size)); in mbedtls_ct_hmac()
211 const size_t block_size = md_alg == MBEDTLS_MD_SHA384 ? 128 : 64; in mbedtls_ct_hmac() local
213 const unsigned char * const okey = ikey + block_size; in mbedtls_ct_hmac()
261 MD_CHK(mbedtls_md_update(ctx, okey, block_size)); in mbedtls_ct_hmac()
5449 unsigned block_size; in mbedtls_ssl_get_record_expansion() local
5473 block_size = PSA_BLOCK_CIPHER_BLOCK_LENGTH(key_type); in mbedtls_ssl_get_record_expansion()
5481 transform_expansion += block_size; in mbedtls_ssl_get_record_expansion()
5486 transform_expansion += block_size; in mbedtls_ssl_get_record_expansion()
5504 block_size = mbedtls_cipher_get_block_size( in mbedtls_ssl_get_record_expansion()
5513 transform_expansion += block_size; in mbedtls_ssl_get_record_expansion()
5518 transform_expansion += block_size; in mbedtls_ssl_get_record_expansion()