/third_party/mbedtls/library/ |
H A D | lmots.c | 135 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 D | lms.c | 110 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 D | psa_crypto_mac.c | 95 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 D | ssl_msg.c | 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() 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 D | md.c | 581 psa_status_t status = psa_hash_update(ctx->md_ctx, input, ilen); in mbedtls_md_update()
|
H A D | ssl_tls.c | 912 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 D | psa_crypto.c | 2322 psa_status_t psa_hash_update(psa_hash_operation_t *operation, in psa_hash_update() function
|
/third_party/mbedtls/tests/include/spe/ |
H A D | crypto_spe.h | 104 #define psa_hash_update \ macro 105 PSA_FUNCTION_NAME(psa_hash_update)
|
/third_party/mbedtls/programs/psa/ |
H A D | psa_hash.c | 6 * 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 D | crypto.h | 950 * -# 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 D | psa_test_wrappers.h | 412 #define psa_hash_update(arg0_operation, arg1_input, arg2_input_length) \ macro
|
/third_party/mbedtls/tests/src/ |
H A D | psa_test_wrappers.c | 713 /* 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()
|