/opensolaris-onvv-gate/usr/src/common/net/wanboot/crypt/ |
H A D | des.h | 46 int decrypt);
|
H A D | cbc.h | 44 void (*decrypt)(void *, uint8_t *); member in struct:cbc_handle_s 54 void (*decrypt)(void *, uint8_t *));
|
H A D | cbc.c | 114 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 D | kernelDecrypt.c | 67 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 D | kernelSession.h | 97 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 D | Makefile.com | 28 PROG = decrypt 33 OBJS = decrypt.o
|
H A D | Makefile | 28 PROG= decrypt
|
/opensolaris-onvv-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/raw/ |
H A D | raw_decrypt.c | 47 return((*(enc->decrypt))(context, key, ivec, input, output));
|
/opensolaris-onvv-gate/usr/src/lib/pkcs11/pkcs11_kms/common/ |
H A D | kmsDecrypt.c | 41 * 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 D | kmsAESCrypt.c | 111 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 D | kmsSession.h | 94 kms_active_op_t decrypt; member in struct:session
|
/opensolaris-onvv-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softDecryptUtil.c | 71 * 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 D | softDecrypt.c | 71 /* 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 D | softARCFourCrypt.c | 76 active_op = (encrypt) ? &(session_p->encrypt) : &(session_p->decrypt);
|
H A D | softBlowfishCrypt.c | 65 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 D | softKeys.c | 269 /* 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 D | softAESCrypt.c | 70 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 D | softDESCrypt.c | 78 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 D | softSession.h | 94 crypto_active_op_t decrypt; /* context of active decrypt op */ member in struct:session
|
/opensolaris-onvv-gate/usr/src/cmd/cmd-crypto/ |
H A D | Makefile | 28 decrypt \
|
/opensolaris-onvv-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/ |
H A D | decrypt.c | 72 return((*(krb5_enctypes_list[i].decrypt))
|
/opensolaris-onvv-gate/usr/src/lib/libcryptoutil/ |
H A D | README | 104 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 D | cbc.c | 171 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 D | old_decrypt.c | 80 /* 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 D | in.telnetd.c | 459 /* 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...] |