| /onnv-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
| H A D | kernelDecrypt.c | 67 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 …]
|
| /onnv-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
| H A D | softDecryptUtil.c | 143 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 D | softDecrypt.c | 72 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 D | softBlowfishCrypt.c | 65 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 D | softAESCrypt.c | 70 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 D | softKeys.c | 282 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 D | softDESCrypt.c | 78 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()
|
| /onnv-gate/usr/src/lib/pkcs11/pkcs11_kms/common/ |
| H A D | kmsDecrypt.c | 81 kms_aes_ctx = (kms_aes_ctx_t *)session_p->decrypt.context; in kms_decrypt_init() 96 free(session_p->decrypt.context); in kms_decrypt_init() 97 session_p->decrypt.context = NULL; in kms_decrypt_init() 148 if (session_p->decrypt.flags & CRYPTO_OPERATION_ACTIVE) { in C_DecryptInit() 158 session_p->decrypt.flags = CRYPTO_OPERATION_ACTIVE; in C_DecryptInit() 167 session_p->decrypt.flags &= ~CRYPTO_OPERATION_ACTIVE; in C_DecryptInit() 218 if (!(session_p->decrypt.flags & CRYPTO_OPERATION_ACTIVE)) { in C_Decrypt() 227 if (session_p->decrypt.flags & CRYPTO_OPERATION_UPDATE) { in C_Decrypt() 310 if (!(session_p->decrypt.flags & CRYPTO_OPERATION_ACTIVE)) { in C_DecryptUpdate() 315 session_p->decrypt.flags |= CRYPTO_OPERATION_UPDATE; in C_DecryptUpdate() [all …]
|
| H A D | kmsAESCrypt.c | 111 session_p->decrypt.context = kms_aes_ctx; in kms_aes_crypt_init_common() 112 session_p->decrypt.mech.mechanism = pMechanism->mechanism; in kms_aes_crypt_init_common() 484 (kms_aes_ctx_t *)session_p->decrypt.context; in kms_aes_decrypt_common() 486 CK_MECHANISM_TYPE mechanism = session_p->decrypt.mech.mechanism; in kms_aes_decrypt_common() 736 free(session_p->decrypt.context); in kms_aes_decrypt_common() 737 session_p->decrypt.context = NULL; in kms_aes_decrypt_common() 915 CK_MECHANISM_TYPE mechanism = session_p->decrypt.mech.mechanism; in kms_aes_decrypt_final() 922 if (session_p->decrypt.context == NULL) { in kms_aes_decrypt_final() 932 kms_aes_ctx = (kms_aes_ctx_t *)session_p->decrypt.context; in kms_aes_decrypt_final() 1010 kms_aes_ctx = (kms_aes_ctx_t *)session_p->decrypt.context; in kms_aes_decrypt_final() [all …]
|
| /onnv-gate/usr/src/common/net/wanboot/crypt/ |
| H A D | cbc.c | 114 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 D | cbc.h | 44 void (*decrypt)(void *, uint8_t *); member 54 void (*decrypt)(void *, uint8_t *));
|
| H A D | des.h | 46 int decrypt);
|
| H A D | des.c | 347 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()
|
| /onnv-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
|
| /onnv-gate/usr/src/common/openssl/doc/crypto/ |
| H A D | BIO_f_cipher.pod | 49 decrypt. 52 return value from the read operation. A successful decrypt followed 54 should be called to determine if the decrypt was successful. 65 BIO_get_cipher_status() returns 1 for a successful decrypt and 0
|
| H A D | EVP_OpenInit.pod | 21 decryption. They decrypt a public key encrypted symmetric key and 22 then decrypt data using it. 53 EVP_OpenFinal() returns 0 if the decrypt failed or 1 for success.
|
| H A D | PKCS7_decrypt.pod | 5 PKCS7_decrypt - decrypt content from a PKCS#7 envelopedData structure 23 Although the recipients certificate is not needed to decrypt the data it is needed
|
| /onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
| H A D | in.telnetd.c | 758 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 …]
|
| /onnv-gate/usr/src/common/openssl/doc/apps/ |
| H A D | rsautl.pod | 18 [B<-decrypt>] 27 The B<rsautl> command can be used to sign, verify, encrypt and decrypt 69 =item B<-decrypt> 71 decrypt the input data using an RSA private key. 120 encrypt and decrypt the block would have been of type 2 (the second byte)
|
| /onnv-gate/usr/src/common/openssl/crypto/evp/ |
| H A D | evptests.txt | 1 #cipher:key:iv:plaintext:ciphertext:0/1(decrypt/encrypt) 32 # AES 128 ECB tests (from NIST test vectors, decrypt) 36 # AES 192 ECB tests (from NIST test vectors, decrypt) 40 # AES 256 ECB tests (from NIST test vectors, decrypt) 56 # AES 128 CBC tests (from NIST test vectors, decrypt)
|
| /onnv-gate/usr/src/common/crypto/des/ |
| H A D | des_impl.c | 508 uint8_t out_block[DES_BLOCK_LEN], boolean_t decrypt) in des3_crunch_block() argument 521 if (decrypt == B_TRUE) in des3_crunch_block() 545 if (decrypt == B_TRUE) in des3_crunch_block() 569 uint8_t out_block[DES_BLOCK_LEN], boolean_t decrypt) in des_crunch_block() argument 582 if (decrypt == B_TRUE) in des_crunch_block() 608 if (decrypt == B_TRUE) in des_crunch_block()
|
| /onnv-gate/usr/src/common/crypto/modes/ |
| H A D | cbc.c | 171 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()
|
| /onnv-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)); in krb5_raw_decrypt()
|
| /onnv-gate/usr/src/common/openssl/crypto/des/ |
| H A D | des.pod | 5 des - encrypt or decrypt data using Data Encryption Standard 49 (for decrypt) must be specified. 54 in conjunction or instead of the a encrypt/decrypt option to generate 205 not decrypt filename (the B<-u> option will gobble the B<-d> option).
|