Home
last modified time | relevance | path

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

/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.c161 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 …]
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()
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_aes.c107 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()
De_seed.c79 SEED_set_key(key, ctx->cipher_data); in seed_init_key()
De_rc4.c76 #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_des3.c83 #define data(ctx) ((DES_EDE_KEY *)(ctx)->cipher_data)
Devp.h383 void *cipher_data; /* per EVP data */ member
/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)
Deng_cryptodev.c359 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/
Devp.h383 void *cipher_data; /* per EVP data */ member