Home
last modified time | relevance | path

Searched refs:active_op (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftARCFourCrypt.c51 crypto_active_op_t *active_op; in soft_arcfour_crypt_init() local
76 active_op = (encrypt) ? &(session_p->encrypt) : &(session_p->decrypt); in soft_arcfour_crypt_init()
77 active_op->context = keystream; in soft_arcfour_crypt_init()
78 active_op->mech.mechanism = pMechanism->mechanism; in soft_arcfour_crypt_init()
106 soft_arcfour_crypt(crypto_active_op_t *active_op, CK_BYTE_PTR input, in soft_arcfour_crypt() argument
109 ARCFour_key *keystream = active_op->context; in soft_arcfour_crypt()
H A DsoftSignUtil.c499 crypto_active_op_t *active_op; in soft_sign_verify_cleanup() local
507 switch (active_op->mech.mechanism) { in soft_sign_verify_cleanup()
566 if (active_op->context != NULL) { in soft_sign_verify_cleanup()
567 explicit_bzero(active_op->context, in soft_sign_verify_cleanup()
578 if (active_op->context != NULL) { in soft_sign_verify_cleanup()
579 explicit_bzero(active_op->context, in soft_sign_verify_cleanup()
591 if (active_op->context != NULL) { in soft_sign_verify_cleanup()
599 if (active_op->context != NULL) { in soft_sign_verify_cleanup()
600 free(active_op->context); in soft_sign_verify_cleanup()
601 active_op->context = NULL; in soft_sign_verify_cleanup()
[all …]
H A DsoftEncryptUtil.c650 crypto_active_op_t *active_op; in soft_crypt_cleanup() local
658 switch (active_op->mech.mechanism) { in soft_crypt_cleanup()
669 (soft_des_ctx_t *)active_op->context; in soft_crypt_cleanup()
692 soft_aes_free_ctx(active_op->context); in soft_crypt_cleanup()
693 active_op->context = NULL; in soft_crypt_cleanup()
699 (soft_blowfish_ctx_t *)active_op->context; in soft_crypt_cleanup()
730 (soft_rsa_ctx_t *)active_op->context; in soft_crypt_cleanup()
743 if (active_op->context != NULL) { in soft_crypt_cleanup()
744 free(active_op->context); in soft_crypt_cleanup()
745 active_op->context = NULL; in soft_crypt_cleanup()
[all …]