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

/freebsd-11-stable/crypto/openssl/crypto/evp/
H A De_des.c109 ctx->cipher_data, ctx->encrypt);
117 DES_ofb64_encrypt(in, out, (long)EVP_MAXCHUNK, ctx->cipher_data,
124 DES_ofb64_encrypt(in, out, (long)inl, ctx->cipher_data,
132 EVP_DES_KEY *dat = (EVP_DES_KEY *) ctx->cipher_data;
139 DES_ncbc_encrypt(in, out, (long)EVP_MAXCHUNK, ctx->cipher_data,
146 DES_ncbc_encrypt(in, out, (long)inl, ctx->cipher_data,
155 DES_cfb64_encrypt(in, out, (long)EVP_MAXCHUNK, ctx->cipher_data,
162 DES_cfb64_encrypt(in, out, (long)inl, ctx->cipher_data,
183 DES_cfb_encrypt(c, d, 1, 1, ctx->cipher_data,
203 DES_cfb_encrypt(in, out, 8, (long)EVP_MAXCHUNK, ctx->cipher_data,
[all...]
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.c79 SEED_set_key(key, ctx->cipher_data);
H A De_camellia.c122 EVP_CAMELLIA_KEY *dat = (EVP_CAMELLIA_KEY *) ctx->cipher_data;
260 EVP_CAMELLIA_KEY *dat = (EVP_CAMELLIA_KEY *) ctx->cipher_data;
286 EVP_CAMELLIA_KEY *dat = (EVP_CAMELLIA_KEY *) ctx->cipher_data;
303 EVP_CAMELLIA_KEY *dat = (EVP_CAMELLIA_KEY *) ctx->cipher_data;
317 EVP_CAMELLIA_KEY *dat = (EVP_CAMELLIA_KEY *) ctx->cipher_data;
327 EVP_CAMELLIA_KEY *dat = (EVP_CAMELLIA_KEY *) ctx->cipher_data;
337 EVP_CAMELLIA_KEY *dat = (EVP_CAMELLIA_KEY *) ctx->cipher_data;
347 EVP_CAMELLIA_KEY *dat = (EVP_CAMELLIA_KEY *) ctx->cipher_data;
374 EVP_CAMELLIA_KEY *dat = (EVP_CAMELLIA_KEY *) ctx->cipher_data;
H A Devp_enc.c184 ctx->cipher_data = OPENSSL_malloc(ctx->cipher->ctx_size);
185 if (!ctx->cipher_data) {
191 ctx->cipher_data = NULL;
623 if (c->cipher_data)
624 OPENSSL_cleanse(c->cipher_data, c->cipher->ctx_size);
626 if (c->cipher_data)
627 OPENSSL_free(c->cipher_data);
715 if (in->cipher_data && in->cipher->ctx_size) {
716 out->cipher_data = OPENSSL_malloc(in->cipher->ctx_size);
717 if (!out->cipher_data) {
[all...]
H A De_rc4.c76 # define data(ctx) ((EVP_RC4_KEY *)(ctx)->cipher_data)
H A Devp_locl.h75 cprefix##_ecb_encrypt(in + i, out + i, &((kstruct *)ctx->cipher_data)->ksched, ctx->encrypt);\
86 cprefix##_ofb##cbits##_encrypt(in, out, (long)EVP_MAXCHUNK, &((kstruct *)ctx->cipher_data)->ksched, ctx->iv, &ctx->num);\
92 cprefix##_ofb##cbits##_encrypt(in, out, (long)inl, &((kstruct *)ctx->cipher_data)->ksched, ctx->iv, &ctx->num);\
101 cprefix##_cbc_encrypt(in, out, (long)EVP_MAXCHUNK, &((kstruct *)ctx->cipher_data)->ksched, ctx->iv, ctx->encrypt);\
107 cprefix##_cbc_encrypt(in, out, (long)inl, &((kstruct *)ctx->cipher_data)->ksched, ctx->iv, ctx->encrypt);\
119 cprefix##_cfb##cbits##_encrypt(in, out, (long)((cbits==1) && !(ctx->flags & EVP_CIPH_FLAG_LENGTH_BITS) ?chunk*8:chunk), &((kstruct *)ctx->cipher_data)->ksched, ctx->iv, &ctx->num, ctx->encrypt);\
255 #define EVP_C_DATA(kstruct, ctx) ((kstruct *)(ctx)->cipher_data)
H A De_aes.c273 EVP_AES_KEY *dat = (EVP_AES_KEY *) ctx->cipher_data;
278 ret = aesni_set_decrypt_key(key, ctx->key_len * 8, ctx->cipher_data);
283 ret = aesni_set_encrypt_key(key, ctx->key_len * 8, ctx->cipher_data);
304 aesni_cbc_encrypt(in, out, len, ctx->cipher_data, ctx->iv, ctx->encrypt);
317 aesni_ecb_encrypt(in, out, len, ctx->cipher_data, ctx->encrypt);
345 EVP_AES_GCM_CTX *gctx = ctx->cipher_data;
381 EVP_AES_XTS_CTX *xctx = ctx->cipher_data;
419 EVP_AES_CCM_CTX *cctx = ctx->cipher_data;
553 EVP_AES_KEY *dat = (EVP_AES_KEY *) ctx->cipher_data;
560 aes_t4_set_decrypt_key(key, bits, ctx->cipher_data);
[all...]
H A De_xcbc_d.c80 # 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_rc4_hmac_md5.c83 # define data(ctx) ((EVP_RC4_HMAC_MD5 *)(ctx)->cipher_data)
H A De_des3.c110 # define data(ctx) ((DES_EDE_KEY *)(ctx)->cipher_data)
H A De_aes_cbc_hmac_sha1.c119 # define data(ctx) ((EVP_AES_HMAC_SHA1 *)(ctx)->cipher_data)
H A De_aes_cbc_hmac_sha256.c115 # define data(ctx) ((EVP_AES_HMAC_SHA256 *)(ctx)->cipher_data)
H A Devp.h324 /* how big ctx->cipher_data needs to be */
462 void *cipher_data; /* per EVP data */ member in struct:evp_cipher_ctx_st
/freebsd-11-stable/crypto/openssl/engines/ccgost/
H A Dgost_crypt.c188 struct ossl_gost_cipher_ctx *c = ctx->cipher_data;
192 ctx->app_data = ctx->cipher_data;
205 struct ossl_gost_cipher_ctx *c = ctx->cipher_data;
305 gost_crypt_mesh(ctx->cipher_data, ctx->iv, ctx->buf);
324 gost_crypt_mesh(ctx->cipher_data, ctx->iv, ctx->buf);
365 gost_cnt_next(ctx->cipher_data, ctx->iv, ctx->buf);
378 gost_cnt_next(ctx->cipher_data, ctx->iv, ctx->buf);
392 gost_destroy(&((struct ossl_gost_cipher_ctx *)ctx->cipher_data)->cctx);
432 struct ossl_gost_cipher_ctx *c = ctx->cipher_data;
477 struct ossl_gost_cipher_ctx *c = ctx->cipher_data;
[all...]
/freebsd-11-stable/crypto/openssl/crypto/engine/
H A Deng_openssl.c242 # define test(ctx) ((TEST_RC4_KEY *)(ctx)->cipher_data)
H A Deng_cryptodev.c411 struct dev_crypto_state *state = ctx->cipher_data;
465 struct dev_crypto_state *state = ctx->cipher_data;
506 struct dev_crypto_state *state = ctx->cipher_data;
/freebsd-11-stable/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-11-stable/contrib/netbsd-tests/lib/libdes/
H A Dt_des.c144 static unsigned char cipher_data[NUM_TESTS][8] = { variable
538 if (memcmp(out, cipher_data[i], 8) != 0) {
542 pt(cipher_data[i]), pt(out));
/freebsd-11-stable/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]),
/freebsd-11-stable/crypto/openssh/
H A Dcipher.c688 #define EVP_X_STATE(evp) (evp)->cipher_data
/freebsd-11-stable/crypto/openssl/engines/
H A De_padlock.c683 NEAREST_ALIGNED(ctx->cipher_data))

Completed in 308 milliseconds