Home
last modified time | relevance | path

Searched refs:gcm (Results 1 – 17 of 17) sorted by relevance

/openssl-master/providers/implementations/ciphers/
A Dcipher_aes_gcm_hw.c71 size_t res = (16 - ctx->gcm.mres) % 16; in generic_aes_gcm_cipher_update()
73 if (CRYPTO_gcm128_encrypt(&ctx->gcm, in, out, res)) in generic_aes_gcm_cipher_update()
77 ctx->gcm.key, in generic_aes_gcm_cipher_update()
78 ctx->gcm.Yi.c, ctx->gcm.Xi.u); in generic_aes_gcm_cipher_update()
80 ctx->gcm.len.u[1] += bulk; in generic_aes_gcm_cipher_update()
91 if (CRYPTO_gcm128_encrypt(&ctx->gcm, in, out, len)) in generic_aes_gcm_cipher_update()
100 size_t res = (16 - ctx->gcm.mres) % 16; in generic_aes_gcm_cipher_update()
106 ctx->gcm.key, in generic_aes_gcm_cipher_update()
107 ctx->gcm.Yi.c, ctx->gcm.Xi.u); in generic_aes_gcm_cipher_update()
109 ctx->gcm.len.u[1] += bulk; in generic_aes_gcm_cipher_update()
[all …]
A Dciphercommon_gcm_hw.c16 CRYPTO_gcm128_setiv(&ctx->gcm, iv, ivlen); in ossl_gcm_setiv()
23 return CRYPTO_gcm128_aad(&ctx->gcm, aad, aad_len) == 0; in ossl_gcm_aad_update()
30 if (CRYPTO_gcm128_encrypt(&ctx->gcm, in, out, len)) in ossl_gcm_cipher_update()
33 if (CRYPTO_gcm128_decrypt(&ctx->gcm, in, out, len)) in ossl_gcm_cipher_update()
42 CRYPTO_gcm128_tag(&ctx->gcm, tag, GCM_TAG_MAX_SIZE); in ossl_gcm_cipher_final()
45 if (CRYPTO_gcm128_finish(&ctx->gcm, tag, ctx->taglen) != 0) in ossl_gcm_cipher_final()
A Dcipher_aes_gcm.c46 IMPLEMENT_aead_cipher(aes, gcm, GCM, AEAD_FLAGS, 128, 8, 96);
48 IMPLEMENT_aead_cipher(aes, gcm, GCM, AEAD_FLAGS, 192, 8, 96);
50 IMPLEMENT_aead_cipher(aes, gcm, GCM, AEAD_FLAGS, 256, 8, 96);
A Dcipher_aria_gcm.c39 IMPLEMENT_aead_cipher(aria, gcm, GCM, AEAD_FLAGS, 128, 8, 96);
41 IMPLEMENT_aead_cipher(aria, gcm, GCM, AEAD_FLAGS, 192, 8, 96);
43 IMPLEMENT_aead_cipher(aria, gcm, GCM, AEAD_FLAGS, 256, 8, 96);
A Dcipher_sm4_gcm.c40 IMPLEMENT_aead_cipher(sm4, gcm, GCM, AEAD_FLAGS, 128, 8, 96);
A Dcipher_sm4_gcm_hw.c24 CRYPTO_gcm128_init(&ctx->gcm, ks, (block128_f)ossl_sm4_encrypt); in sm4_gcm_initkey()
/openssl-master/crypto/evp/
A De_aria.c36 GCM128_CONTEXT gcm; member
227 CRYPTO_gcm128_init(&gctx->gcm, &gctx->ks, in aria_gcm_init_key()
240 CRYPTO_gcm128_setiv(&gctx->gcm, iv, gctx->ivlen); in aria_gcm_init_key()
379 if (gctx->gcm.key) { in aria_gcm_ctrl()
380 if (gctx->gcm.key != &gctx->ks) in aria_gcm_ctrl()
382 gctx_out->gcm.key = &gctx_out->ks; in aria_gcm_ctrl()
474 if (CRYPTO_gcm128_aad(&gctx->gcm, in, len)) in aria_gcm_cipher()
488 if (CRYPTO_gcm128_finish(&gctx->gcm, in aria_gcm_cipher()
782 BLOCK_CIPHER_aead(NID_aria, 128, 1, 12, gcm, gcm, GCM, 0)
783 BLOCK_CIPHER_aead(NID_aria, 192, 1, 12, gcm, gcm, GCM, 0)
[all …]
A De_aes.c51 GCM128_CONTEXT gcm; member
2562 OPENSSL_cleanse(&gctx->gcm, sizeof(gctx->gcm)); in aes_gcm_cleanup()
2687 if (gctx->gcm.key) { in aes_gcm_ctrl()
2837 gctx->gcm.Yi.c, gctx->gcm.Xi.u); in aes_gcm_tls_cipher()
2855 gctx->gcm.Yi.c, gctx->gcm.Xi.u); in aes_gcm_tls_cipher()
2878 gctx->gcm.Yi.c, gctx->gcm.Xi.u); in aes_gcm_tls_cipher()
2896 gctx->gcm.Yi.c, gctx->gcm.Xi.u); in aes_gcm_tls_cipher()
2991 gctx->gcm.key, gctx->gcm.Yi.c, in aes_gcm_cipher()
3013 gctx->gcm.key, gctx->gcm.Yi.c, in aes_gcm_cipher()
3036 gctx->gcm.Yi.c, gctx->gcm.Xi.u); in aes_gcm_cipher()
[all …]
/openssl-master/test/recipes/30-test_evp_data/
A Devpciph_aes_common.txt636 Cipher = aes-128-gcm
644 Cipher = aes-128-gcm
653 Cipher = aes-128-gcm
662 Cipher = aes-128-gcm
671 Cipher = aes-128-gcm
679 Cipher = aes-128-gcm
687 Cipher = aes-128-gcm
697 Cipher = aes-192-gcm
705 Cipher = aes-192-gcm
714 Cipher = aes-192-gcm
[all …]
/openssl-master/crypto/modes/
A Dbuild.info7 $MODESASM_x86_64=ghash-x86_64.s aesni-gcm-x86_64.s
27 $MODESASM_aarch64=ghashv8-armx.S aes-gcm-armv8_64.S
68 GENERATE[aesni-gcm-x86_64.s]=asm/aesni-gcm-x86_64.pl
78 GENERATE[aes-gcm-armv8_64.S]=asm/aes-gcm-armv8_64.pl
79 INCLUDE[aes-gcm-armv8_64.o]=..
/openssl-master/providers/implementations/include/prov/
A Dciphercommon_gcm.h76 GCM128_CONTEXT gcm; member
127 CRYPTO_gcm128_init(&ctx->gcm, ks, (block128_f)fn_block); \
/openssl-master/include/crypto/
A Daes_platform.h107 (gctx)->gcm.ghash==gcm_ghash_v8)
229 ctx->gcm.ghash == gcm_ghash_avx)
/openssl-master/crypto/objects/
A Dobjects.txt942 aes 6 : id-aes128-GCM : aes-128-gcm
953 aes 26 : id-aes192-GCM : aes-192-gcm
964 aes 46 : id-aes256-GCM : aes-256-gcm
1471 camellia 6 : CAMELLIA-128-GCM : camellia-128-gcm
1481 camellia 26 : CAMELLIA-192-GCM : camellia-192-gcm
1491 camellia 46 : CAMELLIA-256-GCM : camellia-256-gcm
1543 aria 34 : ARIA-128-GCM : aria-128-gcm
1544 aria 35 : ARIA-192-GCM : aria-192-gcm
1545 aria 36 : ARIA-256-GCM : aria-256-gcm
1569 sm-scheme 104 8 : SM4-GCM : sm4-gcm
/openssl-master/providers/
A Dfips.module.sources225 crypto/modes/asm/aes-gcm-armv8_64.pl
226 crypto/modes/asm/aesni-gcm-x86_64.pl
A Dfips-sources.checksums225 183bdca6f855182d7d2c78a5c961b34283f85ea69ac828b700605ee82546397d crypto/modes/asm/aes-gcm-armv8_64…
226 1d686af304f94743038f916125effcb51790c025f3165d8d37b526bbeee781f0 crypto/modes/asm/aesni-gcm-x86_64…
/openssl-master/crypto/err/
A Dopenssl.txt656 EVP_R_CIPHER_NOT_GCM_MODE:184:cipher not gcm mode
/openssl-master/
A DCHANGES.md2058 cryptographic primitives: sha3, shake, aes-gcm, aes-ccm, aes-ctr, aes-ofb,

Completed in 46 milliseconds