Home
last modified time | relevance | path

Searched refs:actx (Results 1 – 22 of 22) sorted by relevance

/openssl/crypto/evp/
H A De_chacha20_poly1305.c165 # define POLY1305_ctx(actx) ((POLY1305 *)(actx + 1)) argument
192 actx->nonce[0] = actx->key.counter[1]; in chacha20_poly1305_init_key()
193 actx->nonce[1] = actx->key.counter[2]; in chacha20_poly1305_init_key()
194 actx->nonce[2] = actx->key.counter[3]; in chacha20_poly1305_init_key()
378 Poly1305_Init(POLY1305_ctx(actx), actx->key.buf); in chacha20_poly1305_cipher()
381 actx->len.aad = actx->len.text = 0; in chacha20_poly1305_cipher()
491 if (actx) in chacha20_poly1305_cleanup()
546 actx->nonce[0] = actx->key.counter[1] in chacha20_poly1305_ctrl()
548 actx->nonce[1] = actx->key.counter[2] in chacha20_poly1305_ctrl()
550 actx->nonce[2] = actx->key.counter[3] in chacha20_poly1305_ctrl()
[all …]
/openssl/providers/implementations/ciphers/
H A Dcipher_aes_gcm_hw_s390x.inc45 actx->plat.s390x.mreslen = 0;
46 actx->plat.s390x.areslen = 0;
47 actx->plat.s390x.kreslen = 0;
53 actx->plat.s390x.hsflag = 0;
95 s390x_kma(actx->plat.s390x.ares, actx->plat.s390x.areslen,
96 actx->plat.s390x.mres, actx->plat.s390x.mreslen, out,
161 n = actx->plat.s390x.areslen;
176 actx->plat.s390x.areslen = n;
227 n = actx->plat.s390x.mreslen;
239 s390x_kma(actx->plat.s390x.ares, actx->plat.s390x.areslen,
[all …]
H A Dcipher_aes_gcm_hw_rv64i.inc21 PROV_AES_GCM_CTX *actx = (PROV_AES_GCM_CTX *)ctx;
22 AES_KEY *ks = &actx->ks.ks;
43 PROV_AES_GCM_CTX *actx = (PROV_AES_GCM_CTX *)ctx;
44 AES_KEY *ks = &actx->ks.ks;
76 PROV_AES_GCM_CTX *actx = (PROV_AES_GCM_CTX *)ctx;
77 AES_KEY *ks = &actx->ks.ks;
H A Dcipher_aria_ccm_hw.c19 PROV_ARIA_CCM_CTX *actx = (PROV_ARIA_CCM_CTX *)ctx; in ccm_aria_initkey() local
21 ossl_aria_set_encrypt_key(key, keylen * 8, &actx->ks.ks); in ccm_aria_initkey()
22 CRYPTO_ccm128_init(&ctx->ccm_ctx, ctx->m, ctx->l, &actx->ks.ks, in ccm_aria_initkey()
H A Dcipher_aes_gcm_hw_rv32i.inc18 PROV_AES_GCM_CTX *actx = (PROV_AES_GCM_CTX *)ctx;
19 AES_KEY *ks = &actx->ks.ks;
30 PROV_AES_GCM_CTX *actx = (PROV_AES_GCM_CTX *)ctx;
31 AES_KEY *ks = &actx->ks.ks;
H A Dcipher_sm4_ccm_hw.c18 fn_set_enc_key(key, &actx->ks.ks); \
19 CRYPTO_ccm128_init(&ctx->ccm_ctx, ctx->m, ctx->l, &actx->ks.ks, \
27 PROV_SM4_CCM_CTX *actx = (PROV_SM4_CCM_CTX *)ctx; in ccm_sm4_initkey() local
H A Dcipher_aes_ccm_hw.c21 fn_set_enc_key(key, keylen * 8, &actx->ccm.ks.ks); \
22 CRYPTO_ccm128_init(&ctx->ccm_ctx, ctx->m, ctx->l, &actx->ccm.ks.ks, \
30 PROV_AES_CCM_CTX *actx = (PROV_AES_CCM_CTX *)ctx; in ccm_generic_aes_initkey() local
H A Dcipher_aria_gcm_hw.c19 PROV_ARIA_GCM_CTX *actx = (PROV_ARIA_GCM_CTX *)ctx; in aria_gcm_initkey() local
20 ARIA_KEY *ks = &actx->ks.ks; in aria_gcm_initkey()
H A Dcipher_sm4_gcm_hw_rv64i.inc19 PROV_SM4_GCM_CTX *actx = (PROV_SM4_GCM_CTX *)ctx;
20 SM4_KEY *ks = &actx->ks.ks;
H A Dcipher_aes_gcm_hw_aesni.inc18 PROV_AES_GCM_CTX *actx = (PROV_AES_GCM_CTX *)ctx;
19 AES_KEY *ks = &actx->ks.ks;
H A Dcipher_sm4_gcm_hw.c26 PROV_SM4_GCM_CTX *actx = (PROV_SM4_GCM_CTX *)ctx; in sm4_gcm_initkey() local
27 SM4_KEY *ks = &actx->ks.ks; in sm4_gcm_initkey()
H A Dcipher_aes_gcm_hw_t4.inc19 PROV_AES_GCM_CTX *actx = (PROV_AES_GCM_CTX *)ctx;
20 AES_KEY *ks = &actx->ks.ks;
H A Dcipher_aes_ccm_hw_rv32i.inc18 PROV_AES_CCM_CTX *actx = (PROV_AES_CCM_CTX *)ctx;
28 PROV_AES_CCM_CTX *actx = (PROV_AES_CCM_CTX *)ctx;
H A Dcipher_aes_ccm_hw_rv64i.inc18 PROV_AES_CCM_CTX *actx = (PROV_AES_CCM_CTX *)ctx;
42 PROV_AES_CCM_CTX *actx = (PROV_AES_CCM_CTX *)ctx;
H A Dcipher_aes_gcm_hw.c23 PROV_AES_GCM_CTX *actx = (PROV_AES_GCM_CTX *)ctx; in aes_gcm_initkey() local
24 AES_KEY *ks = &actx->ks.ks; in aes_gcm_initkey()
H A Dcipher_aes_gcm_hw_armv8.inc86 PROV_AES_GCM_CTX *actx = (PROV_AES_GCM_CTX *)ctx;
87 AES_KEY *ks = &actx->ks.ks;
H A Dcipher_aes_ccm_hw_aesni.inc18 PROV_AES_CCM_CTX *actx = (PROV_AES_CCM_CTX *)ctx;
H A Dcipher_aes_ccm_hw_t4.inc18 PROV_AES_CCM_CTX *actx = (PROV_AES_CCM_CTX *)ctx;
H A Dcipher_aes_gcm_hw_ppc.inc18 PROV_AES_GCM_CTX *actx = (PROV_AES_GCM_CTX *)ctx;
19 AES_KEY *ks = &actx->ks.ks;
H A Dcipher_sm4_ccm_hw_rv64i.inc19 PROV_SM4_CCM_CTX *actx = (PROV_SM4_CCM_CTX *)ctx;
H A Dcipher_aes_gcm_hw_vaes_avx512.inc48 PROV_AES_GCM_CTX *actx = (PROV_AES_GCM_CTX *)ctx;
49 AES_KEY *ks = &actx->ks.ks;
/openssl/engines/
H A De_afalg.c446 actx->bfd = actx->sfd = -1; in afalg_create_sk()
467 actx->sfd = accept(actx->bfd, NULL, 0); in afalg_create_sk()
481 actx->bfd = actx->sfd = -1; in afalg_create_sk()
547 ret = splice(actx->zc_pipe[0], NULL, actx->sfd, NULL, inl, 0); in afalg_start_cipher_sk()
579 afalg_ctx *actx; in afalg_cipher_init() local
641 close(actx->sfd); in afalg_cipher_init()
649 afalg_ctx *actx; in afalg_do_cipher() local
660 if (actx == NULL || actx->init_done != MAGIC_INIT_NUM) { in afalg_do_cipher()
683 ret = afalg_fin_cipher_aio(&actx->aio, actx->sfd, out, inl); in afalg_do_cipher()
699 afalg_ctx *actx; in afalg_cipher_cleanup() local
[all …]

Completed in 34 milliseconds