/external/openssl/crypto/evp/ |
D | e_des.c | 78 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 …]
|
D | evp_enc.c | 179 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 …]
|
D | e_idea.c | 79 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()
|
D | e_aes.c | 233 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 …]
|
D | evp_locl.h | 74 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)
|
D | e_seed.c | 79 SEED_set_key(key, ctx->cipher_data); in seed_init_key()
|
D | e_rc4.c | 77 #define data(ctx) ((EVP_RC4_KEY *)(ctx)->cipher_data)
|
D | e_camellia.c | 114 ret=Camellia_set_key(key, ctx->key_len * 8, ctx->cipher_data); in camellia_init_key()
|
D | e_xcbc_d.c | 82 #define data(ctx) ((DESX_CBC_KEY *)(ctx)->cipher_data)
|
D | e_rc2.c | 83 #define data(ctx) ((EVP_RC2_KEY *)(ctx)->cipher_data)
|
D | e_rc4_hmac_md5.c | 83 #define data(ctx) ((EVP_RC4_HMAC_MD5 *)(ctx)->cipher_data)
|
/external/chromium_org/third_party/openssl/openssl/crypto/evp/ |
D | e_des.c | 78 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 …]
|
D | evp_enc.c | 179 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 …]
|
D | e_idea.c | 79 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()
|
D | e_aes.c | 233 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 …]
|
D | evp_locl.h | 74 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)
|
D | e_seed.c | 79 SEED_set_key(key, ctx->cipher_data); in seed_init_key()
|
D | e_rc4.c | 77 #define data(ctx) ((EVP_RC4_KEY *)(ctx)->cipher_data)
|
D | e_camellia.c | 114 ret=Camellia_set_key(key, ctx->key_len * 8, ctx->cipher_data); in camellia_init_key()
|
D | e_xcbc_d.c | 82 #define data(ctx) ((DESX_CBC_KEY *)(ctx)->cipher_data)
|
D | e_rc2.c | 83 #define data(ctx) ((EVP_RC2_KEY *)(ctx)->cipher_data)
|
/external/chromium_org/third_party/openssl/openssl/crypto/des/ |
D | destest.c | 164 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/ |
D | destest.c | 164 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/ |
D | eng_openssl.c | 228 #define test(ctx) ((TEST_RC4_KEY *)(ctx)->cipher_data)
|
/external/chromium_org/third_party/openssl/openssl/crypto/engine/ |
D | eng_openssl.c | 228 #define test(ctx) ((TEST_RC4_KEY *)(ctx)->cipher_data)
|