Searched defs:active_op (Results 1 - 5 of 5) sorted by relevance

/osnet-11/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftARCFourCrypt.c84 * active_op: pointer to the active operation in the session
101 soft_arcfour_crypt(crypto_active_op_t *active_op, CK_BYTE_PTR input, argument
104 ARCFour_key *keystream = active_op->context;
H A DsoftSignUtil.c456 crypto_active_op_t *active_op; local
462 active_op = (sign) ? &(session_p->sign) : &(session_p->verify);
464 switch (active_op->mech.mechanism) {
483 (soft_rsa_ctx_t *)active_op->context;
503 (soft_dsa_ctx_t *)active_op->context;
526 if (active_op->context != NULL)
527 bzero(active_op->context, sizeof (soft_hmac_ctx_t));
536 if (active_op->context != NULL)
537 bzero(active_op->context, sizeof (soft_des_ctx_t));
542 if (active_op
[all...]
H A DsoftEncryptUtil.c942 crypto_active_op_t *active_op; local
948 active_op = (encrypt) ? &(session_p->encrypt) : &(session_p->decrypt);
950 switch (active_op->mech.mechanism) {
961 (soft_des_ctx_t *)active_op->context;
983 (soft_aes_ctx_t *)active_op->context;
1003 (soft_blowfish_ctx_t *)active_op->context;
1024 ARCFour_key *key = (ARCFour_key *)active_op->context;
1035 (soft_rsa_ctx_t *)active_op->context;
1048 if (active_op->context != NULL) {
1049 free(active_op
[all...]
H A DsoftSessionUtil.c600 crypto_active_op_t active_op; local
601 crypto_active_op_t *p_active_op = &active_op;
849 crypto_active_op_t *active_op; local
855 active_op = &(session_p->encrypt);
858 active_op = &(session_p->decrypt);
861 active_op = &(session_p->sign);
864 active_op = &(session_p->verify);
867 active_op = &(session_p->digest);
874 if (active_op->context != NULL) {
875 bzero(active_op
887 crypto_active_op_t *active_op; local
926 crypto_active_op_t *active_op; local
[all...]
/osnet-11/usr/src/lib/pkcs11/pkcs11_kms/common/
H A DkmsEncrypt.c89 kms_active_op_t *active_op; local
97 active_op = (encrypt) ? &(session_p->encrypt) : &(session_p->decrypt);
98 if (active_op->mech.mechanism != CKM_AES_CBC &&
99 active_op->mech.mechanism != CKM_AES_CBC_PAD)
102 kms_aes_ctx = (kms_aes_ctx_t *)active_op->context;
114 if (active_op->context != NULL) {
115 free(active_op->context);
116 active_op->context = NULL;
118 active_op->flags = 0;

Completed in 36 milliseconds