Home
last modified time | relevance | path

Searched +full:aes +full:- +full:gcm (Results 1 – 25 of 241) sorted by relevance

12345678910

/freebsd/crypto/openssl/test/recipes/30-test_evp_data/
H A Devpciph_aes_common.txt2 # Copyright 2001-2023 The OpenSSL Project Authors. All Rights Reserved.
16 Title = AES (from FIPS-197 test vectors)
18 Cipher = AES-128-ECB
24 # AES 192 ECB tests (from FIPS-197 test vectors, encrypt)
26 Cipher = AES-192-ECB
33 # AES 256 ECB tests (from FIPS-197 test vectors, encrypt)
35 Cipher = AES-256-ECB
42 # AES 128 ECB tests (from NIST test vectors, encrypt)
44 #AES-128-ECB:00000000000000000000000000000000::00000000000000000000000000000000:C34C052CC0DA8D73451…
46 # AES 128 ECB tests (from NIST test vectors, decrypt)
[all …]
H A Devpciph_aes_gcm_siv.txt2 # Copyright 2018-2025 The OpenSSL Project Authors. All Rights Reserved.
14 Title = RFC8452 AES-GCM-SIV
17 Cipher = aes-128-gcm-siv
26 Cipher = aes-128-gcm-siv
35 Cipher = aes-128-gcm-siv
44 Cipher = aes-128-gcm-siv
53 Cipher = aes-128-gcm-siv
62 Cipher = aes-128-gcm-siv
71 Cipher = aes-128-gcm-siv
80 Cipher = aes-128-gcm-siv
[all …]
H A Devpmac_common.txt2 # Copyright 2001-2024 The OpenSSL Project Authors. All Rights Reserved.
72 Algorithm = SHA256-192
81 Algorithm = SHA256-192
88 Algorithm = SHA256-192
178 Algorithm = SHA3-224
186 Algorithm = SHA3-224
192 Algorithm = SHA3-224
198 Algorithm = SHA3-256
206 Algorithm = SHA3-256
212 Algorithm = SHA3-256
[all …]
/freebsd/crypto/openssl/crypto/modes/
H A Dbuild.info4 IF[{- !$disabled{asm} -}]
5 $MODESASM_x86=ghash-x86.S
7 $MODESASM_x86_64=ghash-x86_64.s aesni-gcm-x86_64.s aes-gcm-avx512.s
10 # ghash-ia64.s doesn't work on VMS
11 IF[{- $config{target} !~ /^vms-/ -}]
12 $MODESASM_ia64=ghash-ia64.s
16 $MODESASM_sparcv9=ghash-sparcv9.S
19 $MODESASM_alpha=ghash-alpha.S
22 $MODESASM_s390x=ghash-s390x.S
25 $MODESASM_armv4=ghash-armv4.S ghashv8-armx.S
[all …]
/freebsd/secure/lib/libcrypto/man/man7/
H A DEVP_CIPHER-AES.71 .\" -*- mode: troff; coding: utf-8 -*-
57 .IX Title "EVP_CIPHER-AES 7ossl"
58 .TH EVP_CIPHER-AES 7ossl 2025-09-30 3.5.4 OpenSSL
64 EVP_CIPHER\-AES \- The AES EVP_CIPHER implementations
67 Support for AES symmetric encryption using the \fBEVP_CIPHER\fR API.
72 .IP """AES\-128\-CBC"", ""AES\-192\-CBC"" and ""AES\-256\-CBC""" 4
73 .IX Item """AES-128-CBC"", ""AES-192-CBC"" and ""AES-256-CBC"""
75 .IP """AES\-128\-CBC\-CTS"", ""AES\-192\-CBC\-CTS"" and ""AES\-256\-CBC\-CTS""" 4
76 .IX Item """AES-128-CBC-CTS"", ""AES-192-CBC-CTS"" and ""AES-256-CBC-CTS"""
77AES\-128\-CFB"", ""AES\-192\-CFB"", ""AES\-256\-CFB"", ""AES\-128\-CFB1"", ""AES\-192\-CFB1"", ""A…
[all …]
H A DEVP_CIPHER-ARIA.71 .\" -*- mode: troff; coding: utf-8 -*-
57 .IX Title "EVP_CIPHER-ARIA 7ossl"
58 .TH EVP_CIPHER-ARIA 7ossl 2025-09-30 3.5.4 OpenSSL
64 EVP_CIPHER\-ARIA \- The ARIA EVP_CIPHER implementations
71 .IP """ARIA\-128\-CBC"", ""ARIA\-192\-CBC"" and ""ARIA\-256\-CBC""" 4
72 .IX Item """ARIA-128-CBC"", ""ARIA-192-CBC"" and ""ARIA-256-CBC"""
74-128\-CFB"", ""ARIA\-192\-CFB"", ""ARIA\-256\-CFB"", ""ARIA\-128\-CFB1"", ""ARIA\-192\-CFB1"", ""A…
75-128-CFB"", ""ARIA-192-CFB"", ""ARIA-256-CFB"", ""ARIA-128-CFB1"", ""ARIA-192-CFB1"", ""ARIA-256-C…
76 .IP """ARIA\-128\-CTR"", ""ARIA\-192\-CTR"" and ""ARIA\-256\-CTR""" 4
77 .IX Item """ARIA-128-CTR"", ""ARIA-192-CTR"" and ""ARIA-256-CTR"""
[all …]
/freebsd/crypto/openssl/doc/man7/
H A DEVP_CIPHER-AES.pod5 EVP_CIPHER-AES - The AES EVP_CIPHER implementations
9 Support for AES symmetric encryption using the B<EVP_CIPHER> API.
18 =item "AES-128-CBC", "AES-192-CBC" and "AES-256-CBC"
20 =item "AES-128-CBC-CTS", "AES-192-CBC-CTS" and "AES-256-CBC-CTS"
22 =item "AES-128-CFB", "AES-192-CFB", "AES-256-CFB",
23 "AES-128-CFB1", "AES-192-CFB1", "AES-256-CFB1",
24 "AES-128-CFB8", "AES-192-CFB8" and "AES-256-CFB8"
26 =item "AES-128-CTR", "AES-192-CTR" and "AES-256-CTR"
28 =item "AES-128-ECB", "AES-192-ECB" and "AES-256-ECB"
30 =item "AES-192-OFB", "AES-128-OFB" and "AES-256-OFB"
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_create/
H A Dzpool_create_crypt_combos.ksh1 #!/bin/ksh -p
2 # SPDX-License-Identifier: CDDL-1.0
44 set -A ENCRYPTION_ALGS "encryption=on" \
45 "encryption=aes-128-ccm" \
46 "encryption=aes-192-ccm" \
47 "encryption=aes-256-ccm" \
48 "encryption=aes-128-gcm" \
49 "encryption=aes-192-gcm" \
50 "encryption=aes-256-gcm"
52 set -A ENCRYPTION_PROPS "encryption=aes-256-gcm" \
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_create/
H A Dzfs_create_crypt_combos.ksh1 #!/bin/ksh -p
2 # SPDX-License-Identifier: CDDL-1.0
42 destroy_dataset $TESTPOOL/$TESTFS1 -f
47 set -A ENCRYPTION_ALGS \
49 "encryption=aes-128-ccm" \
50 "encryption=aes-192-ccm" \
51 "encryption=aes-256-ccm" \
52 "encryption=aes-128-gcm" \
53 "encryption=aes-192-gcm" \
54 "encryption=aes-256-gcm"
[all …]
/freebsd/crypto/openssl/providers/implementations/ciphers/
H A Dcipher_aes_gcm.c2 * Copyright 2019-2023 The OpenSSL Project Authors. All Rights Reserved.
11 * AES low level APIs are deprecated for public use, but still ok for internal
17 /* Dispatch functions for AES GCM mode */
32 ossl_gcm_initctx(provctx, &ctx->base, keybits, in aes_gcm_newctx()
49 if (dctx != NULL && dctx->base.gcm.key != NULL) in aes_gcm_dupctx()
50 dctx->base.gcm.key = &dctx->ks.ks; in aes_gcm_dupctx()
64 IMPLEMENT_aead_cipher(aes, gcm, GCM, AEAD_FLAGS, 128, 8, 96);
66 IMPLEMENT_aead_cipher(aes, gcm, GCM, AEAD_FLAGS, 192, 8, 96);
68 IMPLEMENT_aead_cipher(aes, gcm, GCM, AEAD_FLAGS, 256, 8, 96);
H A Dcipher_aes_gcm_hw.c2 * Copyright 2019-2024 The OpenSSL Project Authors. All Rights Reserved.
10 /* Dispatch functions for AES GCM mode */
13 * This file uses the low level AES functions (which are deprecated for
14 * non-internal use) in order to implement provider AES ciphers.
24 AES_KEY *ks = &actx->ks.ks; in aes_gcm_initkey()
64 if (ctx->enc) { in generic_aes_gcm_cipher_update()
65 if (ctx->ctr != NULL) { in generic_aes_gcm_cipher_update()
70 size_t res = (16 - ctx->gcm.mres) % 16; in generic_aes_gcm_cipher_update()
72 if (CRYPTO_gcm128_encrypt(&ctx->gcm, in, out, res)) in generic_aes_gcm_cipher_update()
75 bulk = AES_gcm_encrypt(in + res, out + res, len - res, in generic_aes_gcm_cipher_update()
[all …]
H A Dcipher_aes_gcm_hw_rv64i.inc2 * Copyright 2022-2023 The OpenSSL Project Authors. All Rights Reserved.
10 /*-
11 * RISC-V 64 support for AES GCM.
15 /*-
16 * RISC-V 64 ZKND and ZKNE support for AES GCM.
22 AES_KEY *ks = &actx->ks.ks;
37 /*-
38 * RISC-V RV64 ZVKNED support for AES GCM.
44 AES_KEY *ks = &actx->ks.ks;
48 * For AES-192 case, we could fallback to `AES_set_encrypt_key`.
[all …]
/freebsd/crypto/openssl/crypto/evp/
H A De_aes.c2 * Copyright 2001-2024 The OpenSSL Project Authors. All Rights Reserved.
11 * This file uses the low-level AES functions (which are deprecated for
12 * non-internal use) in order to implement the EVP AES ciphers.
22 #include <openssl/aes.h>
48 } ks; /* AES key schedule to use */
51 GCM128_CONTEXT gcm; member
66 } ks1, ks2; /* AES key schedules to use */
84 } ks; /* AES key schedule to use */
100 } ksenc; /* AES key schedule to use for encryption */
104 } ksdec; /* AES key schedule to use for decryption */
[all …]
/freebsd/cddl/lib/libicp_rescue/
H A DMakefile8 ASM_SOURCES_C = asm-x86_64/aes/aeskey.c
10 asm-x86_64/aes/aes_amd64.S \
11 asm-x86_64/aes/aes_aesni.S \
12 asm-x86_64/modes/gcm_pclmulqdq.S \
13 asm-x86_64/modes/aesni-gcm-x86_64.S \
14 asm-x86_64/modes/aesni-gcm-avx2-vaes.S \
15 asm-x86_64/sha2/sha256-x86_64.S \
16 asm-x86_64/sha2/sha512-x86_64.S \
17 asm-x86_64/blake3/blake3_avx2.S \
18 asm-x86_64/blake3/blake3_avx512.S \
[all …]
/freebsd/crypto/openssl/providers/implementations/include/prov/
H A Dnames.h2 * Copyright 2021-2025 The OpenSSL Project Authors. All Rights Reserved.
22 * ALGNAME[VERSION?][-SUBNAME[VERSION?]?][-SIZE?][-MODE?]
31 * algorithms together, e.g. MD5-SHA1.
34 * with different sizes (e.g. AES-128-CBC, AES-256-CBC)
39 /*-
41 * -----------------
43 #define PROV_NAMES_AES "AES:2.16.840.1.101.3.4.1"
44 #define PROV_DESCS_AES "OpenSSL AES opaque secret key"
45 #define PROV_NAMES_GENERIC "GENERIC-SECRET"
48 #define PROV_NAMES_AES_256_ECB "AES-256-ECB:2.16.840.1.101.3.4.1.41"
[all …]
/freebsd/tests/sys/netipsec/tunnel/
H A Daes_gcm_128.sh7 atf_set descr 'IPSec inet4 tunnel using aes-gcm-128'
14 kldstat -q -n aesni && kldunload aesni
16 ist_test 4 aes-gcm-16 "12345678901234567890"
27 atf_set descr 'IPSec inet6 tunnel using aes-gcm-128'
34 kldstat -q -n aesni && kldunload aesni
36 ist_test 6 aes-gcm-16 "12345678901234567890"
H A Daes_gcm_256.sh7 atf_set descr 'IPSec inet4 tunnel using aes-gcm-256'
14 kldstat -q -n aesni && kldunload aesni
16 ist_test 4 aes-gcm-16 "123456789012345678901234567890123456"
27 atf_set descr 'IPSec inet6 tunnel using aes-gcm-256'
34 kldstat -q -n aesni && kldunload aesni
36 ist_test 6 aes-gcm-16 "123456789012345678901234567890123456"
H A Daesni_aes_gcm_256.sh7 atf_set descr 'IPSec inet4 tunnel using aes-gcm-256 and AESNI'
14 kldstat -q -n aesni || kldload aesni
16 ist_test 4 aes-gcm-16 "123456789012345678901234567890123456"
27 atf_set descr 'IPSec inet6 tunnel using aes-gcm-256 and AESNI'
34 kldstat -q -n aesni || kldload aesni
36 ist_test 6 aes-gcm-16 "123456789012345678901234567890123456"
H A Daesni_aes_gcm_128.sh7 atf_set descr 'IPSec inet4 tunnel using aes-gcm-128 and AESNI'
14 kldstat -q -n aesni || kldload aesni
16 ist_test 4 aes-gcm-16 "12345678901234567890"
27 atf_set descr 'IPSec inet6 tunnel using aes-gcm-128 and AESNI'
34 kldstat -q -n aesni || kldload aesni
36 ist_test 6 aes-gcm-16 "12345678901234567890"
/freebsd/cddl/lib/libicp/
H A DMakefile10 ASM_SOURCES_C = asm-x86_64/aes/aeskey.c
12 asm-x86_64/aes/aes_amd64.S \
13 asm-x86_64/aes/aes_aesni.S \
14 asm-x86_64/modes/gcm_pclmulqdq.S \
15 asm-x86_64/modes/aesni-gcm-x86_64.S \
16 asm-x86_64/modes/aesni-gcm-avx2-vaes.S \
17 asm-x86_64/modes/ghash-x86_64.S \
18 asm-x86_64/sha2/sha256-x86_64.S \
19 asm-x86_64/sha2/sha512-x86_64.S \
20 asm-x86_64/blake3/blake3_avx2.S \
[all …]
/freebsd/sys/modules/ossl/
H A DMakefile19 aes-armv4.S \
20 bsaes-armv7.S \
21 chacha-armv4.S \
22 ghash-armv4.S \
23 poly1305-armv4.S \
24 sha1-armv4-large.S \
25 sha256-armv4.S \
26 sha512-armv4.S \
31 chacha-armv8.S \
32 chacha-armv8-sve.S \
[all …]
/freebsd/crypto/openssl/demos/cipher/
H A Daesgcm.c2 * Copyright 2012-2024 The OpenSSL Project Authors. All Rights Reserved.
11 * Simple AES GCM authenticated encryption with additional data (AEAD)
21 /* AES-GCM test data obtained from NIST public test vectors */
23 /* AES key */
83 printf("AES GCM Encrypt:\n"); in aes_gcm_encrypt()
92 if ((cipher = EVP_CIPHER_fetch(libctx, "AES-256-GCM", propq)) == NULL) in aes_gcm_encrypt()
121 /* Finalise: note get no output for GCM */ in aes_gcm_encrypt()
159 printf("AES GCM Decrypt:\n"); in aes_gcm_decrypt()
167 if ((cipher = EVP_CIPHER_fetch(libctx, "AES-256-GCM", propq)) == NULL) in aes_gcm_decrypt()
200 /* Finalise: note get no output for GCM */ in aes_gcm_decrypt()
/freebsd/secure/usr.bin/openssl/man/
H A Dopenssl-ciphers.11 .\" -*- mode: troff; coding: utf-8 -*-
57 .IX Title "OPENSSL-CIPHERS 1ossl"
58 .TH OPENSSL-CIPHERS 1ossl 2025-09-30 3.5.4 OpenSSL
64 openssl\-ciphers \- SSL cipher display and cipher list command
68 [\fB\-help\fR]
69 [\fB\-s\fR]
70 [\fB\-v\fR]
71 [\fB\-V\fR]
72 [\fB\-ssl3\fR]
73 [\fB\-tls1\fR]
[all …]
/freebsd/crypto/openssl/doc/man1/
H A Dopenssl-ciphers.pod.in2 {- OpenSSL::safe::output_do_not_edit_headers(); -}
6 openssl-ciphers - SSL cipher display and cipher list command
11 [B<-help>]
12 [B<-s>]
13 [B<-v>]
14 [B<-V>]
15 [B<-ssl3>]
16 [B<-tls1>]
17 [B<-tls1_1>]
18 [B<-tls1_2>]
[all …]
/freebsd/sys/contrib/openzfs/lib/libicp/
H A DMakefile.am11 module/icp/algs/aes/aes_impl_aesni.c \
12 module/icp/algs/aes/aes_impl_generic.c \
13 module/icp/algs/aes/aes_impl_x86-64.c \
14 module/icp/algs/aes/aes_impl.c \
15 module/icp/algs/aes/aes_modes.c \
23 module/icp/algs/modes/gcm.c \
31 module/icp/illumos-crypto.c \
32 module/icp/io/aes.c \
43 module/icp/asm-aarch64/blake3/b3_aarch64_sse2.S \
44 module/icp/asm-aarch64/blake3/b3_aarch64_sse41.S \
[all …]

12345678910