Home
last modified time | relevance | path

Searched refs:crypto_hash_update (Results 1 – 19 of 19) sorted by relevance

/optee_os-3.20.0/core/lib/libtomcrypt/
A Dsm2-kep.c55 res = crypto_hash_update(ctx, id, idlen); in sm2_kep_compute_Z()
60 res = crypto_hash_update(ctx, buf, sizeof(buf)); in sm2_kep_compute_Z()
65 res = crypto_hash_update(ctx, buf, sizeof(buf)); in sm2_kep_compute_Z()
70 res = crypto_hash_update(ctx, buf, sizeof(buf)); in sm2_kep_compute_Z()
75 res = crypto_hash_update(ctx, buf, sizeof(buf)); in sm2_kep_compute_Z()
80 res = crypto_hash_update(ctx, buf, sizeof(buf)); in sm2_kep_compute_Z()
85 res = crypto_hash_update(ctx, buf, sizeof(buf)); in sm2_kep_compute_Z()
128 res = crypto_hash_update(ctx, buf, sizeof(buf)); in sm2_kep_compute_S()
133 res = crypto_hash_update(ctx, ZAZB, ZAZB_len); in sm2_kep_compute_S()
140 res = crypto_hash_update(ctx, buf, sizeof(buf)); in sm2_kep_compute_S()
[all …]
A Dsm2-pke.c267 res = crypto_hash_update(ctx, x2y2, SM2_INT_SIZE_BYTES); in sm2_ltc_pke_decrypt()
270 res = crypto_hash_update(ctx, dst, out_len); in sm2_ltc_pke_decrypt()
274 res = crypto_hash_update(ctx, eom, C2_len - out_len); in sm2_ltc_pke_decrypt()
278 res = crypto_hash_update(ctx, x2y2 + SM2_INT_SIZE_BYTES, in sm2_ltc_pke_decrypt()
491 res = crypto_hash_update(ctx, x2y2, SM2_INT_SIZE_BYTES); in sm2_ltc_pke_encrypt()
494 res = crypto_hash_update(ctx, src, src_len); in sm2_ltc_pke_encrypt()
497 res = crypto_hash_update(ctx, x2y2 + SM2_INT_SIZE_BYTES, in sm2_ltc_pke_encrypt()
/optee_os-3.20.0/lib/libmbedtls/core/
A Dsm2-kep.c61 res = crypto_hash_update(ctx, id, idlen); in sm2_kep_compute_Z()
70 res = crypto_hash_update(ctx, buf, sizeof(buf)); in sm2_kep_compute_Z()
79 res = crypto_hash_update(ctx, buf, sizeof(buf)); in sm2_kep_compute_Z()
88 res = crypto_hash_update(ctx, buf, sizeof(buf)); in sm2_kep_compute_Z()
97 res = crypto_hash_update(ctx, buf, sizeof(buf)); in sm2_kep_compute_Z()
106 res = crypto_hash_update(ctx, buf, sizeof(buf)); in sm2_kep_compute_Z()
115 res = crypto_hash_update(ctx, buf, sizeof(buf)); in sm2_kep_compute_Z()
164 res = crypto_hash_update(ctx, buf, sizeof(buf)); in sm2_kep_compute_S()
169 res = crypto_hash_update(ctx, ZAZB, ZAZB_len); in sm2_kep_compute_S()
180 res = crypto_hash_update(ctx, buf, sizeof(buf)); in sm2_kep_compute_S()
[all …]
A Dsm2-pke.c234 res = crypto_hash_update(ctx, x2y2, SM2_INT_SIZE_BYTES); in sm2_mbedtls_pke_decrypt()
237 res = crypto_hash_update(ctx, dst, out_len); in sm2_mbedtls_pke_decrypt()
241 res = crypto_hash_update(ctx, eom, C2_len - out_len); in sm2_mbedtls_pke_decrypt()
245 res = crypto_hash_update(ctx, x2y2 + SM2_INT_SIZE_BYTES, in sm2_mbedtls_pke_decrypt()
428 res = crypto_hash_update(ctx, x2y2, SM2_INT_SIZE_BYTES); in sm2_mbedtls_pke_encrypt()
431 res = crypto_hash_update(ctx, src, src_len); in sm2_mbedtls_pke_encrypt()
434 res = crypto_hash_update(ctx, x2y2 + SM2_INT_SIZE_BYTES, in sm2_mbedtls_pke_encrypt()
/optee_os-3.20.0/core/drivers/crypto/crypto_api/acipher/
A Drsamgf.c56 ret = crypto_hash_update(ctx, mgf_data->seed.data, in drvcrypt_rsa_mgf1()
61 ret = crypto_hash_update(ctx, (uint8_t *)&swapcount, in drvcrypt_rsa_mgf1()
80 ret = crypto_hash_update(ctx, mgf_data->seed.data, in drvcrypt_rsa_mgf1()
85 ret = crypto_hash_update(ctx, (uint8_t *)&swapcount, in drvcrypt_rsa_mgf1()
/optee_os-3.20.0/core/tee/
A Dtee_cryp_concat_kdf.c43 res = crypto_hash_update(ctx, (uint8_t *)&be_count, in tee_cryp_concat_kdf()
47 res = crypto_hash_update(ctx, shared_secret, shared_secret_len); in tee_cryp_concat_kdf()
51 res = crypto_hash_update(ctx, other_info, in tee_cryp_concat_kdf()
A Dtee_cryp_utl.c48 res = crypto_hash_update(ctx, data, datalen); in tee_hash_createdigest()
A Dfs_htree.c411 res = crypto_hash_update(ctx, ndata, nsize); in calc_node_hash()
416 res = crypto_hash_update(ctx, (void *)meta, sizeof(*meta)); in calc_node_hash()
422 res = crypto_hash_update(ctx, node->child[0]->node.hash, in calc_node_hash()
429 res = crypto_hash_update(ctx, node->child[1]->node.hash, in calc_node_hash()
A Dtee_svc_cryp.c2861 res = crypto_hash_update(cs->ctx, chunk, chunk_size); in syscall_hash_update()
2931 res = crypto_hash_update(cs->ctx, chunk, chunk_size); in syscall_hash_final()
/optee_os-3.20.0/core/crypto/
A Dsm2-kdf.c46 res = crypto_hash_update(ctx, Z, Z_len); in sm2_kdf()
49 res = crypto_hash_update(ctx, (const uint8_t *)&be_count, in sm2_kdf()
A Dsigned_hdr.c215 crypto_hash_update(ctx, my_uuid, sizeof(TEE_UUID)) || in calc_next_uuid()
216 crypto_hash_update(ctx, (const void *)tmp->name_str, in calc_next_uuid()
280 crypto_hash_update(ctx, (const void *)shdr, sizeof(*shdr)) || in shdr_load_pub_key()
281 crypto_hash_update(ctx, (const void *)subkey, shdr->img_size) || in shdr_load_pub_key()
A Drng_fortuna.c88 return crypto_hash_update(ctx, data, dlen); in hash_update()
A Dcrypto.c87 TEE_Result crypto_hash_update(void *ctx, const uint8_t *data, size_t len) in crypto_hash_update() function
/optee_os-3.20.0/core/pta/
A Dsecstor_ta_mgmt.c76 res = crypto_hash_update(hash_ctx, (uint8_t *)shdr, sizeof(*shdr)); in install_ta()
88 res = crypto_hash_update(hash_ctx, (uint8_t *)&bs_ta, sizeof(bs_ta)); in install_ta()
109 res = crypto_hash_update(hash_ctx, buf, l); in install_ta()
A Dattestation.c438 res = crypto_hash_update(ctx, nonce, nonce_sz); in digest_nonce_and_hash()
441 res = crypto_hash_update(ctx, hash, TEE_SHA256_HASH_SIZE); in digest_nonce_and_hash()
557 res = crypto_hash_update(ctx, (uint8_t *)r->va, r->size); in hash_regions()
702 res = crypto_hash_update(ctx, __text_start, in cmd_hash_tee_memory()
706 res = crypto_hash_update(ctx, __text_data_end, in cmd_hash_tee_memory()
709 res = crypto_hash_update(ctx, __text_init_start, in cmd_hash_tee_memory()
713 res = crypto_hash_update(ctx, __text_pageable_start, in cmd_hash_tee_memory()
721 res = crypto_hash_update(ctx, __rodata_start, in cmd_hash_tee_memory()
726 res = crypto_hash_update(ctx, __rodata_init_start, in cmd_hash_tee_memory()
731 res = crypto_hash_update(ctx, __rodata_pageable_start, in cmd_hash_tee_memory()
/optee_os-3.20.0/core/drivers/
A Dzynqmp_huk.c77 res = crypto_hash_update(ctx, device_dna, device_dna_size); in tee_zynqmp_generate_huk_src()
92 res = crypto_hash_update(ctx, (uint8_t *)&user_efuse, in tee_zynqmp_generate_huk_src()
/optee_os-3.20.0/core/kernel/
A Dree_fs_ta.c371 res = crypto_hash_update(hash_ctx, (uint8_t *)shdr, sizeof(*shdr)); in ree_fs_ta_open()
405 res = crypto_hash_update(hash_ctx, (uint8_t *)bs_hdr, in ree_fs_ta_open()
454 res = crypto_hash_update(hash_ctx, (uint8_t *)ehdr, ehdr_sz); in ree_fs_ta_open()
583 res = crypto_hash_update(handle->hash_ctx, b, in ree_fs_ta_read()
599 res = crypto_hash_update(handle->hash_ctx, dst, len); in ree_fs_ta_read()
A Dembedded_ts.c112 res = crypto_hash_update(ctx, h->ts->ts, h->ts->size); in emb_ts_get_tag()
/optee_os-3.20.0/core/include/crypto/
A Dcrypto.h33 TEE_Result crypto_hash_update(void *ctx, const uint8_t *data, size_t len);

Completed in 27 milliseconds