/third_party/mbedtls/library/ |
D | lmots.c | 164 status = psa_hash_update(&op, params->I_key_identifier, in create_digit_array_with_checksum() 170 status = psa_hash_update(&op, params->q_leaf_identifier, in create_digit_array_with_checksum() 176 status = psa_hash_update(&op, D_MESSAGE_CONSTANT_BYTES, D_CONST_LEN); in create_digit_array_with_checksum() 181 status = psa_hash_update(&op, C_random_value, in create_digit_array_with_checksum() 187 status = psa_hash_update(&op, msg, msg_len); in create_digit_array_with_checksum() 276 status = psa_hash_update(&op, in hash_digit_array() 283 status = psa_hash_update(&op, in hash_digit_array() 293 status = psa_hash_update(&op, i_digit_idx_bytes, I_DIGIT_IDX_LEN); in hash_digit_array() 301 status = psa_hash_update(&op, j_hash_idx_bytes, J_HASH_IDX_LEN); in hash_digit_array() 306 status = psa_hash_update(&op, tmp_hash, in hash_digit_array() [all …]
|
D | lms.c | 115 status = psa_hash_update(&op, params->I_key_identifier, in create_merkle_leaf_value() 122 status = psa_hash_update(&op, r_node_idx_bytes, 4); in create_merkle_leaf_value() 127 status = psa_hash_update(&op, D_LEAF_CONSTANT_BYTES, D_CONST_LEN); in create_merkle_leaf_value() 132 status = psa_hash_update(&op, pub_key, in create_merkle_leaf_value() 189 status = psa_hash_update(&op, params->I_key_identifier, in create_merkle_internal_value() 196 status = psa_hash_update(&op, r_node_idx_bytes, 4); in create_merkle_internal_value() 201 status = psa_hash_update(&op, D_INTR_CONSTANT_BYTES, D_CONST_LEN); in create_merkle_internal_value() 206 status = psa_hash_update(&op, left_node, in create_merkle_internal_value() 212 status = psa_hash_update(&op, right_node, in create_merkle_internal_value()
|
D | pem.c | 186 if ((status = psa_hash_update(&operation, pwd, pwdlen)) != PSA_SUCCESS) { in pem_pbkdf1() 190 if ((status = psa_hash_update(&operation, iv, 8)) != PSA_SUCCESS) { in pem_pbkdf1() 221 if ((status = psa_hash_update(&operation, md5sum, 16)) != PSA_SUCCESS) { in pem_pbkdf1() 225 if ((status = psa_hash_update(&operation, pwd, pwdlen)) != PSA_SUCCESS) { in pem_pbkdf1() 229 if ((status = psa_hash_update(&operation, iv, 8)) != PSA_SUCCESS) { in pem_pbkdf1()
|
D | constant_time.c | 579 PSA_CHK(psa_hash_update(&operation, key_buf, block_size)); in mbedtls_ct_hmac() 580 PSA_CHK(psa_hash_update(&operation, add_data, add_data_len)); in mbedtls_ct_hmac() 581 PSA_CHK(psa_hash_update(&operation, data, min_data_len)); in mbedtls_ct_hmac() 599 PSA_CHK(psa_hash_update(&operation, data + offset, 1)); in mbedtls_ct_hmac() 616 PSA_CHK(psa_hash_update(&operation, key_buf, block_size)); in mbedtls_ct_hmac() 617 PSA_CHK(psa_hash_update(&operation, output, hash_size)); in mbedtls_ct_hmac()
|
D | psa_crypto_mac.c | 106 status = psa_hash_update(&hmac->hash_ctx, ipad, block_size); in psa_hmac_setup_internal() 119 return psa_hash_update(&hmac->hash_ctx, data, data_length); in psa_hmac_update_internal() 144 status = psa_hash_update(&hmac->hash_ctx, hmac->opad, block_size); in psa_hmac_finish_internal() 149 status = psa_hash_update(&hmac->hash_ctx, tmp, hash_size); in psa_hmac_finish_internal()
|
D | pkcs12.c | 304 if ((status = psa_hash_update(&op, diversifier, v)) != PSA_SUCCESS) { in calculate_hashes() 309 if ((status = psa_hash_update(&op, salt_block, v)) != PSA_SUCCESS) { in calculate_hashes() 315 if ((status = psa_hash_update(&op, pwd_block, v)) != PSA_SUCCESS) { in calculate_hashes()
|
D | rsa.c | 1170 if ((status = psa_hash_update(&op, src, slen)) != PSA_SUCCESS) { in mgf_mask() 1173 if ((status = psa_hash_update(&op, counter, 4)) != PSA_SUCCESS) { in mgf_mask() 1263 if ((status = psa_hash_update(&op, zeros, sizeof(zeros))) != PSA_SUCCESS) { in hash_mprime() 1266 if ((status = psa_hash_update(&op, hash, hlen)) != PSA_SUCCESS) { in hash_mprime() 1269 if ((status = psa_hash_update(&op, salt, slen)) != PSA_SUCCESS) { in hash_mprime()
|
D | md.c | 513 psa_status_t status = psa_hash_update(ctx->md_ctx, input, ilen); in mbedtls_md_update()
|
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 PSA_TO_MD_ERR(psa_hash_update( in ssl_update_checksum_sha256() 957 return PSA_TO_MD_ERR(psa_hash_update( in ssl_update_checksum_sha384() 8787 if ((status = psa_hash_update(&hash_operation, ssl->handshake->randbytes, in mbedtls_ssl_get_key_exchange_md_tls1_2() 8793 if ((status = psa_hash_update(&hash_operation, in mbedtls_ssl_get_key_exchange_md_tls1_2()
|
D | psa_crypto.c | 2213 psa_status_t psa_hash_update(psa_hash_operation_t *operation, in psa_hash_update() function
|
/third_party/mbedtls/tests/suites/ |
D | test_suite_psa_crypto_hash.function | 23 PSA_ASSERT(psa_hash_update(&operation, 46 PSA_ASSERT(psa_hash_update(&operation, 75 PSA_ASSERT(psa_hash_update(&operation, 78 PSA_ASSERT(psa_hash_update(&operation, 80 PSA_ASSERT(psa_hash_update(&operation2,
|
D | test_suite_psa_crypto_driver_wrappers.function | 2291 PSA_ASSERT(psa_hash_update(&operation, input->x, input->len)); 2333 TEST_EQUAL(psa_hash_update(&operation, input->x, input->len), 2342 TEST_EQUAL(psa_hash_update(&operation, input->x, input->len), 2397 PSA_ASSERT(psa_hash_update(&operation, input->x, input->len)); 2459 PSA_ASSERT(psa_hash_update(&target_operation,
|
D | test_suite_psa_crypto.function | 2579 TEST_EQUAL(psa_hash_update(&func, input, sizeof(input)), 2581 TEST_EQUAL(psa_hash_update(&init, input, sizeof(input)), 2583 TEST_EQUAL(psa_hash_update(&zero, input, sizeof(input)), 2665 status = psa_hash_update(&operation, input->x, input->len); 2708 status = psa_hash_update(&operation, input->x, input->len); 2748 PSA_ASSERT(psa_hash_update(&operation, input->x, input->len)); 2766 PSA_ASSERT(psa_hash_update(&operation, input->x, input->len)); 2779 PSA_ASSERT(psa_hash_update(&operation, input->x, input->len)); 2790 PSA_ASSERT(psa_hash_update(&operation, input->x, input->len)); 2801 PSA_ASSERT(psa_hash_update(&operation, input->x, input->len)); [all …]
|
/third_party/mbedtls/tests/include/spe/ |
D | crypto_spe.h | 104 #define psa_hash_update \ macro 105 PSA_FUNCTION_NAME(psa_hash_update)
|
/third_party/mbedtls/include/psa/ |
D | crypto.h | 1020 psa_status_t psa_hash_update(psa_hash_operation_t *operation,
|
/third_party/mbedtls/docs/proposed/ |
D | psa-driver-interface.md | 258 * `"hash_update"`: called by `psa_hash_update()`.
|