Searched refs:psa_hash_update (Results 1 – 8 of 8) sorted by relevance
| /optee_os/lib/libmbedtls/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(&op, tmp_hash, in hash_digit_array() [all …]
|
| H A D | lms.c | 113 status = psa_hash_update(&op, params->I_key_identifier, in create_merkle_leaf_value() 120 status = psa_hash_update(&op, r_node_idx_bytes, 4); in create_merkle_leaf_value() 125 status = psa_hash_update(&op, D_LEAF_CONSTANT_BYTES, D_CONST_LEN); in create_merkle_leaf_value() 130 status = psa_hash_update(&op, pub_key, in create_merkle_leaf_value() 187 status = psa_hash_update(&op, params->I_key_identifier, in create_merkle_internal_value() 194 status = psa_hash_update(&op, r_node_idx_bytes, 4); in create_merkle_internal_value() 199 status = psa_hash_update(&op, D_INTR_CONSTANT_BYTES, D_CONST_LEN); in create_merkle_internal_value() 204 status = psa_hash_update(&op, left_node, in create_merkle_internal_value() 210 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 | 130 PSA_CHK(psa_hash_update(&operation, key_buf, block_size)); in mbedtls_ct_hmac() 131 PSA_CHK(psa_hash_update(&operation, add_data, add_data_len)); in mbedtls_ct_hmac() 132 PSA_CHK(psa_hash_update(&operation, data, min_data_len)); in mbedtls_ct_hmac() 150 PSA_CHK(psa_hash_update(&operation, data + offset, 1)); in mbedtls_ct_hmac() 167 PSA_CHK(psa_hash_update(&operation, key_buf, block_size)); in mbedtls_ct_hmac() 168 PSA_CHK(psa_hash_update(&operation, output, hash_size)); in mbedtls_ct_hmac()
|
| H A D | md.c | 584 psa_status_t status = psa_hash_update(ctx->md_ctx, input, ilen); in mbedtls_md_update()
|
| H A D | ssl_tls.c | 917 status = psa_hash_update(&ssl->handshake->fin_sha256_psa, buf, len); in ssl_update_checksum_start() 930 status = psa_hash_update(&ssl->handshake->fin_sha384_psa, buf, len); in ssl_update_checksum_start() 949 return mbedtls_md_error_from_psa(psa_hash_update( in ssl_update_checksum_sha256() 962 return mbedtls_md_error_from_psa(psa_hash_update( in ssl_update_checksum_sha384() 9182 if ((status = psa_hash_update(&hash_operation, ssl->handshake->randbytes, in mbedtls_ssl_get_key_exchange_md_tls1_2() 9188 if ((status = psa_hash_update(&hash_operation, in mbedtls_ssl_get_key_exchange_md_tls1_2()
|
| H A D | psa_crypto.c | 2420 psa_status_t psa_hash_update(psa_hash_operation_t *operation, in psa_hash_update() function
|
| /optee_os/lib/libmbedtls/mbedtls/include/psa/ |
| H A D | crypto.h | 1030 psa_status_t psa_hash_update(psa_hash_operation_t *operation,
|