Lines Matching refs:PSA_CHK
104 #define PSA_CHK(func_call) \ in mbedtls_ct_hmac() macro
116 PSA_CHK(psa_export_key(key, key_buf, block_size, &mac_key_length)); in mbedtls_ct_hmac()
126 PSA_CHK(psa_hash_setup(&operation, hash_alg)); in mbedtls_ct_hmac()
129 PSA_CHK(psa_hash_update(&operation, key_buf, block_size)); in mbedtls_ct_hmac()
130 PSA_CHK(psa_hash_update(&operation, add_data, add_data_len)); in mbedtls_ct_hmac()
131 PSA_CHK(psa_hash_update(&operation, data, min_data_len)); in mbedtls_ct_hmac()
141 PSA_CHK(psa_hash_clone(&operation, &aux_operation)); in mbedtls_ct_hmac()
142 PSA_CHK(psa_hash_finish(&aux_operation, aux_out, in mbedtls_ct_hmac()
149 PSA_CHK(psa_hash_update(&operation, data + offset, 1)); in mbedtls_ct_hmac()
154 PSA_CHK(psa_hash_abort(&operation)); in mbedtls_ct_hmac()
165 PSA_CHK(psa_hash_setup(&operation, hash_alg)); in mbedtls_ct_hmac()
166 PSA_CHK(psa_hash_update(&operation, key_buf, block_size)); in mbedtls_ct_hmac()
167 PSA_CHK(psa_hash_update(&operation, output, hash_size)); in mbedtls_ct_hmac()
168 PSA_CHK(psa_hash_finish(&operation, output, hash_size, &hash_length)); in mbedtls_ct_hmac()
170 #undef PSA_CHK in mbedtls_ct_hmac()