Home
last modified time | relevance | path

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

/titanic_50/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftDSA.c51 soft_dsa_ctx_t *dsa_ctx; in soft_dsa_sign_verify_init_common() local
73 dsa_ctx = malloc(sizeof (soft_dsa_ctx_t)); in soft_dsa_sign_verify_init_common()
75 if (dsa_ctx == NULL) { in soft_dsa_sign_verify_init_common()
92 free(dsa_ctx); in soft_dsa_sign_verify_init_common()
98 dsa_ctx->key = tmp_key; in soft_dsa_sign_verify_init_common()
103 session_p->sign.context = dsa_ctx; in soft_dsa_sign_verify_init_common()
106 session_p->verify.context = dsa_ctx; in soft_dsa_sign_verify_init_common()
227 soft_dsa_ctx_t *dsa_ctx = session_p->sign.context; in soft_dsa_digest_sign_common() local
228 soft_object_t *key = dsa_ctx->key; in soft_dsa_digest_sign_common()
281 soft_dsa_ctx_t *dsa_ctx = session_p->sign.context; in soft_dsa_sign() local
[all …]
H A DsoftSignUtil.c491 soft_dsa_ctx_t *dsa_ctx = in soft_sign_verify_cleanup() local
494 if (dsa_ctx != NULL && dsa_ctx->key != NULL) { in soft_sign_verify_cleanup()
495 soft_cleanup_object(dsa_ctx->key); in soft_sign_verify_cleanup()
496 free(dsa_ctx->key); in soft_sign_verify_cleanup()