/opensolaris-onvv-gate/usr/src/common/openssl/crypto/evp/ |
H A D | e_des.c | 78 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 D | e_idea.c | 79 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 D | e_aes.c | 107 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 D | evp_locl.h | 74 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 D | e_rc4.c | 76 #define data(ctx) ((EVP_RC4_KEY *)(ctx)->cipher_data)
|
H A D | e_xcbc_d.c | 81 #define data(ctx) ((DESX_CBC_KEY *)(ctx)->cipher_data)
|
H A D | evp_enc.c | 154 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 D | e_rc2.c | 83 #define data(ctx) ((EVP_RC2_KEY *)(ctx)->cipher_data)
|
H A D | e_des3.c | 83 #define data(ctx) ((DES_EDE_KEY *)(ctx)->cipher_data)
|
H A D | evp.h | 319 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 D | ksslapi.c | 537 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 D | ksslproto.h | 274 crypto_data_t cipher_data; member in struct:KSSLCipherSpecStr
|
H A D | ksslrec.c | 1582 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 D | bftest.c | 173 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 D | eng_openssl.c | 228 #define test(ctx) ((TEST_RC4_KEY *)(ctx)->cipher_data)
|
H A D | eng_cryptodev.c | 375 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 D | hw_pk11.c | 402 * 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 D | dprov.c | 6361 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 D | rsa.c | 616 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 D | softRSA.c | 258 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 D | cipher.c | 556 #define EVP_X_STATE(evp) (evp).cipher_data
|
/opensolaris-onvv-gate/usr/src/common/openssl/crypto/des/ |
H A D | destest.c | 164 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]),
|