Home
last modified time | relevance | path

Searched refs:ctx_len (Results 1 – 4 of 4) sorted by relevance

/optee_os-3.20.0/ta/pkcs11/src/
A Dprocessing_ec.c791 uint32_t ctx_len = 0; in pkcs2tee_proc_params_eddsa() local
803 rc = serialargs_get_u32(&args, &ctx_len); in pkcs2tee_proc_params_eddsa()
807 rc = serialargs_get_ptr(&args, &ctx_data, ctx_len); in pkcs2tee_proc_params_eddsa()
814 proc->extra_ctx = TEE_Malloc(sizeof(*ctx) + ctx_len, in pkcs2tee_proc_params_eddsa()
820 ctx->ctx_len = ctx_len; in pkcs2tee_proc_params_eddsa()
822 TEE_MemMove(ctx->ctx, ctx_data, ctx_len); in pkcs2tee_proc_params_eddsa()
A Dprocessing.h76 uint32_t ctx_len; member
A Dprocessing_asymm.c542 if (eddsa_ctx->ctx_len > 0) { in step_asymm_operation()
545 eddsa_ctx->ctx_len); in step_asymm_operation()
/optee_os-3.20.0/core/tee/
A Dtee_svc_cryp.c2189 size_t *ctx_len) in tee_svc_obj_ed25519_parse_params() argument
2213 *ctx_len = params[n].content.ref.length; in tee_svc_obj_ed25519_parse_params()
2214 if (*ctx_len > TEE_ED25519_CTX_MAX_LENGTH) in tee_svc_obj_ed25519_parse_params()
2217 if (!*ctx_len) in tee_svc_obj_ed25519_parse_params()
2240 size_t ctx_len = 0; in tee_svc_obj_ed25519_sign() local
2245 &ctx, &ctx_len); in tee_svc_obj_ed25519_sign()
2252 ctx, ctx_len); in tee_svc_obj_ed25519_sign()
2265 size_t ctx_len = 0; in tee_svc_obj_ed25519_verify() local
2270 &ctx, &ctx_len); in tee_svc_obj_ed25519_verify()
2277 ctx, ctx_len); in tee_svc_obj_ed25519_verify()

Completed in 12 milliseconds