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

/freebsd-9.3-release/crypto/openssl/crypto/evp/
H A De_des.c82 ctx->cipher_data, ctx->encrypt);
89 DES_ofb64_encrypt(in, out, (long)inl, ctx->cipher_data,
97 DES_ncbc_encrypt(in, out, (long)inl, ctx->cipher_data,
105 DES_cfb64_encrypt(in, out, (long)inl, ctx->cipher_data,
122 DES_cfb_encrypt(c, d, 1, 1, ctx->cipher_data, (DES_cblock *)ctx->iv,
133 DES_cfb_encrypt(in, out, 8, inl, ctx->cipher_data, (DES_cblock *)ctx->iv,
159 if (DES_set_key_checked(deskey, ctx->cipher_data) != 0)
162 DES_set_key_unchecked(deskey, ctx->cipher_data);
H A De_idea.c80 idea_ecb_encrypt(in + i, out + i, ctx->cipher_data);
108 idea_set_encrypt_key(key, ctx->cipher_data);
113 idea_set_decrypt_key(&tmp, ctx->cipher_data);
H A De_seed.c78 SEED_set_key(key, ctx->cipher_data);
H A Denc_min.c260 ctx->cipher_data = OPENSSL_malloc(ctx->cipher->ctx_size);
261 if (!ctx->cipher_data) {
266 ctx->cipher_data = NULL;
349 if (c->cipher_data)
350 OPENSSL_cleanse(c->cipher_data, c->cipher->ctx_size);
352 if (c->cipher_data)
353 OPENSSL_free(c->cipher_data);
H A De_aes.c97 ret = AES_set_encrypt_key(key, ctx->key_len * 8, ctx->cipher_data);
99 ret = AES_set_decrypt_key(key, ctx->key_len * 8, ctx->cipher_data);
H A Devp_locl.h75 cprefix##_ecb_encrypt(in + i, out + i, &((kstruct *)ctx->cipher_data)->ksched, ctx->encrypt);\
82 cprefix##_ofb##cbits##_encrypt(in, out, (long)inl, &((kstruct *)ctx->cipher_data)->ksched, ctx->iv, &ctx->num);\
89 cprefix##_cbc_encrypt(in, out, (long)inl, &((kstruct *)ctx->cipher_data)->ksched, ctx->iv, ctx->encrypt);\
96 cprefix##_cfb##cbits##_encrypt(in, out, (long)((cbits==1) && !(ctx->flags & EVP_CIPH_FLAG_LENGTH_BITS) ?inl*8: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_camellia.c103 ret = Camellia_set_key(key, ctx->key_len * 8, ctx->cipher_data);
H A De_xcbc_d.c79 # define data(ctx) ((DESX_CBC_KEY *)(ctx)->cipher_data)
H A De_rc2.c82 # define data(ctx) ((EVP_RC2_KEY *)(ctx)->cipher_data)
H A De_des3.c82 # define data(ctx) ((DES_EDE_KEY *)(ctx)->cipher_data)
H A Devp.h345 /* how big ctx->cipher_data needs to be */
418 void *cipher_data; /* per EVP data */ member in struct:evp_cipher_ctx_st
/freebsd-9.3-release/crypto/openssl/demos/engines/zencod/
H A Dhw_zencod.c1335 # define rc4_data(ctx) ( (EVP_RC4_KEY *) ( ctx )->cipher_data )
1398 # define des_data(ctx) ( (DES_EDE_KEY *) ( ctx )->cipher_data )
1608 tmp_rc4_key = (NEW_ZEN_RC4_KEY *) (ctx->cipher_data);
1639 tmp_rc4_key = ((NEW_ZEN_RC4_KEY *) (ctx->cipher_data));
1665 tmp_des_key = (ZEN_DES_KEY *) (ctx->cipher_data);
1695 (unsigned char *)((ZEN_DES_KEY *) (ctx->cipher_data))->des_key;
1697 (unsigned char *)&((ZEN_DES_KEY *) (ctx->cipher_data))->des_key[8];
1699 (unsigned char *)&((ZEN_DES_KEY *) (ctx->cipher_data))->des_key[16];
1702 memcpy(((ZEN_DES_KEY *) (ctx->cipher_data))->des_iv, ctx->iv, 8);
1704 iv.data = (unsigned char *)((ZEN_DES_KEY *) (ctx->cipher_data))
[all...]
/freebsd-9.3-release/crypto/openssh/openbsd-compat/
H A Dopenssl-compat.h95 #define EVP_X_STATE(evp) (evp).cipher_data
/freebsd-9.3-release/crypto/openssl/crypto/bf/
H A Dbftest.c178 static unsigned char cipher_data[NUM_TESTS][8] = { variable
314 printf("%02X", cipher_data[i][j]);
422 if (memcmp(&(cipher_data[n][0]), out, 8) != 0) {
430 printf("%02X ", cipher_data[n][i]);
/freebsd-9.3-release/crypto/openssl/crypto/engine/
H A Deng_openssl.c242 # define test(ctx) ((TEST_RC4_KEY *)(ctx)->cipher_data)
H A Deng_cryptodev.c406 struct dev_crypto_state *state = ctx->cipher_data;
460 struct dev_crypto_state *state = ctx->cipher_data;
497 struct dev_crypto_state *state = ctx->cipher_data;
H A Deng_padlock.c669 NEAREST_ALIGNED(ctx->cipher_data))
/freebsd-9.3-release/crypto/openssl/crypto/des/
H A Ddestest.c166 static unsigned char cipher_data[NUM_TESTS][8] = { variable
441 if (memcmp(out, cipher_data[i], 8) != 0) {
443 i + 1, pt(key_data[i]), pt(in), pt(cipher_data[i]),

Completed in 207 milliseconds