Home
last modified time | relevance | path

Searched refs:psa_hash_update (Results 1 - 12 of 12) sorted by relevance

/third_party/mbedtls/library/
H A Dlmots.c135 status = psa_hash_update(&op, params->I_key_identifier, in create_digit_array_with_checksum()
141 status = psa_hash_update(&op, params->q_leaf_identifier, in create_digit_array_with_checksum()
147 status = psa_hash_update(&op, D_MESSAGE_CONSTANT_BYTES, D_CONST_LEN); in create_digit_array_with_checksum()
152 status = psa_hash_update(&op, C_random_value, in create_digit_array_with_checksum()
158 status = psa_hash_update(&op, msg, msg_len); in create_digit_array_with_checksum()
246 status = psa_hash_update(&op, in hash_digit_array()
253 status = psa_hash_update(&op, in hash_digit_array()
261 status = psa_hash_update(&op, i_digit_idx_bytes, I_DIGIT_IDX_LEN); in hash_digit_array()
267 status = psa_hash_update(&op, j_hash_idx_bytes, J_HASH_IDX_LEN); in hash_digit_array()
272 status = psa_hash_update( in hash_digit_array()
[all...]
H A Dlms.c110 status = psa_hash_update(&op, params->I_key_identifier, in create_merkle_leaf_value()
117 status = psa_hash_update(&op, r_node_idx_bytes, 4); in create_merkle_leaf_value()
122 status = psa_hash_update(&op, D_LEAF_CONSTANT_BYTES, D_CONST_LEN); in create_merkle_leaf_value()
127 status = psa_hash_update(&op, pub_key, in create_merkle_leaf_value()
184 status = psa_hash_update(&op, params->I_key_identifier, in create_merkle_internal_value()
191 status = psa_hash_update(&op, r_node_idx_bytes, 4); in create_merkle_internal_value()
196 status = psa_hash_update(&op, D_INTR_CONSTANT_BYTES, D_CONST_LEN); in create_merkle_internal_value()
201 status = psa_hash_update(&op, left_node, in create_merkle_internal_value()
207 status = psa_hash_update(&op, right_node, in create_merkle_internal_value()
H A Dpsa_crypto_mac.c95 status = psa_hash_update(&hmac->hash_ctx, ipad, block_size); in psa_hmac_setup_internal()
108 return psa_hash_update(&hmac->hash_ctx, data, data_length); in psa_hmac_update_internal()
133 status = psa_hash_update(&hmac->hash_ctx, hmac->opad, block_size); in psa_hmac_finish_internal()
138 status = psa_hash_update(&hmac->hash_ctx, tmp, hash_size); in psa_hmac_finish_internal()
H A Dssl_msg.c129 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()
149 PSA_CHK(psa_hash_update(&operation, data + offset, 1)); 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()
H A Dmd.c581 psa_status_t status = psa_hash_update(ctx->md_ctx, input, ilen); in mbedtls_md_update()
H A Dssl_tls.c912 status = psa_hash_update(&ssl->handshake->fin_sha256_psa, buf, len); in ssl_update_checksum_start()
925 status = psa_hash_update(&ssl->handshake->fin_sha384_psa, buf, len); in ssl_update_checksum_start()
944 return mbedtls_md_error_from_psa(psa_hash_update( in ssl_update_checksum_sha256()
957 return mbedtls_md_error_from_psa(psa_hash_update( in ssl_update_checksum_sha384()
9344 if ((status = psa_hash_update(&hash_operation, ssl->handshake->randbytes, in mbedtls_ssl_get_key_exchange_md_tls1_2()
9346 MBEDTLS_SSL_DEBUG_RET(1, "psa_hash_update", status); in mbedtls_ssl_get_key_exchange_md_tls1_2()
9350 if ((status = psa_hash_update(&hash_operation, in mbedtls_ssl_get_key_exchange_md_tls1_2()
9352 MBEDTLS_SSL_DEBUG_RET(1, "psa_hash_update", status); in mbedtls_ssl_get_key_exchange_md_tls1_2()
H A Dpsa_crypto.c2322 psa_status_t psa_hash_update(psa_hash_operation_t *operation, in psa_hash_update() function
/third_party/mbedtls/tests/include/spe/
H A Dcrypto_spe.h104 #define psa_hash_update \ macro
105 PSA_FUNCTION_NAME(psa_hash_update)
/third_party/mbedtls/programs/psa/
H A Dpsa_hash.c6 * operation, which requires psa_hash_setup(), psa_hash_update() and
85 status = psa_hash_update(&hash_operation, sample_message, sample_message_length); in main()
87 mbedtls_printf("psa_hash_update failed\n"); in main()
/third_party/mbedtls/include/psa/
H A Dcrypto.h950 * -# Call psa_hash_update() zero, one or more times, passing a fragment
1015 psa_status_t psa_hash_update(psa_hash_operation_t *operation,
1023 * the inputs passed to preceding calls to psa_hash_update().
1071 * the inputs passed to preceding calls to psa_hash_update(). It then
1139 * psa_hash_update() on \p target_operation with the same input that
2949 * first calculate the hash by calling psa_hash_setup(), psa_hash_update()
3003 * first calculate the hash by calling psa_hash_setup(), psa_hash_update()
/third_party/mbedtls/tests/include/test/
H A Dpsa_test_wrappers.h412 #define psa_hash_update(arg0_operation, arg1_input, arg2_input_length) \ macro
/third_party/mbedtls/tests/src/
H A Dpsa_test_wrappers.c713 /* Wrapper for psa_hash_update */
722 psa_status_t status = (psa_hash_update)(arg0_operation, arg1_input, arg2_input_length); in mbedtls_test_wrap_psa_hash_update()

Completed in 43 milliseconds