Searched refs:ecc_ctx_t (Results 1 – 1 of 1) sorted by relevance
/titanic_44/usr/src/uts/common/crypto/io/ |
H A D | ecc.c | 87 } ecc_ctx_t; typedef 227 static int ecc_sign_common(ecc_ctx_t *, crypto_data_t *, crypto_data_t *, 229 static int ecc_verify_common(ecc_ctx_t *, crypto_data_t *, crypto_data_t *, 447 ecc_ctx_t *ctxp = ctx->cc_provider_private; in ecc_free_context() 456 kmem_free(ctxp, sizeof (ecc_ctx_t)); in ecc_free_context() 472 ecc_ctx_t *ctxp; in ecc_sign_verify_common_init() 504 ctxp = (ecc_ctx_t *)dctxp; in ecc_sign_verify_common_init() 507 ctxp = kmem_zalloc(sizeof (ecc_ctx_t), kmflag); in ecc_sign_verify_common_init() 523 kmem_free(ctxp, sizeof (ecc_ctx_t)); in ecc_sign_verify_common_init() 624 rv = ecc_sign_common((ecc_ctx_t *)ctxp, &der_cd, signature, in ecc_digest_svrfy_common() [all …]
|