Home
last modified time | relevance | path

Searched refs:EVP_C_DATA (Results 1 – 13 of 13) sorted by relevance

/freebsd/crypto/openssl/crypto/evp/
H A De_camellia.c44 #define data(ctx) EVP_C_DATA(EVP_CAMELLIA_KEY, ctx)
200 EVP_CAMELLIA_KEY *dat = EVP_C_DATA(EVP_CAMELLIA_KEY, ctx); in camellia_init_key()
225 EVP_CAMELLIA_KEY *dat = EVP_C_DATA(EVP_CAMELLIA_KEY, ctx); in camellia_cbc_cipher()
243 EVP_CAMELLIA_KEY *dat = EVP_C_DATA(EVP_CAMELLIA_KEY, ctx); in camellia_ecb_cipher()
257 EVP_CAMELLIA_KEY *dat = EVP_C_DATA(EVP_CAMELLIA_KEY, ctx); in camellia_ofb_cipher()
268 EVP_CAMELLIA_KEY *dat = EVP_C_DATA(EVP_CAMELLIA_KEY, ctx); in camellia_cfb_cipher()
280 EVP_CAMELLIA_KEY *dat = EVP_C_DATA(EVP_CAMELLIA_KEY, ctx); in camellia_cfb8_cipher()
292 EVP_CAMELLIA_KEY *dat = EVP_C_DATA(EVP_CAMELLIA_KEY, ctx); in camellia_cfb1_cipher()
331 EVP_CAMELLIA_KEY *dat = EVP_C_DATA(EVP_CAMELLIA_KEY, ctx); in camellia_ctr_cipher()
H A De_idea.c45 IDEA_ecb_encrypt(in + i, out + i, &EVP_C_DATA(EVP_IDEA_KEY, ctx)->ks); in idea_ecb_cipher()
67 IDEA_set_encrypt_key(key, &EVP_C_DATA(EVP_IDEA_KEY, ctx)->ks); in BLOCK_CIPHER_func_cbc()
72 IDEA_set_decrypt_key(&tmp, &EVP_C_DATA(EVP_IDEA_KEY, ctx)->ks); in BLOCK_CIPHER_func_cbc()
H A De_sm4.c63 EVP_SM4_KEY *dat = EVP_C_DATA(EVP_SM4_KEY, ctx); in sm4_init_key()
145 EVP_SM4_KEY *dat = EVP_C_DATA(EVP_SM4_KEY, ctx); in sm4_cbc_cipher()
162 EVP_SM4_KEY *dat = EVP_C_DATA(EVP_SM4_KEY, ctx); in sm4_cfb_cipher()
177 EVP_SM4_KEY *dat = EVP_C_DATA(EVP_SM4_KEY, ctx); in sm4_ecb_cipher()
195 EVP_SM4_KEY *dat = EVP_C_DATA(EVP_SM4_KEY, ctx); in sm4_ofb_cipher()
209 EVP_SM4_KEY *dat = EVP_C_DATA(EVP_SM4_KEY, ctx); in sm4_ctr_cipher()
H A De_aes.c147 EVP_AES_KEY *dat = EVP_C_DATA(EVP_AES_KEY, ctx); in aesni_init_key()
182 aesni_cbc_encrypt(in, out, len, &EVP_C_DATA(EVP_AES_KEY, ctx)->ks.ks, in aesni_cbc_cipher()
196 aesni_ecb_encrypt(in, out, len, &EVP_C_DATA(EVP_AES_KEY, ctx)->ks.ks, in aesni_ecb_cipher()
225 EVP_AES_GCM_CTX *gctx = EVP_C_DATA(EVP_AES_GCM_CTX, ctx); in aesni_gcm_init_key()
269 EVP_AES_XTS_CTX *xctx = EVP_C_DATA(EVP_AES_XTS_CTX, ctx); in aesni_xts_init_key()
328 EVP_AES_CCM_CTX *cctx = EVP_C_DATA(EVP_AES_CCM_CTX, ctx); in aesni_ccm_init_key()
361 EVP_AES_OCB_CTX *octx = EVP_C_DATA(EVP_AES_OCB_CTX, ctx); in aesni_ocb_init_key()
481 EVP_AES_KEY *dat = EVP_C_DATA(EVP_AES_KEY, ctx); in aes_t4_init_key()
580 EVP_AES_GCM_CTX *gctx = EVP_C_DATA(EVP_AES_GCM_CTX, ctx); in aes_t4_gcm_init_key()
636 EVP_AES_XTS_CTX *xctx = EVP_C_DATA(EVP_AES_XTS_CTX, ctx); in aes_t4_xts_init_key()
[all …]
H A De_aria.c183 EVP_ARIA_KEY *dat = EVP_C_DATA(EVP_ARIA_KEY, ctx); in aria_ctr_cipher()
222 EVP_ARIA_GCM_CTX *gctx = EVP_C_DATA(EVP_ARIA_GCM_CTX, ctx); in aria_gcm_init_key()
261 EVP_ARIA_GCM_CTX *gctx = EVP_C_DATA(EVP_ARIA_GCM_CTX, c); in aria_gcm_ctrl()
377 EVP_ARIA_GCM_CTX *gctx_out = EVP_C_DATA(EVP_ARIA_GCM_CTX, out); in aria_gcm_ctrl()
401 EVP_ARIA_GCM_CTX *gctx = EVP_C_DATA(EVP_ARIA_GCM_CTX, ctx); in aria_gcm_tls_cipher()
457 EVP_ARIA_GCM_CTX *gctx = EVP_C_DATA(EVP_ARIA_GCM_CTX, ctx); in aria_gcm_cipher()
501 EVP_ARIA_GCM_CTX *gctx = EVP_C_DATA(EVP_ARIA_GCM_CTX, ctx); in aria_gcm_cleanup()
513 EVP_ARIA_CCM_CTX *cctx = EVP_C_DATA(EVP_ARIA_CCM_CTX, ctx); in aria_ccm_init_key()
540 EVP_ARIA_CCM_CTX *cctx = EVP_C_DATA(EVP_ARIA_CCM_CTX, c); in aria_ccm_ctrl()
622 EVP_ARIA_CCM_CTX *cctx_out = EVP_C_DATA(EVP_ARIA_CCM_CTX, out); in aria_ccm_ctrl()
[all …]
H A De_seed.c39 SEED_set_key(key, &EVP_C_DATA(EVP_SEED_KEY, ctx)->ks); in seed_init_key()
H A De_bf.c32 #define data(ctx) EVP_C_DATA(EVP_BF_KEY, ctx)
H A De_cast.c33 #define data(ctx) EVP_C_DATA(EVP_CAST_KEY, ctx)
H A De_rc5.c36 #define data(ctx) EVP_C_DATA(EVP_RC5_KEY, ctx)
H A De_xcbc_d.c38 #define data(ctx) EVP_C_DATA(DESX_CBC_KEY, ctx)
H A De_rc2.c40 #define data(ctx) EVP_C_DATA(EVP_RC2_KEY, ctx)
H A De_des3.c62 #define data(ctx) EVP_C_DATA(DES_EDE_KEY, ctx)
/freebsd/crypto/openssl/include/crypto/
H A Devp.h365 #define EVP_C_DATA(kstruct, ctx) \ macro
380 …cprefix##_ecb_encrypt(in + i, out + i, &EVP_C_DATA(kstruct, ctx)->ksched, EVP_CIPHER_CTX_is_encryp…
391 …cprefix##_ofb##cbits##_encrypt(in, out, (long)EVP_MAXCHUNK, &EVP_C_DATA(kstruct, ctx)->ksched, ctx…
399 …cprefix##_ofb##cbits##_encrypt(in, out, (long)inl, &EVP_C_DATA(kstruct, ctx)->ksched, ctx->iv, &nu…
409 …cprefix##_cbc_encrypt(in, out, (long)EVP_MAXCHUNK, &EVP_C_DATA(kstruct, ctx)->ksched, ctx->iv, EVP…
415 …cprefix##_cbc_encrypt(in, out, (long)inl, &EVP_C_DATA(kstruct, ctx)->ksched, ctx->iv, EVP_CIPHER_C…
430 …&EVP_C_DATA(kstruct, ctx)->ksched, ctx->iv, …