Home
last modified time | relevance | path

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

12

/titanic_44/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelDecrypt.c67 session_p->decrypt.flags = CRYPTO_OPERATION_ACTIVE; in kernel_decrypt_init()
99 session_p->decrypt.mech = *pMechanism; in kernel_decrypt_init()
102 if (INPLACE_MECHANISM(session_p->decrypt.mech.mechanism)) { in kernel_decrypt_init()
103 session_p->decrypt.flags |= CRYPTO_OPERATION_INPLACE_OK; in kernel_decrypt_init()
139 session_p->decrypt.flags &= ~CRYPTO_OPERATION_ACTIVE; in kernel_decrypt_init()
191 crypto_decrypt_t decrypt; in kernel_decrypt() local
201 if (!(session_p->decrypt.flags & CRYPTO_OPERATION_ACTIVE)) { in kernel_decrypt()
210 if (session_p->decrypt.flags & CRYPTO_OPERATION_UPDATE) { in kernel_decrypt()
221 decrypt.cd_session = session_p->k_session; in kernel_decrypt()
230 inplace = (session_p->decrypt.flags & CRYPTO_OPERATION_INPLACE_OK) != 0; in kernel_decrypt()
[all …]
H A DkernelSession.h97 crypto_active_op_t decrypt; /* context of active decrypt op */ member
H A DkernelSessionUtil.c309 if (session_p->decrypt.context != NULL) in kernel_delete_session()
310 free(session_p->decrypt.context); in kernel_delete_session()
/titanic_44/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftDecryptUtil.c143 soft_des_ctx = (soft_des_ctx_t *)session_p->decrypt.context; in soft_decrypt_init()
157 free(session_p->decrypt.context); in soft_decrypt_init()
158 session_p->decrypt.context = NULL; in soft_decrypt_init()
198 soft_aes_ctx = (soft_aes_ctx_t *)session_p->decrypt.context; in soft_decrypt_init()
213 free(session_p->decrypt.context); in soft_decrypt_init()
214 session_p->decrypt.context = NULL; in soft_decrypt_init()
244 soft_aes_ctx = (soft_aes_ctx_t *)session_p->decrypt.context; in soft_decrypt_init()
253 free(session_p->decrypt.context); in soft_decrypt_init()
254 session_p->decrypt.context = NULL; in soft_decrypt_init()
282 (soft_blowfish_ctx_t *)session_p->decrypt.context; in soft_decrypt_init()
[all …]
H A DsoftDecrypt.c72 if (session_p->decrypt.flags & CRYPTO_OPERATION_ACTIVE) { in C_DecryptInit()
82 session_p->decrypt.flags = CRYPTO_OPERATION_ACTIVE; in C_DecryptInit()
91 session_p->decrypt.flags &= ~CRYPTO_OPERATION_ACTIVE; in C_DecryptInit()
144 if (!(session_p->decrypt.flags & CRYPTO_OPERATION_ACTIVE)) { in C_Decrypt()
153 if (session_p->decrypt.flags & CRYPTO_OPERATION_UPDATE) { in C_Decrypt()
237 if (!(session_p->decrypt.flags & CRYPTO_OPERATION_ACTIVE)) { in C_DecryptUpdate()
242 session_p->decrypt.flags |= CRYPTO_OPERATION_UPDATE; in C_DecryptUpdate()
298 if (!(session_p->decrypt.flags & CRYPTO_OPERATION_ACTIVE)) { in C_DecryptFinal()
322 session_p->decrypt.flags = 0; in C_DecryptFinal()
H A DsoftBlowfishCrypt.c65 session_p->decrypt.context = soft_blowfish_ctx; in soft_blowfish_crypt_init_common()
66 session_p->decrypt.mech.mechanism = pMechanism->mechanism; in soft_blowfish_crypt_init_common()
324 (soft_blowfish_ctx_t *)session_p->decrypt.context; in soft_blowfish_decrypt_common()
476 free(session_p->decrypt.context); in soft_blowfish_decrypt_common()
477 session_p->decrypt.context = NULL; in soft_blowfish_decrypt_common()
H A DsoftAESCrypt.c70 session_p->decrypt.context = soft_aes_ctx; in soft_aes_crypt_init_common()
71 session_p->decrypt.mech.mechanism = pMechanism->mechanism; in soft_aes_crypt_init_common()
500 (soft_aes_ctx_t *)session_p->decrypt.context; in soft_aes_decrypt_common()
502 CK_MECHANISM_TYPE mechanism = session_p->decrypt.mech.mechanism; in soft_aes_decrypt_common()
814 free(session_p->decrypt.context); in soft_aes_decrypt_common()
815 session_p->decrypt.context = NULL; in soft_aes_decrypt_common()
H A DsoftKeys.c282 if (session_p->decrypt.flags & CRYPTO_OPERATION_ACTIVE) { in C_UnwrapKey()
291 session_p->decrypt.flags = CRYPTO_OPERATION_ACTIVE; in C_UnwrapKey()
306 session_p->decrypt.flags = 0; in C_UnwrapKey()
H A DsoftDESCrypt.c78 session_p->decrypt.context = soft_des_ctx; in soft_des_crypt_init_common()
79 session_p->decrypt.mech.mechanism = pMechanism->mechanism; in soft_des_crypt_init_common()
499 (soft_des_ctx_t *)session_p->decrypt.context; in soft_des_decrypt_common()
501 CK_MECHANISM_TYPE mechanism = session_p->decrypt.mech.mechanism; in soft_des_decrypt_common()
787 free(session_p->decrypt.context); in soft_des_decrypt_common()
788 session_p->decrypt.context = NULL; in soft_des_decrypt_common()
H A DsoftARCFourCrypt.c76 active_op = (encrypt) ? &(session_p->encrypt) : &(session_p->decrypt); in soft_arcfour_crypt_init()
H A DsoftSession.h94 crypto_active_op_t decrypt; /* context of active decrypt op */ member
/titanic_44/usr/src/common/net/wanboot/crypt/
H A Dcbc.c114 ch->decrypt(ch->ks, thisp); in cbc_decrypt()
130 void (*decrypt)(void *, uint8_t *)) in cbc_makehandle()
137 ch->decrypt = decrypt; in cbc_makehandle()
H A Dcbc.h44 void (*decrypt)(void *, uint8_t *); member
54 void (*decrypt)(void *, uint8_t *));
H A Ddes.h46 int decrypt);
H A Ddes.c347 des_key(DES_KS k, const unsigned char *key, int decrypt) in des_key() argument
367 pcr[j] = pc1m[(l = j + totrot[decrypt ? 15 - i : i]) < in des_key()
/titanic_44/usr/src/cmd/cmd-crypto/decrypt/
H A DMakefile.com26 PROG = decrypt
31 OBJS = decrypt.o
H A DMakefile28 PROG= decrypt
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.telnetd.c758 encrypt_session_key(&skey, &encr_data.decrypt); in kerberos5_is()
1001 (void) memset(&encr_data.decrypt, 0, sizeof (cipher_info_t)); in encrypt_init()
1004 encr_data.decrypt.state = ENCR_STATE_NOT_READY; in encrypt_init()
1029 (void) memcpy(p, encr_data.decrypt.keyid, encr_data.decrypt.keyidlen); in encrypt_send_request_start()
1030 p += encr_data.decrypt.keyidlen; in encrypt_send_request_start()
1085 encr_data.decrypt.type = type; in encrypt_is()
1087 lstate = encr_data.decrypt.state; in encrypt_is()
1105 (void) memcpy(encr_data.decrypt.ivec, data, in encrypt_is()
1111 encr_data.decrypt.type = type; in encrypt_is()
1120 encr_data.decrypt.type = NULL; in encrypt_is()
[all …]
/titanic_44/usr/src/common/crypto/des/
H A Ddes_impl.c504 uint8_t out_block[DES_BLOCK_LEN], boolean_t decrypt) in des3_crunch_block() argument
516 if (decrypt == B_TRUE) in des3_crunch_block()
540 if (decrypt == B_TRUE) in des3_crunch_block()
563 uint8_t out_block[DES_BLOCK_LEN], boolean_t decrypt) in des_crunch_block() argument
575 if (decrypt == B_TRUE) in des_crunch_block()
601 if (decrypt == B_TRUE) in des_crunch_block()
/titanic_44/usr/src/common/crypto/modes/
H A Dcbc.c171 int (*decrypt)(const void *, const uint8_t *, uint8_t *), in cbc_decrypt_contiguous_blocks()
220 decrypt(ctx->cbc_keysched, blockp, in cbc_decrypt_contiguous_blocks()
224 decrypt(ctx->cbc_keysched, blockp, blockp); in cbc_decrypt_contiguous_blocks()
/titanic_44/usr/src/uts/common/gssapi/mechs/krb5/crypto/raw/
H A Draw_decrypt.c47 return((*(enc->decrypt))(context, key, ivec, input, output)); in krb5_raw_decrypt()
/titanic_44/usr/src/cmd/cmd-crypto/
H A DMakefile28 decrypt \
/titanic_44/usr/src/uts/common/gssapi/mechs/krb5/crypto/
H A Ddecrypt.c72 return((*(krb5_enctypes_list[i].decrypt)) in krb5_c_decrypt()
/titanic_44/usr/src/uts/common/gssapi/mechs/krb5/crypto/old/
H A Dold_decrypt.c100 if ((ret = ((*(enc->decrypt))(context, key, ivec, input, &output)))) in krb5_old_decrypt()
/titanic_44/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.

12