Home
last modified time | relevance | path

Searched refs:psa_hash_update (Results 1 – 17 of 17) sorted by relevance

/mbedtls-latest/library/
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(&op, tmp_hash, in hash_digit_array()
[all …]
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()
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()
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()
Dmd.c581 psa_status_t status = psa_hash_update(ctx->md_ctx, input, ilen); in mbedtls_md_update()
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()
9121 if ((status = psa_hash_update(&hash_operation, ssl->handshake->randbytes, in mbedtls_ssl_get_key_exchange_md_tls1_2()
9127 if ((status = psa_hash_update(&hash_operation, in mbedtls_ssl_get_key_exchange_md_tls1_2()
Dpsa_crypto.c2378 psa_status_t psa_hash_update(psa_hash_operation_t *operation, function
/mbedtls-latest/tests/suites/
Dtest_suite_psa_crypto_hash.function24 PSA_ASSERT(psa_hash_update(&operation,
93 PSA_ASSERT(psa_hash_update(&operation,
122 PSA_ASSERT(psa_hash_update(&operation,
125 PSA_ASSERT(psa_hash_update(&operation,
127 PSA_ASSERT(psa_hash_update(&operation2,
Dtest_suite_psa_crypto_driver_wrappers.function2307 PSA_ASSERT(psa_hash_update(&operation, input->x, input->len));
2351 TEST_EQUAL(psa_hash_update(&operation, input->x, input->len),
2360 TEST_EQUAL(psa_hash_update(&operation, input->x, input->len),
2416 PSA_ASSERT(psa_hash_update(&operation, input->x, input->len));
2479 PSA_ASSERT(psa_hash_update(&target_operation,
Dtest_suite_psa_crypto.function2927 TEST_EQUAL(psa_hash_update(&func, input, sizeof(input)),
2929 TEST_EQUAL(psa_hash_update(&init, input, sizeof(input)),
2931 TEST_EQUAL(psa_hash_update(&zero, input, sizeof(input)),
3013 status = psa_hash_update(&operation, input->x, input->len);
3056 status = psa_hash_update(&operation, input->x, input->len);
3096 PSA_ASSERT(psa_hash_update(&operation, input->x, input->len));
3114 PSA_ASSERT(psa_hash_update(&operation, input->x, input->len));
3127 PSA_ASSERT(psa_hash_update(&operation, input->x, input->len));
3138 PSA_ASSERT(psa_hash_update(&operation, input->x, input->len));
3149 PSA_ASSERT(psa_hash_update(&operation, input->x, input->len));
[all …]
/mbedtls-latest/tests/include/spe/
Dcrypto_spe.h92 #define psa_hash_update \ macro
93 PSA_FUNCTION_NAME(psa_hash_update)
/mbedtls-latest/programs/psa/
Dpsa_hash.c85 status = psa_hash_update(&hash_operation, sample_message, sample_message_length); in main()
/mbedtls-latest/include/psa/
Dcrypto.h1018 psa_status_t psa_hash_update(psa_hash_operation_t *operation,
/mbedtls-latest/tests/include/test/
Dpsa_test_wrappers.h434 #define psa_hash_update(arg0_operation, arg1_input, arg2_input_length) \ macro
/mbedtls-latest/tests/src/
Dpsa_test_wrappers.c753 psa_status_t status = (psa_hash_update)(arg0_operation, arg1_input, arg2_input_length); in mbedtls_test_wrap_psa_hash_update()
/mbedtls-latest/docs/proposed/
Dpsa-driver-interface.md260 * `"hash_update"`: called by `psa_hash_update()`.
/mbedtls-latest/docs/
Dpsa-transition.md518 3. Call [`psa_hash_update`](https://mbed-tls.readthedocs.io/projects/api/en/development/api/group/g…