Home
last modified time | relevance | path

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

/optee_os/ta/pkcs11/src/
A Dprocessing_asymm.c364 rc = pkcs2tee_validate_rsa_pss(proc, obj); in init_tee_operation()
459 switch (proc->mecha_type) { in step_asymm_operation()
473 rsa_pss_ctx = proc->extra_ctx; in step_asymm_operation()
481 rsa_oaep_ctx = proc->extra_ctx; in step_asymm_operation()
508 switch (proc->mecha_type) { in step_asymm_operation()
547 switch (proc->mecha_type) { in step_asymm_operation()
571 res = TEE_DigestDoFinal(proc->tee_hash_op_handle, in step_asymm_operation()
590 switch (proc->mecha_type) { in step_asymm_operation()
658 switch (proc->mecha_type) { in step_asymm_operation()
666 res = TEE_AsymmetricEncrypt(proc->tee_op_handle, in step_asymm_operation()
[all …]
A Dprocessing_symm.c638 switch (proc->mecha_type) { in input_data_size_is_valid()
674 switch (proc->mecha_type) { in input_sign_size_is_valid()
773 switch (proc->mecha_type) { in step_symm_operation()
826 res = TEE_CipherUpdate(proc->tee_op_handle, in step_symm_operation()
839 TEE_Panic(proc->mecha_type); in step_symm_operation()
961 res = TEE_CipherDoFinal(proc->tee_op_handle, in step_symm_operation()
973 TEE_Panic(proc->mecha_type); in step_symm_operation()
1005 switch (proc->mecha_type) { in derive_key_by_symm_enc()
1008 if (!proc->extra_ctx) in derive_key_by_symm_enc()
1048 switch (proc->mecha_type) { in wrap_data_by_symm_enc()
[all …]
A Dprocessing_digest.c119 struct active_processing *proc = session->processing; in step_digest_operation() local
147 assert(proc->tee_op_handle != TEE_HANDLE_NULL); in step_digest_operation()
149 assert(processing_is_tee_digest(proc->mecha_type)); in step_digest_operation()
175 TEE_DigestUpdate(proc->tee_op_handle, secret_value, in step_digest_operation()
183 TEE_DigestUpdate(proc->tee_op_handle, in_buf, in_size); in step_digest_operation()
204 res = TEE_DigestDoFinal(proc->tee_op_handle, in step_digest_operation()
A Dprocessing_rsa.c18 pkcs2tee_proc_params_rsa_pss(struct active_processing *proc, in pkcs2tee_proc_params_rsa_pss() argument
45 proc->extra_ctx = TEE_Malloc(sizeof(struct rsa_pss_processing_ctx), in pkcs2tee_proc_params_rsa_pss()
47 if (!proc->extra_ctx) in pkcs2tee_proc_params_rsa_pss()
50 ctx = proc->extra_ctx; in pkcs2tee_proc_params_rsa_pss()
59 enum pkcs11_rc pkcs2tee_validate_rsa_pss(struct active_processing *proc, in pkcs2tee_validate_rsa_pss() argument
67 rsa_pss_ctx = proc->extra_ctx; in pkcs2tee_validate_rsa_pss()
200 pkcs2tee_proc_params_rsa_oaep(struct active_processing *proc, in pkcs2tee_proc_params_rsa_oaep() argument
237 proc->extra_ctx = TEE_Malloc(sizeof(struct rsa_oaep_processing_ctx) + in pkcs2tee_proc_params_rsa_oaep()
240 if (!proc->extra_ctx) in pkcs2tee_proc_params_rsa_oaep()
243 ctx = proc->extra_ctx; in pkcs2tee_proc_params_rsa_oaep()
A Dprocessing.h177 pkcs2tee_proc_params_rsa_pss(struct active_processing *proc,
180 enum pkcs11_rc pkcs2tee_validate_rsa_pss(struct active_processing *proc,
187 pkcs2tee_proc_params_rsa_oaep(struct active_processing *proc,
A Dpkcs11_token.c181 struct active_processing *proc = NULL; in set_processing_state() local
212 proc = TEE_Malloc(sizeof(*proc), TEE_MALLOC_FILL_ZERO); in set_processing_state()
213 if (!proc) in set_processing_state()
217 proc->state = state; in set_processing_state()
218 proc->step = PKCS11_FUNC_STEP_INIT; in set_processing_state()
219 proc->tee_op_handle = TEE_HANDLE_NULL; in set_processing_state()
220 proc->tee_hash_algo = 0; in set_processing_state()
221 proc->tee_hash_op_handle = TEE_HANDLE_NULL; in set_processing_state()
224 proc->always_authen = true; in set_processing_state()
227 proc->always_authen = true; in set_processing_state()
[all …]
A Dpkcs11_attributes.c1334 #define DMSG_BAD_BBOOL(attr, proc, head) \ argument
1342 id2str_attr(_attr), id2str_proc((proc)), \
1588 uint32_t proc = 0; in parent_key_complies_allowed_processings() local
1602 TEE_MemMove(&proc, attr, sizeof(uint32_t)); in parent_key_complies_allowed_processings()
1605 if (proc == proc_id) in parent_key_complies_allowed_processings()
/optee_os/core/arch/arm/dts/
A Dstm32mp151.dtsi1063 st,proc-id = <0>;

Completed in 16 milliseconds