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

/opensolaris-onvv-gate/usr/src/common/openssl/crypto/evp/
H A De_des.c78 DES_ecb_encrypt((DES_cblock *)(in + i), (DES_cblock *)(out + i), ctx->cipher_data, ctx->encrypt);
85 DES_ofb64_encrypt(in, out, (long)inl, ctx->cipher_data, (DES_cblock *)ctx->iv, &ctx->num);
92 DES_ncbc_encrypt(in, out, (long)inl, ctx->cipher_data,
100 DES_cfb64_encrypt(in, out, (long)inl, ctx->cipher_data,
116 DES_cfb_encrypt(c,d,1,1,ctx->cipher_data,(DES_cblock *)ctx->iv,
126 DES_cfb_encrypt(in,out,8,inl,ctx->cipher_data,(DES_cblock *)ctx->iv,
152 if(DES_set_key_checked(deskey,ctx->cipher_data) != 0)
155 DES_set_key_unchecked(deskey,ctx->cipher_data);
H A De_idea.c79 idea_ecb_encrypt(in + i, out + i, ctx->cipher_data);
105 if (enc) idea_set_encrypt_key(key,ctx->cipher_data);
111 idea_set_decrypt_key(&tmp,ctx->cipher_data);
H A De_aes.c107 ret=AES_set_encrypt_key(key, ctx->key_len * 8, ctx->cipher_data);
109 ret=AES_set_decrypt_key(key, ctx->key_len * 8, ctx->cipher_data);
H A Devp_locl.h74 cprefix##_ecb_encrypt(in + i, out + i, &((kstruct *)ctx->cipher_data)->ksched, ctx->encrypt);\
81 cprefix##_ofb##cbits##_encrypt(in, out, (long)inl, &((kstruct *)ctx->cipher_data)->ksched, ctx->iv, &ctx->num);\
88 cprefix##_cbc_encrypt(in, out, (long)inl, &((kstruct *)ctx->cipher_data)->ksched, ctx->iv, ctx->encrypt);\
95 cprefix##_cfb##cbits##_encrypt(in, out, (long)inl, &((kstruct *)ctx->cipher_data)->ksched, ctx->iv, &ctx->num, ctx->encrypt);\
227 #define EVP_C_DATA(kstruct, ctx) ((kstruct *)(ctx)->cipher_data)
H A De_rc4.c76 #define data(ctx) ((EVP_RC4_KEY *)(ctx)->cipher_data)
H A De_xcbc_d.c81 #define data(ctx) ((DESX_CBC_KEY *)(ctx)->cipher_data)
H A Devp_enc.c154 ctx->cipher_data=OPENSSL_malloc(ctx->cipher->ctx_size);
155 if (!ctx->cipher_data)
163 ctx->cipher_data = NULL;
482 if (c->cipher_data)
483 OPENSSL_cleanse(c->cipher_data, c->cipher->ctx_size);
485 if (c->cipher_data)
486 OPENSSL_free(c->cipher_data);
H A De_rc2.c83 #define data(ctx) ((EVP_RC2_KEY *)(ctx)->cipher_data)
H A De_des3.c83 #define data(ctx) ((DES_EDE_KEY *)(ctx)->cipher_data)
H A Devp.h319 int ctx_size; /* how big ctx->cipher_data needs to be */
382 void *cipher_data; /* per EVP data */ member in struct:evp_cipher_ctx_st
/opensolaris-onvv-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,
/opensolaris-onvv-gate/usr/src/common/openssl/crypto/bf/
H A Dbftest.c173 static unsigned char cipher_data[NUM_TESTS][8]={ variable
303 printf("%02X",cipher_data[i][j]);
416 if (memcmp(&(cipher_data[n][0]),out,8) != 0)
425 printf("%02X ",cipher_data[n][i]);
/opensolaris-onvv-gate/usr/src/common/openssl/crypto/engine/
H A Deng_openssl.c228 #define test(ctx) ((TEST_RC4_KEY *)(ctx)->cipher_data)
H A Deng_cryptodev.c375 struct dev_crypto_state *state = ctx->cipher_data;
428 struct dev_crypto_state *state = ctx->cipher_data;
466 struct dev_crypto_state *state = ctx->cipher_data;
H A Dhw_pk11.c402 * Structure to be used for the cipher_data/md_data in
2249 PK11_CIPHER_STATE *state = (PK11_CIPHER_STATE *) ctx->cipher_data;
2389 PK11_CIPHER_STATE *state = (PK11_CIPHER_STATE *) ctx->cipher_data;
2459 PK11_CIPHER_STATE *state = ctx->cipher_data;
/opensolaris-onvv-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.c616 uchar_t cipher_data[MAX_RSA_KEYLENGTH_IN_BYTES]; local
656 rv = core_rsa_encrypt(key, plain_data, modulus_len, cipher_data, 1);
659 if ((rv = crypto_put_output_data(cipher_data,
/opensolaris-onvv-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftRSA.c258 CK_BYTE cipher_data[MAX_RSA_KEYLENGTH_IN_BYTES]; local
319 rv = soft_rsa_encrypt(key, plain_data, modulus_len, cipher_data, 1);
321 (void) memcpy(pEncrypted, cipher_data, modulus_len);
/opensolaris-onvv-gate/usr/src/cmd/ssh/libssh/common/
H A Dcipher.c556 #define EVP_X_STATE(evp) (evp).cipher_data
/opensolaris-onvv-gate/usr/src/common/openssl/crypto/des/
H A Ddestest.c164 static unsigned char cipher_data[NUM_TESTS][8]={ variable
418 if (memcmp(out,cipher_data[i],8) != 0)
421 i+1,pt(key_data[i]),pt(in),pt(cipher_data[i]),

Completed in 511 milliseconds