Home
last modified time | relevance | path

Searched refs:tee_op_handle (Results 1 – 8 of 8) sorted by relevance

/optee_os/ta/pkcs11/src/
H A Dprocessing_digest.c72 assert(session->processing->tee_op_handle == TEE_HANDLE_NULL); in allocate_tee_operation()
77 res = TEE_AllocateOperation(&session->processing->tee_op_handle, in allocate_tee_operation()
153 assert(proc->tee_op_handle != TEE_HANDLE_NULL); in step_digest_operation()
181 TEE_DigestUpdate(proc->tee_op_handle, secret_value, in step_digest_operation()
189 TEE_DigestUpdate(proc->tee_op_handle, in_buf, in_size); in step_digest_operation()
210 res = TEE_DigestDoFinal(proc->tee_op_handle, in step_digest_operation()
H A Dprocessing_aes.c158 res = TEE_AEUpdate(session->processing->tee_op_handle, in tee_ae_decrypt_update()
177 res = TEE_AEUpdate(session->processing->tee_op_handle, in tee_ae_decrypt_update()
198 res = TEE_AEUpdate(session->processing->tee_op_handle, in tee_ae_decrypt_update()
215 res = TEE_AEUpdate(session->processing->tee_op_handle, in tee_ae_decrypt_update()
321 res = TEE_AEDecryptFinal(session->processing->tee_op_handle, in tee_ae_decrypt_final()
332 res = TEE_AEDecryptFinal(session->processing->tee_op_handle, in tee_ae_decrypt_final()
384 res = TEE_AEEncryptFinal(session->processing->tee_op_handle, in tee_ae_encrypt_final()
403 res = TEE_AEEncryptFinal(session->processing->tee_op_handle, in tee_ae_encrypt_final()
449 TEE_CipherInit(processing->tee_op_handle, counter_bits, 16); in tee_init_ctr_operation()
521 TEE_AEInit(session->processing->tee_op_handle, in tee_init_gcm_operation()
[all …]
H A Dprocessing_symm.c212 assert(session->processing->tee_op_handle == TEE_HANDLE_NULL && in allocate_tee_operation()
260 res = TEE_AllocateOperation(&session->processing->tee_op_handle, in allocate_tee_operation()
420 res = TEE_SetOperationKey(session->processing->tee_op_handle, in load_tee_key()
485 TEE_CipherInit(processing->tee_op_handle, NULL, 0); in tee_init_derive_symm()
492 TEE_CipherInit(processing->tee_op_handle, iv, 16); in tee_init_derive_symm()
563 TEE_MACInit(session->processing->tee_op_handle, NULL, 0); in init_tee_operation()
591 TEE_MACInit(session->processing->tee_op_handle, NULL, 0); in init_tee_operation()
598 TEE_CipherInit(session->processing->tee_op_handle, NULL, 0); in init_tee_operation()
606 TEE_CipherInit(session->processing->tee_op_handle, in init_tee_operation()
820 TEE_MACUpdate(proc->tee_op_handle, in_buf, in_size); in step_symm_operation()
[all …]
H A Dprocessing_asymm.c227 assert(processing->tee_op_handle == TEE_HANDLE_NULL); in allocate_tee_operation()
272 res = TEE_AllocateOperation(&processing->tee_op_handle, in allocate_tee_operation()
387 res = TEE_SetOperationKey(session->processing->tee_op_handle, in load_tee_key()
707 sz = ecdsa_get_input_max_byte_size(proc->tee_op_handle); in step_asymm_operation()
731 sz = ecdsa_get_input_max_byte_size(proc->tee_op_handle); in step_asymm_operation()
758 sz = rsa_get_input_max_byte_size(proc->tee_op_handle); in step_asymm_operation()
783 res = TEE_AsymmetricEncrypt(proc->tee_op_handle, in step_asymm_operation()
794 res = TEE_AsymmetricDecrypt(proc->tee_op_handle, in step_asymm_operation()
805 res = TEE_AsymmetricSignDigest(proc->tee_op_handle, in step_asymm_operation()
815 res = TEE_AsymmetricVerifyDigest(proc->tee_op_handle, in step_asymm_operation()
[all …]
H A Dpkcs11_token.h150 TEE_OperationHandle tee_op_handle; member
H A Dprocessing.c115 if (session->processing->tee_op_handle != TEE_HANDLE_NULL) { in release_active_processing()
116 TEE_FreeOperation(session->processing->tee_op_handle); in release_active_processing()
117 session->processing->tee_op_handle = TEE_HANDLE_NULL; in release_active_processing()
H A Dprocessing_rsa.c818 key_size = rsa_get_input_max_byte_size(proc->tee_op_handle); in pkcs2tee_rsa_nopad_context()
H A Dpkcs11_token.c231 proc->tee_op_handle = TEE_HANDLE_NULL; in set_processing_state()