Searched refs:processing (Results 1 – 11 of 11) sorted by relevance
| /optee_os/ta/pkcs11/src/ |
| H A D | processing_aes.c | 118 struct ae_aes_context *ctx = session->processing->extra_ctx; in tee_ae_decrypt_update() 158 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() 298 struct ae_aes_context *ctx = session->processing->extra_ctx; in tee_ae_decrypt_final() 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() 374 struct ae_aes_context *ctx = session->processing->extra_ctx; in tee_ae_encrypt_final() 384 res = TEE_AEEncryptFinal(session->processing->tee_op_handle, in tee_ae_encrypt_final() [all …]
|
| H A D | processing_symm.c | 212 assert(session->processing->tee_op_handle == TEE_HANDLE_NULL && in allocate_tee_operation() 213 session->processing->tee_op_handle2 == TEE_HANDLE_NULL); in allocate_tee_operation() 260 res = TEE_AllocateOperation(&session->processing->tee_op_handle, in allocate_tee_operation() 278 TEE_OperationHandle *hdl = &session->processing->tee_op_handle2; in allocate_tee_operation() 378 &session->processing->extra_ctx, in load_tee_key() 420 res = TEE_SetOperationKey(session->processing->tee_op_handle, in load_tee_key() 437 tee_init_derive_symm(struct active_processing *processing, in tee_init_derive_symm() argument 477 processing->extra_ctx = param; in tee_init_derive_symm() 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() [all …]
|
| H A D | processing_asymm.c | 225 struct active_processing *processing = session->processing; in allocate_tee_operation() local 227 assert(processing->tee_op_handle == TEE_HANDLE_NULL); in allocate_tee_operation() 228 assert(processing->tee_op_handle2 == TEE_HANDLE_NULL); in allocate_tee_operation() 259 res = TEE_AllocateOperation(&processing->tee_op_handle2, in allocate_tee_operation() 269 processing->tee_hash_algo = hash_algo; in allocate_tee_operation() 272 res = TEE_AllocateOperation(&processing->tee_op_handle, in allocate_tee_operation() 282 processing->tee_op_handle2 != TEE_HANDLE_NULL) { in allocate_tee_operation() 283 TEE_FreeOperation(session->processing->tee_op_handle2); in allocate_tee_operation() 284 processing->tee_op_handle2 = TEE_HANDLE_NULL; in allocate_tee_operation() 285 processing->tee_hash_algo = 0; in allocate_tee_operation() [all …]
|
| H A D | processing_digest.c | 72 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() 97 session->processing->mecha_type = proc_params->id; in init_digest_operation() 125 struct active_processing *proc = session->processing; in step_digest_operation()
|
| H A D | processing.c | 95 if (session->processing && in get_active_session() 96 func_matches_state(function, session->processing->state)) in get_active_session() 104 if (!session->processing) in release_active_processing() 107 switch (session->processing->mecha_type) { in release_active_processing() 115 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() 120 if (session->processing->tee_op_handle2 != TEE_HANDLE_NULL) { in release_active_processing() 121 TEE_FreeOperation(session->processing->tee_op_handle2); in release_active_processing() 122 session->processing->tee_op_handle2 = TEE_HANDLE_NULL; in release_active_processing() [all …]
|
| H A D | sub.mk | 9 srcs-y += processing.c
|
| H A D | pkcs11_attributes.c | 90 if (session->processing->always_authen && in check_mechanism_against_processing() 91 !session->processing->relogged) in check_mechanism_against_processing() 94 if (session->processing->step == PKCS11_FUNC_STEP_UPDATE || in check_mechanism_against_processing() 95 session->processing->step == PKCS11_FUNC_STEP_FINAL) { in check_mechanism_against_processing() 104 if (session->processing->always_authen && in check_mechanism_against_processing() 105 !session->processing->relogged) in check_mechanism_against_processing() 108 if (session->processing->step == PKCS11_FUNC_STEP_ONESHOT || in check_mechanism_against_processing() 109 session->processing->step == PKCS11_FUNC_STEP_FINAL) { in check_mechanism_against_processing() 120 if (session->processing->always_authen && in check_mechanism_against_processing() 121 !session->processing->relogged) in check_mechanism_against_processing() [all …]
|
| H A D | pkcs11_token.h | 190 struct active_processing *processing; member 280 return session->processing; in session_is_active()
|
| H A D | processing.h | 162 enum pkcs11_rc tee_init_ctr_operation(struct active_processing *processing,
|
| H A D | pkcs11_token.c | 195 if (session->processing) in set_processing_state() 241 session->processing = proc; in set_processing_state()
|
| /optee_os/lib/libmbedtls/mbedtls/ |
| H A D | ChangeLog | 556 client could put the TLS 1.3-only server in an infinite loop processing 4285 * Fix SSLv3 renegotiation behaviour and stop processing data received from 4287 Previous behaviour was to keep processing data even after the alert has
|