/external/openssl/crypto/evp/ |
H A D | e_des.c | 78 DES_ecb_encrypt((DES_cblock *)(in + i), (DES_cblock *)(out + i), ctx->cipher_data, ctx->encrypt); 87 DES_ofb64_encrypt(in, out, (long)EVP_MAXCHUNK, ctx->cipher_data, 94 DES_ofb64_encrypt(in, out, (long)inl, ctx->cipher_data, 104 DES_ncbc_encrypt(in, out, (long)EVP_MAXCHUNK, ctx->cipher_data, 111 DES_ncbc_encrypt(in, out, (long)inl, ctx->cipher_data, 121 DES_cfb64_encrypt(in,out, (long)EVP_MAXCHUNK, ctx->cipher_data, 128 DES_cfb64_encrypt(in, out, (long)inl, ctx->cipher_data, 148 DES_cfb_encrypt(c,d,1,1,ctx->cipher_data,(DES_cblock *)ctx->iv, 167 DES_cfb_encrypt(in,out,8,(long)EVP_MAXCHUNK,ctx->cipher_data, 174 DES_cfb_encrypt(in,out,8,(long)inl,ctx->cipher_data, [all...] |
H A D | e_idea.c | 79 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 D | e_seed.c | 79 SEED_set_key(key, ctx->cipher_data);
|
H A D | e_aes.c | 233 EVP_AES_KEY *dat = (EVP_AES_KEY *)ctx->cipher_data; 239 ret = aesni_set_decrypt_key(key, ctx->key_len*8, ctx->cipher_data); 246 ret = aesni_set_encrypt_key(key, ctx->key_len*8, ctx->cipher_data); 268 aesni_cbc_encrypt(in,out,len,ctx->cipher_data,ctx->iv,ctx->encrypt); 280 aesni_ecb_encrypt(in,out,len,ctx->cipher_data,ctx->encrypt); 308 EVP_AES_GCM_CTX *gctx = ctx->cipher_data; 349 EVP_AES_XTS_CTX *xctx = ctx->cipher_data; 392 EVP_AES_CCM_CTX *cctx = ctx->cipher_data; 500 EVP_AES_KEY *dat = (EVP_AES_KEY *)ctx->cipher_data; 577 EVP_AES_KEY *dat = (EVP_AES_KEY *)ctx->cipher_data; [all...] |
H A D | evp_enc.c | 179 ctx->cipher_data=OPENSSL_malloc(ctx->cipher->ctx_size); 180 if (!ctx->cipher_data) 188 ctx->cipher_data = NULL; 577 if (c->cipher_data) 578 OPENSSL_cleanse(c->cipher_data, c->cipher->ctx_size); 580 if (c->cipher_data) 581 OPENSSL_free(c->cipher_data); 666 if (in->cipher_data && in->cipher->ctx_size) 668 out->cipher_data=OPENSSL_malloc(in->cipher->ctx_size); 669 if (!out->cipher_data) [all...] |
H A D | e_camellia.c | 114 ret=Camellia_set_key(key, ctx->key_len * 8, ctx->cipher_data);
|
H A D | e_rc4.c | 77 #define data(ctx) ((EVP_RC4_KEY *)(ctx)->cipher_data)
|
H A 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, ctx->iv, &ctx->num);\ 91 cprefix##_ofb##cbits##_encrypt(in, out, (long)inl, &((kstruct *)ctx->cipher_data)->ksched, ctx->iv, &ctx->num);\ 100 cprefix##_cbc_encrypt(in, out, (long)EVP_MAXCHUNK, &((kstruct *)ctx->cipher_data)->ksched, ctx->iv, ctx->encrypt);\ 106 cprefix##_cbc_encrypt(in, out, (long)inl, &((kstruct *)ctx->cipher_data)->ksched, ctx->iv, ctx->encrypt);\ 118 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 D | e_xcbc_d.c | 82 #define data(ctx) ((DESX_CBC_KEY *)(ctx)->cipher_data)
|
H A D | e_rc2.c | 83 #define data(ctx) ((EVP_RC2_KEY *)(ctx)->cipher_data)
|
H A D | e_rc4_hmac_md5.c | 83 #define data(ctx) ((EVP_RC4_HMAC_MD5 *)(ctx)->cipher_data)
|
H A D | e_aes_cbc_hmac_sha1.c | 111 #define data(ctx) ((EVP_AES_HMAC_SHA1 *)(ctx)->cipher_data)
|
H A D | e_des3.c | 85 #define data(ctx) ((DES_EDE_KEY *)(ctx)->cipher_data)
|
H A D | evp.h | 315 int ctx_size; /* how big ctx->cipher_data needs to be */ 427 void *cipher_data; /* per EVP data */ member in struct:evp_cipher_ctx_st
|
/external/openssh/ |
H A D | cipher-acss.c | 28 #define data(ctx) ((EVP_ACSS_KEY *)(ctx)->cipher_data)
|
H A D | cipher.c | 404 #define EVP_X_STATE(evp) (evp).cipher_data
|
/external/openssl/crypto/engine/ |
H A D | eng_openssl.c | 228 #define test(ctx) ((TEST_RC4_KEY *)(ctx)->cipher_data)
|
H A D | eng_cryptodev.c | 368 struct dev_crypto_state *state = ctx->cipher_data; 421 struct dev_crypto_state *state = ctx->cipher_data; 463 struct dev_crypto_state *state = ctx->cipher_data;
|
/external/openssl/crypto/des/ |
H A D | destest.c | 164 static unsigned char cipher_data[NUM_TESTS][8]={ variable 418 if (memcmp(out,cipher_data[i],8) != 0) 421 i+1,pt(key_data[i]),pt(in),pt(cipher_data[i]),
|
/external/openssl/include/openssl/ |
H A D | evp.h | 315 int ctx_size; /* how big ctx->cipher_data needs to be */ 427 void *cipher_data; /* per EVP data */ member in struct:evp_cipher_ctx_st
|