Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/fipsmodule/cipher/
De_des.c75 EVP_DES_KEY *dat = (EVP_DES_KEY *)ctx->cipher_data; in des_init_key()
83 EVP_DES_KEY *dat = (EVP_DES_KEY *)ctx->cipher_data; in des_cbc_cipher()
110 EVP_DES_KEY *dat = (EVP_DES_KEY *) ctx->cipher_data; in des_ecb_cipher()
140 DES_EDE_KEY *dat = (DES_EDE_KEY*) ctx->cipher_data; in des_ede3_init_key()
151 DES_EDE_KEY *dat = (DES_EDE_KEY*) ctx->cipher_data; in des_ede3_cbc_cipher()
174 DES_EDE_KEY *dat = (DES_EDE_KEY *) ctx->cipher_data; in des_ede_init_key()
202 DES_EDE_KEY *dat = (DES_EDE_KEY *) ctx->cipher_data; in des_ede_ecb_cipher()
Dcipher.c86 OPENSSL_free(c->cipher_data); in EVP_CIPHER_CTX_cleanup()
108 if (in->cipher_data && in->cipher->ctx_size) { in EVP_CIPHER_CTX_copy()
109 out->cipher_data = OPENSSL_malloc(in->cipher->ctx_size); in EVP_CIPHER_CTX_copy()
110 if (!out->cipher_data) { in EVP_CIPHER_CTX_copy()
115 OPENSSL_memcpy(out->cipher_data, in->cipher_data, in->cipher->ctx_size); in EVP_CIPHER_CTX_copy()
157 ctx->cipher_data = OPENSSL_malloc(ctx->cipher->ctx_size); in EVP_CipherInit_ex()
158 if (!ctx->cipher_data) { in EVP_CipherInit_ex()
164 ctx->cipher_data = NULL; in EVP_CipherInit_ex()
De_aes.c101 EVP_AES_KEY *dat = (EVP_AES_KEY *)ctx->cipher_data; in aes_init_key()
178 EVP_AES_KEY *dat = (EVP_AES_KEY *)ctx->cipher_data; in aes_cbc_cipher()
194 EVP_AES_KEY *dat = (EVP_AES_KEY *)ctx->cipher_data; in aes_ecb_cipher()
210 EVP_AES_KEY *dat = (EVP_AES_KEY *)ctx->cipher_data; in aes_ctr_cipher()
224 EVP_AES_KEY *dat = (EVP_AES_KEY *)ctx->cipher_data; in aes_ofb_cipher()
299 char *ptr = ctx->cipher_data; in aes_gcm_from_cipher_ctx()
748 aes_hw_ecb_encrypt(in, out, len, ctx->cipher_data, ctx->encrypt); in aes_hw_ecb_cipher()
/external/boringssl/src/crypto/cipher_extra/
De_rc4.c67 RC4_KEY *rc4key = (RC4_KEY *)ctx->cipher_data; in rc4_init_key()
75 RC4_KEY *rc4key = (RC4_KEY *)ctx->cipher_data; in rc4_cipher()
De_rc2.c387 EVP_RC2_KEY *rc2_key = (EVP_RC2_KEY *)ctx->cipher_data; in rc2_init_key()
395 EVP_RC2_KEY *key = (EVP_RC2_KEY *)ctx->cipher_data; in rc2_cbc_cipher()
411 EVP_RC2_KEY *key = (EVP_RC2_KEY *)ctx->cipher_data; in rc2_ctrl()
/external/boringssl/src/decrepit/xts/
Dxts.c160 EVP_AES_XTS_CTX *xctx = ctx->cipher_data; in aes_xts_init_key()
191 EVP_AES_XTS_CTX *xctx = ctx->cipher_data; in aes_xts_cipher()
204 EVP_AES_XTS_CTX *xctx = c->cipher_data; in aes_xts_ctrl()
207 EVP_AES_XTS_CTX *xctx_out = out->cipher_data; in aes_xts_ctrl()
/external/boringssl/src/decrepit/cfb/
Dcfb.c31 EVP_CFB_CTX *cfb_ctx = ctx->cipher_data; in aes_cfb_init_key()
44 EVP_CFB_CTX *cfb_ctx = ctx->cipher_data; in aes_cfb128_cipher()
/external/boringssl/src/decrepit/blowfish/
Dblowfish.c559 BF_KEY *bf_key = ctx->cipher_data; in bf_init_key()
566 BF_KEY *bf_key = ctx->cipher_data; in bf_ecb_cipher()
581 BF_KEY *bf_key = ctx->cipher_data; in bf_cbc_cipher()
588 BF_KEY *bf_key = ctx->cipher_data; in bf_cfb_cipher()
/external/boringssl/src/decrepit/cast/
Dcast.c417 CAST_KEY *cast_key = ctx->cipher_data; in cast_init_key()
424 CAST_KEY *cast_key = ctx->cipher_data; in cast_ecb_cipher()
439 CAST_KEY *cast_key = ctx->cipher_data; in cast_cbc_cipher()
/external/boringssl/src/include/openssl/
Dcipher.h502 void *cipher_data; member
/external/openssh/
Dcipher.c692 #define EVP_X_STATE(evp) (evp)->cipher_data