Searched refs:decrypt (Results 1 - 25 of 50) sorted by relevance

12

/opensolaris-onvv-gate/usr/src/common/net/wanboot/crypt/
H A Ddes.h46 int decrypt);
H A Dcbc.h44 void (*decrypt)(void *, uint8_t *); member in struct:cbc_handle_s
54 void (*decrypt)(void *, uint8_t *));
H A Dcbc.c114 ch->decrypt(ch->ks, thisp);
130 void (*decrypt)(void *, uint8_t *))
137 ch->decrypt = decrypt;
/opensolaris-onvv-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelDecrypt.c67 session_p->decrypt.flags = CRYPTO_OPERATION_ACTIVE;
99 session_p->decrypt.mech = *pMechanism;
102 if (INPLACE_MECHANISM(session_p->decrypt.mech.mechanism)) {
103 session_p->decrypt.flags |= CRYPTO_OPERATION_INPLACE_OK;
139 session_p->decrypt.flags &= ~CRYPTO_OPERATION_ACTIVE;
185 * Real decrypt work. The caller doesn't hold the session lock.
191 crypto_decrypt_t decrypt; local
201 if (!(session_p->decrypt.flags & CRYPTO_OPERATION_ACTIVE)) {
210 if (session_p->decrypt.flags & CRYPTO_OPERATION_UPDATE) {
213 * operation, so we'll leave the active decrypt operatio
[all...]
H A DkernelSession.h97 crypto_active_op_t decrypt; /* context of active decrypt op */ member in struct:session
/opensolaris-onvv-gate/usr/src/cmd/cmd-crypto/decrypt/
H A DMakefile.com28 PROG = decrypt
33 OBJS = decrypt.o
H A DMakefile28 PROG= decrypt
/opensolaris-onvv-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/raw/
H A Draw_decrypt.c47 return((*(enc->decrypt))(context, key, ivec, input, output));
/opensolaris-onvv-gate/usr/src/lib/pkcs11/pkcs11_kms/common/
H A DkmsDecrypt.c41 * decrypt init routine based on the mechanism.
81 kms_aes_ctx = (kms_aes_ctx_t *)session_p->decrypt.context;
96 free(session_p->decrypt.context);
97 session_p->decrypt.context = NULL;
147 /* Check to see if decrypt operation is already active. */
148 if (session_p->decrypt.flags & CRYPTO_OPERATION_ACTIVE) {
158 session_p->decrypt.flags = CRYPTO_OPERATION_ACTIVE;
167 session_p->decrypt.flags &= ~CRYPTO_OPERATION_ACTIVE;
218 if (!(session_p->decrypt.flags & CRYPTO_OPERATION_ACTIVE)) {
227 if (session_p->decrypt
[all...]
H A DkmsAESCrypt.c111 session_p->decrypt.context = kms_aes_ctx;
112 session_p->decrypt.mech.mechanism = pMechanism->mechanism;
464 * This function calls the corresponding decrypt routine based
473 * CKR_FUNCTION_FAILED: decrypt function failed
484 (kms_aes_ctx_t *)session_p->decrypt.context;
486 CK_MECHANISM_TYPE mechanism = session_p->decrypt.mech.mechanism;
697 * For decrypt update, if there is remaining data,
736 free(session_p->decrypt.context);
737 session_p->decrypt.context = NULL;
907 * CKR_FUNCTION_FAILED: decrypt fina
[all...]
H A DkmsSession.h94 kms_active_op_t decrypt; member in struct:session
/opensolaris-onvv-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftDecryptUtil.c71 * decrypt init routine based on the mechanism.
143 soft_des_ctx = (soft_des_ctx_t *)session_p->decrypt.context;
157 free(session_p->decrypt.context);
158 session_p->decrypt.context = NULL;
198 soft_aes_ctx = (soft_aes_ctx_t *)session_p->decrypt.context;
213 free(session_p->decrypt.context);
214 session_p->decrypt.context = NULL;
244 soft_aes_ctx = (soft_aes_ctx_t *)session_p->decrypt.context;
253 free(session_p->decrypt.context);
254 session_p->decrypt
[all...]
H A DsoftDecrypt.c71 /* Check to see if decrypt operation is already active. */
72 if (session_p->decrypt.flags & CRYPTO_OPERATION_ACTIVE) {
82 session_p->decrypt.flags = CRYPTO_OPERATION_ACTIVE;
91 session_p->decrypt.flags &= ~CRYPTO_OPERATION_ACTIVE;
144 if (!(session_p->decrypt.flags & CRYPTO_OPERATION_ACTIVE)) {
153 if (session_p->decrypt.flags & CRYPTO_OPERATION_UPDATE) {
156 * operation, so we'll leave the active decrypt operation
158 * decrypt update operation.
173 * We will not terminate the active decrypt operation flag,
237 if (!(session_p->decrypt
[all...]
H A DsoftARCFourCrypt.c76 active_op = (encrypt) ? &(session_p->encrypt) : &(session_p->decrypt);
H A DsoftBlowfishCrypt.c65 session_p->decrypt.context = soft_blowfish_ctx;
66 session_p->decrypt.mech.mechanism = pMechanism->mechanism;
324 (soft_blowfish_ctx_t *)session_p->decrypt.context;
448 * For decrypt update, if there is remaining data,
476 free(session_p->decrypt.context);
477 session_p->decrypt.context = NULL;
H A DsoftKeys.c269 /* Check if given unwrapping key may be used to decrypt. */
279 * Unwrapping key objects requires calling decrypt operations.
280 * Check to see if decrypt operation is already active.
282 if (session_p->decrypt.flags & CRYPTO_OPERATION_ACTIVE) {
291 session_p->decrypt.flags = CRYPTO_OPERATION_ACTIVE;
306 session_p->decrypt.flags = 0;
H A DsoftAESCrypt.c70 session_p->decrypt.context = soft_aes_ctx;
71 session_p->decrypt.mech.mechanism = pMechanism->mechanism;
480 * This function calls the corresponding decrypt routine based
489 * CKR_FUNCTION_FAILED: decrypt function failed
500 (soft_aes_ctx_t *)session_p->decrypt.context;
502 CK_MECHANISM_TYPE mechanism = session_p->decrypt.mech.mechanism;
673 * For decrypt update, if there is a remaining
745 * For decrypt update, if there is remaining data,
814 free(session_p->decrypt.context);
815 session_p->decrypt
[all...]
H A DsoftDESCrypt.c78 session_p->decrypt.context = soft_des_ctx;
79 session_p->decrypt.mech.mechanism = pMechanism->mechanism;
479 * This function calls the corresponding decrypt routine based
488 * CKR_FUNCTION_FAILED: decrypt function failed
499 (soft_des_ctx_t *)session_p->decrypt.context;
501 CK_MECHANISM_TYPE mechanism = session_p->decrypt.mech.mechanism;
678 * For decrypt update, if there is remaining
751 * For decrypt update, if there is remaining data,
787 free(session_p->decrypt.context);
788 session_p->decrypt
[all...]
H A DsoftSession.h94 crypto_active_op_t decrypt; /* context of active decrypt op */ member in struct:session
/opensolaris-onvv-gate/usr/src/cmd/cmd-crypto/
H A DMakefile28 decrypt \
/opensolaris-onvv-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/
H A Ddecrypt.c72 return((*(krb5_enctypes_list[i].decrypt))
/opensolaris-onvv-gate/usr/src/lib/libcryptoutil/
H A DREADME104 digest(1), mac(1), encrypt(1), decrypt(1) for translating
184 encrypt(1), decrypt(1), and libpkcs11(3crypto) for getting
197 encrypt(1) and decrypt(1) uses this function for reporting errors.
/opensolaris-onvv-gate/usr/src/common/crypto/modes/
H A Dcbc.c171 int (*decrypt)(const void *, const uint8_t *, uint8_t *),
220 decrypt(ctx->cbc_keysched, blockp,
224 decrypt(ctx->cbc_keysched, blockp, blockp);
/opensolaris-onvv-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/old/
H A Dold_decrypt.c80 /* decrypt it */
82 /* save last ciphertext block in case we decrypt in place */
100 if ((ret = ((*(enc->decrypt))(context, key, ivec, input, &output))))
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.telnetd.c459 /* Decode, decrypt and store the forwarded creds in the local ccache. */
758 encrypt_session_key(&skey, &encr_data.decrypt);
1001 (void) memset(&encr_data.decrypt, 0, sizeof (cipher_info_t));
1004 encr_data.decrypt.state = ENCR_STATE_NOT_READY;
1026 * decrypt key we will use so that it may
1029 (void) memcpy(p, encr_data.decrypt.keyid, encr_data.decrypt.keyidlen);
1030 p += encr_data.decrypt.keyidlen;
1048 * We must initialize the read (decrypt) side of our connection
1085 encr_data.decrypt
[all...]

Completed in 197 milliseconds

12