Searched defs: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; local
76 active_op = (encrypt) ? &(session_p->encrypt) : &(session_p->decrypt);
77 active_op->context = keystream;
78 active_op->mech.mechanism = pMechanism->mechanism;
89 * active_op: pointer to the active operation in the session
106 soft_arcfour_crypt(crypto_active_op_t *active_op, CK_BYTE_PTR input, argument
109 ARCFour_key *keystream = active_op->context;
H A DsoftSignUtil.c446 crypto_active_op_t *active_op; local
452 active_op = (sign) ? &(session_p->sign) : &(session_p->verify);
454 switch (active_op->mech.mechanism) {
472 (soft_rsa_ctx_t *)active_op->context;
492 (soft_dsa_ctx_t *)active_op->context;
513 if (active_op->context != NULL)
514 bzero(active_op->context, sizeof (soft_hmac_ctx_t));
523 if (active_op->context != NULL)
524 bzero(active_op->context, sizeof (soft_des_ctx_t));
529 if (active_op
[all...]
H A DsoftEncryptUtil.c846 crypto_active_op_t *active_op; local
852 active_op = (encrypt) ? &(session_p->encrypt) : &(session_p->decrypt);
854 switch (active_op->mech.mechanism) {
865 (soft_des_ctx_t *)active_op->context;
887 (soft_aes_ctx_t *)active_op->context;
907 (soft_blowfish_ctx_t *)active_op->context;
928 ARCFour_key *key = (ARCFour_key *)active_op->context;
939 (soft_rsa_ctx_t *)active_op->context;
952 if (active_op->context != NULL) {
953 free(active_op
[all...]

Completed in 58 milliseconds