Searched refs:dsa_ctx (Results 1 – 2 of 2) sorted by relevance
51 soft_dsa_ctx_t *dsa_ctx; in soft_dsa_sign_verify_init_common() local73 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() local228 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 …]
544 soft_dsa_ctx_t *dsa_ctx = in soft_sign_verify_cleanup() local547 if (dsa_ctx != NULL && dsa_ctx->key != NULL) { in soft_sign_verify_cleanup()548 soft_cleanup_object(dsa_ctx->key); in soft_sign_verify_cleanup()549 free(dsa_ctx->key); in soft_sign_verify_cleanup()