Home
last modified time | relevance | path

Searched refs:hash_ptr (Results 1 – 3 of 3) sorted by relevance

/optee_os/ta/pkcs11/src/
H A Dpkcs11_helpers.h74 uint32_t tee_algo, void *hash_ptr,
H A Dprocessing_symm.c293 void *hash_ptr = NULL; in hash_secret_helper() local
302 hash_ptr = TEE_Malloc(hash_size, 0); in hash_secret_helper()
303 if (!hash_ptr) in hash_secret_helper()
307 PKCS11_CKA_VALUE, algo, hash_ptr, in hash_secret_helper()
311 TEE_Free(hash_ptr); in hash_secret_helper()
315 *ctx = hash_ptr; in hash_secret_helper()
H A Dpkcs11_helpers.c667 uint32_t tee_algo, void *hash_ptr, in pkcs2tee_load_hashed_attr() argument
688 res = TEE_DigestDoFinal(handle, a_ptr, a_size, hash_ptr, &tmp_sz); in pkcs2tee_load_hashed_attr()
696 TEE_InitRefAttribute(tee_ref, tee_id, hash_ptr, *hash_size); in pkcs2tee_load_hashed_attr()