Home
last modified time | relevance | path

Searched refs:cipher_data (Results 1 – 25 of 38) sorted by relevance

12

/external/openssl/crypto/evp/
De_des.c78 DES_ecb_encrypt((DES_cblock *)(in + i), (DES_cblock *)(out + i), ctx->cipher_data, ctx->encrypt); in des_ecb_cipher()
87 DES_ofb64_encrypt(in, out, (long)EVP_MAXCHUNK, ctx->cipher_data, in des_ofb_cipher()
94 DES_ofb64_encrypt(in, out, (long)inl, ctx->cipher_data, in des_ofb_cipher()
104 DES_ncbc_encrypt(in, out, (long)EVP_MAXCHUNK, ctx->cipher_data, in des_cbc_cipher()
111 DES_ncbc_encrypt(in, out, (long)inl, ctx->cipher_data, in des_cbc_cipher()
121 DES_cfb64_encrypt(in,out, (long)EVP_MAXCHUNK, ctx->cipher_data, in des_cfb64_cipher()
128 DES_cfb64_encrypt(in, out, (long)inl, ctx->cipher_data, in des_cfb64_cipher()
148 DES_cfb_encrypt(c,d,1,1,ctx->cipher_data,(DES_cblock *)ctx->iv, in des_cfb1_cipher()
167 DES_cfb_encrypt(in,out,8,(long)EVP_MAXCHUNK,ctx->cipher_data, in des_cfb8_cipher()
174 DES_cfb_encrypt(in,out,8,(long)inl,ctx->cipher_data, in des_cfb8_cipher()
[all …]
Devp_enc.c179 ctx->cipher_data=OPENSSL_malloc(ctx->cipher->ctx_size); in EVP_CipherInit_ex()
180 if (!ctx->cipher_data) in EVP_CipherInit_ex()
188 ctx->cipher_data = NULL; in EVP_CipherInit_ex()
577 if (c->cipher_data) in EVP_CIPHER_CTX_cleanup()
578 OPENSSL_cleanse(c->cipher_data, c->cipher->ctx_size); in EVP_CIPHER_CTX_cleanup()
580 if (c->cipher_data) in EVP_CIPHER_CTX_cleanup()
581 OPENSSL_free(c->cipher_data); in EVP_CIPHER_CTX_cleanup()
666 if (in->cipher_data && in->cipher->ctx_size) in EVP_CIPHER_CTX_copy()
668 out->cipher_data=OPENSSL_malloc(in->cipher->ctx_size); in EVP_CIPHER_CTX_copy()
669 if (!out->cipher_data) in EVP_CIPHER_CTX_copy()
[all …]
De_idea.c79 idea_ecb_encrypt(in + i, out + i, ctx->cipher_data); in idea_ecb_cipher()
105 if (enc) idea_set_encrypt_key(key,ctx->cipher_data); in BLOCK_CIPHER_func_cbc()
111 idea_set_decrypt_key(&tmp,ctx->cipher_data); in BLOCK_CIPHER_func_cbc()
De_aes.c233 EVP_AES_KEY *dat = (EVP_AES_KEY *)ctx->cipher_data; in aesni_init_key()
239 ret = aesni_set_decrypt_key(key, ctx->key_len*8, ctx->cipher_data); in aesni_init_key()
246 ret = aesni_set_encrypt_key(key, ctx->key_len*8, ctx->cipher_data); in aesni_init_key()
268 aesni_cbc_encrypt(in,out,len,ctx->cipher_data,ctx->iv,ctx->encrypt); in aesni_cbc_cipher()
280 aesni_ecb_encrypt(in,out,len,ctx->cipher_data,ctx->encrypt); in aesni_ecb_cipher()
308 EVP_AES_GCM_CTX *gctx = ctx->cipher_data; in aesni_gcm_init_key()
349 EVP_AES_XTS_CTX *xctx = ctx->cipher_data; in aesni_xts_init_key()
392 EVP_AES_CCM_CTX *cctx = ctx->cipher_data; in aesni_ccm_init_key()
532 EVP_AES_KEY *dat = (EVP_AES_KEY *)ctx->cipher_data; in aes_init_key()
642 EVP_AES_KEY *dat = (EVP_AES_KEY *)ctx->cipher_data; in aes_cbc_cipher()
[all …]
Devp_locl.h74 cprefix##_ecb_encrypt(in + i, out + i, &((kstruct *)ctx->cipher_data)->ksched, ctx->encrypt);\
85 …cprefix##_ofb##cbits##_encrypt(in, out, (long)EVP_MAXCHUNK, &((kstruct *)ctx->cipher_data)->ksched…
91 …cprefix##_ofb##cbits##_encrypt(in, out, (long)inl, &((kstruct *)ctx->cipher_data)->ksched, ctx->iv…
100 …cprefix##_cbc_encrypt(in, out, (long)EVP_MAXCHUNK, &((kstruct *)ctx->cipher_data)->ksched, ctx->iv…
106 …cprefix##_cbc_encrypt(in, out, (long)inl, &((kstruct *)ctx->cipher_data)->ksched, ctx->iv, ctx->en…
118 …ctx->flags & EVP_CIPH_FLAG_LENGTH_BITS) ?inl*8:inl), &((kstruct *)ctx->cipher_data)->ksched, ctx->…
255 #define EVP_C_DATA(kstruct, ctx) ((kstruct *)(ctx)->cipher_data)
De_seed.c79 SEED_set_key(key, ctx->cipher_data); in seed_init_key()
De_rc4.c77 #define data(ctx) ((EVP_RC4_KEY *)(ctx)->cipher_data)
De_camellia.c114 ret=Camellia_set_key(key, ctx->key_len * 8, ctx->cipher_data); in camellia_init_key()
De_xcbc_d.c82 #define data(ctx) ((DESX_CBC_KEY *)(ctx)->cipher_data)
De_rc2.c83 #define data(ctx) ((EVP_RC2_KEY *)(ctx)->cipher_data)
De_rc4_hmac_md5.c83 #define data(ctx) ((EVP_RC4_HMAC_MD5 *)(ctx)->cipher_data)
/external/chromium_org/third_party/openssl/openssl/crypto/evp/
De_des.c78 DES_ecb_encrypt((DES_cblock *)(in + i), (DES_cblock *)(out + i), ctx->cipher_data, ctx->encrypt); in des_ecb_cipher()
87 DES_ofb64_encrypt(in, out, (long)EVP_MAXCHUNK, ctx->cipher_data, in des_ofb_cipher()
94 DES_ofb64_encrypt(in, out, (long)inl, ctx->cipher_data, in des_ofb_cipher()
104 DES_ncbc_encrypt(in, out, (long)EVP_MAXCHUNK, ctx->cipher_data, in des_cbc_cipher()
111 DES_ncbc_encrypt(in, out, (long)inl, ctx->cipher_data, in des_cbc_cipher()
121 DES_cfb64_encrypt(in,out, (long)EVP_MAXCHUNK, ctx->cipher_data, in des_cfb64_cipher()
128 DES_cfb64_encrypt(in, out, (long)inl, ctx->cipher_data, in des_cfb64_cipher()
148 DES_cfb_encrypt(c,d,1,1,ctx->cipher_data,(DES_cblock *)ctx->iv, in des_cfb1_cipher()
167 DES_cfb_encrypt(in,out,8,(long)EVP_MAXCHUNK,ctx->cipher_data, in des_cfb8_cipher()
174 DES_cfb_encrypt(in,out,8,(long)inl,ctx->cipher_data, in des_cfb8_cipher()
[all …]
Devp_enc.c179 ctx->cipher_data=OPENSSL_malloc(ctx->cipher->ctx_size); in EVP_CipherInit_ex()
180 if (!ctx->cipher_data) in EVP_CipherInit_ex()
188 ctx->cipher_data = NULL; in EVP_CipherInit_ex()
577 if (c->cipher_data) in EVP_CIPHER_CTX_cleanup()
578 OPENSSL_cleanse(c->cipher_data, c->cipher->ctx_size); in EVP_CIPHER_CTX_cleanup()
580 if (c->cipher_data) in EVP_CIPHER_CTX_cleanup()
581 OPENSSL_free(c->cipher_data); in EVP_CIPHER_CTX_cleanup()
666 if (in->cipher_data && in->cipher->ctx_size) in EVP_CIPHER_CTX_copy()
668 out->cipher_data=OPENSSL_malloc(in->cipher->ctx_size); in EVP_CIPHER_CTX_copy()
669 if (!out->cipher_data) in EVP_CIPHER_CTX_copy()
[all …]
De_idea.c79 idea_ecb_encrypt(in + i, out + i, ctx->cipher_data); in idea_ecb_cipher()
105 if (enc) idea_set_encrypt_key(key,ctx->cipher_data); in BLOCK_CIPHER_func_cbc()
111 idea_set_decrypt_key(&tmp,ctx->cipher_data); in BLOCK_CIPHER_func_cbc()
De_aes.c233 EVP_AES_KEY *dat = (EVP_AES_KEY *)ctx->cipher_data; in aesni_init_key()
239 ret = aesni_set_decrypt_key(key, ctx->key_len*8, ctx->cipher_data); in aesni_init_key()
246 ret = aesni_set_encrypt_key(key, ctx->key_len*8, ctx->cipher_data); in aesni_init_key()
268 aesni_cbc_encrypt(in,out,len,ctx->cipher_data,ctx->iv,ctx->encrypt); in aesni_cbc_cipher()
280 aesni_ecb_encrypt(in,out,len,ctx->cipher_data,ctx->encrypt); in aesni_ecb_cipher()
308 EVP_AES_GCM_CTX *gctx = ctx->cipher_data; in aesni_gcm_init_key()
349 EVP_AES_XTS_CTX *xctx = ctx->cipher_data; in aesni_xts_init_key()
392 EVP_AES_CCM_CTX *cctx = ctx->cipher_data; in aesni_ccm_init_key()
500 EVP_AES_KEY *dat = (EVP_AES_KEY *)ctx->cipher_data; in aes_init_key()
577 EVP_AES_KEY *dat = (EVP_AES_KEY *)ctx->cipher_data; in aes_cbc_cipher()
[all …]
Devp_locl.h74 cprefix##_ecb_encrypt(in + i, out + i, &((kstruct *)ctx->cipher_data)->ksched, ctx->encrypt);\
85 …cprefix##_ofb##cbits##_encrypt(in, out, (long)EVP_MAXCHUNK, &((kstruct *)ctx->cipher_data)->ksched…
91 …cprefix##_ofb##cbits##_encrypt(in, out, (long)inl, &((kstruct *)ctx->cipher_data)->ksched, ctx->iv…
100 …cprefix##_cbc_encrypt(in, out, (long)EVP_MAXCHUNK, &((kstruct *)ctx->cipher_data)->ksched, ctx->iv…
106 …cprefix##_cbc_encrypt(in, out, (long)inl, &((kstruct *)ctx->cipher_data)->ksched, ctx->iv, ctx->en…
118 …ctx->flags & EVP_CIPH_FLAG_LENGTH_BITS) ?inl*8:inl), &((kstruct *)ctx->cipher_data)->ksched, ctx->…
255 #define EVP_C_DATA(kstruct, ctx) ((kstruct *)(ctx)->cipher_data)
De_seed.c79 SEED_set_key(key, ctx->cipher_data); in seed_init_key()
De_rc4.c77 #define data(ctx) ((EVP_RC4_KEY *)(ctx)->cipher_data)
De_camellia.c114 ret=Camellia_set_key(key, ctx->key_len * 8, ctx->cipher_data); in camellia_init_key()
De_xcbc_d.c82 #define data(ctx) ((DESX_CBC_KEY *)(ctx)->cipher_data)
De_rc2.c83 #define data(ctx) ((EVP_RC2_KEY *)(ctx)->cipher_data)
/external/chromium_org/third_party/openssl/openssl/crypto/des/
Ddestest.c164 static unsigned char cipher_data[NUM_TESTS][8]={ variable
418 if (memcmp(out,cipher_data[i],8) != 0) in main()
421 i+1,pt(key_data[i]),pt(in),pt(cipher_data[i]), in main()
/external/openssl/crypto/des/
Ddestest.c164 static unsigned char cipher_data[NUM_TESTS][8]={ variable
418 if (memcmp(out,cipher_data[i],8) != 0) in main()
421 i+1,pt(key_data[i]),pt(in),pt(cipher_data[i]), in main()
/external/openssl/crypto/engine/
Deng_openssl.c228 #define test(ctx) ((TEST_RC4_KEY *)(ctx)->cipher_data)
/external/chromium_org/third_party/openssl/openssl/crypto/engine/
Deng_openssl.c228 #define test(ctx) ((TEST_RC4_KEY *)(ctx)->cipher_data)

12