Home
last modified time | relevance | path

Searched refs:pStatic_ctx (Results 1 – 2 of 2) sorted by relevance

/optee_os-3.20.0/core/drivers/crypto/se050/adaptors/apis/
A Duser.c38 NXSCP03_StaticCtx_t *pStatic_ctx = NULL; in prepare_host_scp() local
45 pStatic_ctx = &auth->static_ctx; in prepare_host_scp()
48 scp->pStatic_ctx = pStatic_ctx; in prepare_host_scp()
50 pStatic_ctx->keyVerNo = 0x0B; in prepare_host_scp()
52 status = alloc_scp_key_to_auth(&pStatic_ctx->Enc, k_store, oid++); in prepare_host_scp()
57 status = sss_host_key_store_set_key(k_store, &pStatic_ctx->Enc, in prepare_host_scp()
62 status = alloc_scp_key_to_auth(&pStatic_ctx->Mac, k_store, oid++); in prepare_host_scp()
67 status = sss_host_key_store_set_key(k_store, &pStatic_ctx->Mac, in prepare_host_scp()
72 status = alloc_scp_key_to_auth(&pStatic_ctx->Dek, k_store, oid++); in prepare_host_scp()
77 status = sss_host_key_store_set_key(k_store, &pStatic_ctx->Dek, in prepare_host_scp()
/optee_os-3.20.0/core/drivers/crypto/se050/adaptors/utils/
A Dscp_config.c268 dek_object = &ctx->open_ctx.auth.ctx.scp03.pStatic_ctx->Dek; in encrypt_key_and_get_kcv()
327 key_version = ctx->open_ctx.auth.ctx.scp03.pStatic_ctx->keyVerNo; in se050_scp03_prepare_rotate_cmd()

Completed in 3 milliseconds