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

123

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/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_camellia.c114 ret=Camellia_set_key(key, ctx->key_len * 8, 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.c161 ctx->cipher_data=OPENSSL_malloc(ctx->cipher->ctx_size);
162 if (!ctx->cipher_data)
170 ctx->cipher_data = NULL;
498 if (c->cipher_data)
499 OPENSSL_cleanse(c->cipher_data, c->cipher->ctx_size);
501 if (c->cipher_data)
502 OPENSSL_free(c->cipher_data);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/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.c78 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;
372 EVP_CAMELLIA_KEY *dat = (EVP_CAMELLIA_KEY *) ctx->cipher_data;
H A Devp_enc.c183 ctx->cipher_data = OPENSSL_malloc(ctx->cipher->ctx_size);
184 if (!ctx->cipher_data) {
189 ctx->cipher_data = NULL;
562 if (c->cipher_data)
563 OPENSSL_cleanse(c->cipher_data, c->cipher->ctx_size);
565 if (c->cipher_data)
566 OPENSSL_free(c->cipher_data);
654 if (in->cipher_data && in->cipher->ctx_size) {
655 out->cipher_data = OPENSSL_malloc(in->cipher->ctx_size);
656 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) ?inl*8:inl), &((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...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/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.c78 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;
372 EVP_CAMELLIA_KEY *dat = (EVP_CAMELLIA_KEY *) ctx->cipher_data;
H A Devp_enc.c183 ctx->cipher_data = OPENSSL_malloc(ctx->cipher->ctx_size);
184 if (!ctx->cipher_data) {
189 ctx->cipher_data = NULL;
562 if (c->cipher_data)
563 OPENSSL_cleanse(c->cipher_data, c->cipher->ctx_size);
565 if (c->cipher_data)
566 OPENSSL_free(c->cipher_data);
654 if (in->cipher_data && in->cipher->ctx_size) {
655 out->cipher_data = OPENSSL_malloc(in->cipher->ctx_size);
656 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) ?inl*8:inl), &((kstruct *)ctx->cipher_data)->ksched, ctx->iv, &ctx->num, ctx->encrypt);\
255 #define EVP_C_DATA(kstruct, ctx) ((kstruct *)(ctx)->cipher_data)
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/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...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/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...]

Completed in 187 milliseconds

123