Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/cipher/
De_des.c74 EVP_DES_KEY *dat = (EVP_DES_KEY *)ctx->cipher_data; in des_init_key()
82 EVP_DES_KEY *dat = (EVP_DES_KEY *)ctx->cipher_data; in des_cbc_cipher()
106 EVP_DES_KEY *dat = (EVP_DES_KEY *) ctx->cipher_data; in des_ecb_cipher()
135 DES_EDE_KEY *dat = (DES_EDE_KEY*) ctx->cipher_data; in des_ede3_init_key()
146 DES_EDE_KEY *dat = (DES_EDE_KEY*) ctx->cipher_data; in des_ede3_cbc_cipher()
166 DES_EDE_KEY *dat = (DES_EDE_KEY *) ctx->cipher_data; in des_ede_init_key()
191 DES_EDE_KEY *dat = (DES_EDE_KEY *) ctx->cipher_data; in des_ede_ecb_cipher()
Dcipher.c107 OPENSSL_cleanse(c->cipher_data, c->cipher->ctx_size); in EVP_CIPHER_CTX_cleanup()
109 OPENSSL_free(c->cipher_data); in EVP_CIPHER_CTX_cleanup()
131 if (in->cipher_data && in->cipher->ctx_size) { in EVP_CIPHER_CTX_copy()
132 out->cipher_data = OPENSSL_malloc(in->cipher->ctx_size); in EVP_CIPHER_CTX_copy()
133 if (!out->cipher_data) { in EVP_CIPHER_CTX_copy()
137 memcpy(out->cipher_data, in->cipher_data, in->cipher->ctx_size); in EVP_CIPHER_CTX_copy()
171 ctx->cipher_data = OPENSSL_malloc(ctx->cipher->ctx_size); in EVP_CipherInit_ex()
172 if (!ctx->cipher_data) { in EVP_CipherInit_ex()
178 ctx->cipher_data = NULL; in EVP_CipherInit_ex()
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_aes.c294 EVP_AES_KEY *dat = (EVP_AES_KEY *)ctx->cipher_data; in aes_init_key()
355 EVP_AES_KEY *dat = (EVP_AES_KEY *)ctx->cipher_data; in aes_cbc_cipher()
372 EVP_AES_KEY *dat = (EVP_AES_KEY *)ctx->cipher_data; in aes_ecb_cipher()
388 EVP_AES_KEY *dat = (EVP_AES_KEY *)ctx->cipher_data; in aes_ctr_cipher()
403 EVP_AES_KEY *dat = (EVP_AES_KEY *)ctx->cipher_data; in aes_ofb_cipher()
471 EVP_AES_GCM_CTX *gctx = ctx->cipher_data; in aes_gcm_init_key()
501 EVP_AES_GCM_CTX *gctx = c->cipher_data; in aes_gcm_cleanup()
525 EVP_AES_GCM_CTX *gctx = c->cipher_data; in aes_gcm_ctrl()
617 EVP_AES_GCM_CTX *gctx_out = out->cipher_data; in aes_gcm_ctrl()
637 EVP_AES_GCM_CTX *gctx = ctx->cipher_data; in aes_gcm_cipher()
[all …]
De_rc2.c368 EVP_RC2_KEY *rc2_key = (EVP_RC2_KEY *)ctx->cipher_data; in rc2_init_key()
376 EVP_RC2_KEY *key = (EVP_RC2_KEY *)ctx->cipher_data; in rc2_cbc_cipher()
392 EVP_RC2_KEY *key = (EVP_RC2_KEY *)ctx->cipher_data; in rc2_ctrl()
De_ssl3.c306 *out_key = (RC4_KEY*) ssl3_ctx->cipher_ctx.cipher_data; in aead_ssl3_get_rc4_state()
De_tls.c441 *out_key = (const RC4_KEY*) tls_ctx->cipher_ctx.cipher_data; in aead_rc4_tls_get_rc4_state()
/external/boringssl/src/decrepit/xts/
Dxts.c180 EVP_AES_XTS_CTX *xctx = ctx->cipher_data; in aes_xts_init_key()
211 EVP_AES_XTS_CTX *xctx = ctx->cipher_data; in aes_xts_cipher()
224 EVP_AES_XTS_CTX *xctx = c->cipher_data; in aes_xts_ctrl()
227 EVP_AES_XTS_CTX *xctx_out = out->cipher_data; in aes_xts_ctrl()
/external/boringssl/src/include/openssl/
Dcipher.h456 void *cipher_data; member