/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 | 161 ctx->cipher_data=OPENSSL_malloc(ctx->cipher->ctx_size); in EVP_CipherInit_ex() 162 if (!ctx->cipher_data) in EVP_CipherInit_ex() 170 ctx->cipher_data = NULL; in EVP_CipherInit_ex() 503 if (c->cipher_data) in EVP_CIPHER_CTX_cleanup() 504 OPENSSL_cleanse(c->cipher_data, c->cipher->ctx_size); in EVP_CIPHER_CTX_cleanup() 506 if (c->cipher_data) in EVP_CIPHER_CTX_cleanup() 507 OPENSSL_free(c->cipher_data); in EVP_CIPHER_CTX_cleanup() 588 if (in->cipher_data && in->cipher->ctx_size) in EVP_CIPHER_CTX_copy() 590 out->cipher_data=OPENSSL_malloc(in->cipher->ctx_size); in EVP_CIPHER_CTX_copy() 591 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 | 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_aes.c | 107 ret=AES_set_encrypt_key(key, ctx->key_len * 8, ctx->cipher_data); in aes_init_key() 109 ret=AES_set_decrypt_key(key, ctx->key_len * 8, ctx->cipher_data); in aes_init_key()
|
D | e_seed.c | 79 SEED_set_key(key, ctx->cipher_data); in seed_init_key()
|
D | e_rc4.c | 76 #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_des3.c | 83 #define data(ctx) ((DES_EDE_KEY *)(ctx)->cipher_data)
|
D | evp.h | 383 void *cipher_data; /* per EVP data */ member
|
/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)
|
D | eng_cryptodev.c | 359 struct dev_crypto_state *state = ctx->cipher_data; in cryptodev_cipher() 412 struct dev_crypto_state *state = ctx->cipher_data; in cryptodev_init_key() 454 struct dev_crypto_state *state = ctx->cipher_data; in cryptodev_cleanup()
|
/external/openssl/include/openssl/ |
D | evp.h | 383 void *cipher_data; /* per EVP data */ member
|