Searched refs:cipher_data (Results 1 - 6 of 6) sorted by relevance

/illumos-gate/usr/src/uts/common/inet/kssl/
H A Dksslapi.c537 crypto_data_t cipher_data; local
659 cipher_data.cd_format = CRYPTO_DATA_RAW;
660 cipher_data.cd_offset = 0;
661 cipher_data.cd_length = rec_sz;
662 cipher_data.cd_miscdata = NULL;
663 cipher_data.cd_raw.iov_base = (char *)mp->b_rptr;
664 cipher_data.cd_raw.iov_len = rec_sz;
666 &cipher_data, NULL, NULL);
872 spec->cipher_data.cd_length = rec_sz;
873 spec->cipher_data
[all...]
H A Dksslproto.h274 crypto_data_t cipher_data; member in struct:KSSLCipherSpecStr
H A Dksslrec.c1582 spec->cipher_data.cd_format = CRYPTO_DATA_RAW;
1755 spec->cipher_data.cd_length = rec_sz;
1756 spec->cipher_data.cd_raw.iov_base = (char *)(rstart + SSL3_HDR_LEN);
1757 spec->cipher_data.cd_raw.iov_len = rec_sz;
1759 ret = crypto_encrypt_update(spec->cipher_ctx, &spec->cipher_data,
/illumos-gate/usr/src/uts/common/crypto/io/
H A Ddprov.c6361 crypto_data_t cipher_data; local
6419 cipher_data = *((crypto_data_t *)dual_data);
6424 plaintext_tmp = &cipher_data;
6428 ciphertext_tmp = &cipher_data;
6435 encrypted = cipher_data.cd_length;
6437 cipher_data.cd_offset += encrypted;
6438 cipher_data.cd_length = dual_data->dd_len1 - encrypted;
6441 &cipher_data, NULL)) != CRYPTO_SUCCESS)
6450 mac_data = cipher_data;
6463 dual_data->dd_len1 = encrypted + cipher_data
[all...]
H A Drsa.c599 uchar_t cipher_data[MAX_RSA_KEYLENGTH_IN_BYTES]; local
639 rv = core_rsa_encrypt(key, plain_data, modulus_len, cipher_data, 1);
642 if ((rv = crypto_put_output_data(cipher_data,
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftRSA.c250 CK_BYTE cipher_data[MAX_RSA_KEYLENGTH_IN_BYTES]; local
311 rv = soft_rsa_encrypt(key, plain_data, modulus_len, cipher_data, 1);
313 (void) memcpy(pEncrypted, cipher_data, modulus_len);

Completed in 117 milliseconds