Home
last modified time | relevance | path

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

/titanic_44/usr/src/uts/common/crypto/io/
H A Drsa.c853 digest_rsa_ctx_t *dctxp; in rsa_sign_verify_common_init() local
868 dctxp = kmem_zalloc(sizeof (digest_rsa_ctx_t), kmflag); in rsa_sign_verify_common_init()
869 ctxp = (rsa_ctx_t *)dctxp; in rsa_sign_verify_common_init()
888 kmem_free(dctxp, sizeof (digest_rsa_ctx_t)); in rsa_sign_verify_common_init()
899 MD5Init(&(dctxp->md5_ctx)); in rsa_sign_verify_common_init()
903 SHA1Init(&(dctxp->sha1_ctx)); in rsa_sign_verify_common_init()
907 SHA2Init(SHA256, &(dctxp->sha2_ctx)); in rsa_sign_verify_common_init()
911 SHA2Init(SHA384, &(dctxp->sha2_ctx)); in rsa_sign_verify_common_init()
915 SHA2Init(SHA512, &(dctxp->sha2_ctx)); in rsa_sign_verify_common_init()
H A Decc.c473 digest_ecc_ctx_t *dctxp; in ecc_sign_verify_common_init() local
503 dctxp = kmem_zalloc(sizeof (digest_ecc_ctx_t), kmflag); in ecc_sign_verify_common_init()
504 ctxp = (ecc_ctx_t *)dctxp; in ecc_sign_verify_common_init()
520 kmem_free(dctxp, sizeof (digest_ecc_ctx_t)); in ecc_sign_verify_common_init()
535 SHA1Init(&(dctxp->sha1_ctx)); in ecc_sign_verify_common_init()