Home
last modified time | relevance | path

Searched refs:aes (Results 1 – 25 of 175) sorted by relevance

1234567

/freebsd/crypto/openssl/test/recipes/30-test_evp_data/
H A Devpciph_aes_ccm_cavs.txt13 Cipher = aes-128-ccm
21 Cipher = aes-128-ccm
31 Cipher = aes-128-ccm
41 Cipher = aes-128-ccm
51 Cipher = aes-128-ccm
59 Cipher = aes-128-ccm
69 Cipher = aes-128-ccm
79 Cipher = aes-128-ccm
89 Cipher = aes-128-ccm
99 Cipher = aes-128-ccm
[all …]
H A Devpciph_aes_ocb.txt16 Cipher = aes-128-ocb
24 Cipher = aes-128-ocb
32 Cipher = aes-128-ocb
40 Cipher = aes-128-ocb
48 Cipher = aes-128-ocb
56 Cipher = aes-128-ocb
64 Cipher = aes-128-ocb
72 Cipher = aes-128-ocb
80 Cipher = aes-128-ocb
88 Cipher = aes-128-ocb
[all …]
H A Devpciph_aes_common.txt524 Cipher = aes-128-ctr
532 Cipher = aes-128-ctr
540 Cipher = aes-128-ctr
548 Cipher = aes-192-ctr
556 Cipher = aes-192-ctr
564 Cipher = aes-192-ctr
572 Cipher = aes-256-ctr
580 Cipher = aes-256-ctr
588 Cipher = aes-256-ctr
597 Cipher = aes-128-ctr
[all …]
H A Devpciph_aes_siv.txt16 Cipher = aes-128-siv
23 Cipher = aes-128-siv
29 Cipher = aes-128-siv
36 Cipher = aes-128-siv
45 Cipher = aes-128-siv
54 Cipher = aes-128-siv
63 Cipher = aes-192-siv
70 Cipher = aes-256-siv
/freebsd/crypto/openssl/providers/implementations/ciphers/
H A Dcipher_aes.c53 IMPLEMENT_generic_cipher(aes, AES, ecb, ECB, 0, 256, 128, 0, block)
55 IMPLEMENT_generic_cipher(aes, AES, ecb, ECB, 0, 192, 128, 0, block)
57 IMPLEMENT_generic_cipher(aes, AES, ecb, ECB, 0, 128, 128, 0, block)
59 IMPLEMENT_generic_cipher(aes, AES, cbc, CBC, 0, 256, 128, 128, block)
61 IMPLEMENT_generic_cipher(aes, AES, cbc, CBC, 0, 192, 128, 128, block)
63 IMPLEMENT_generic_cipher(aes, AES, cbc, CBC, 0, 128, 128, 128, block)
65 IMPLEMENT_generic_cipher(aes, AES, ofb, OFB, 0, 256, 8, 128, stream)
67 IMPLEMENT_generic_cipher(aes, AES, ofb, OFB, 0, 192, 8, 128, stream)
69 IMPLEMENT_generic_cipher(aes, AES, ofb, OFB, 0, 128, 8, 128, stream)
71 IMPLEMENT_generic_cipher(aes, AES, cfb, CFB, 0, 256, 8, 128, stream)
[all …]
/freebsd/contrib/wpa/src/crypto/
H A Daes-ccm.c28 static void aes_ccm_auth_start(void *aes, size_t M, size_t L, const u8 *nonce, in aes_ccm_auth_start() argument
44 aes_encrypt(aes, b, x); /* X_1 = E(K, B_0) */ in aes_ccm_auth_start()
54 aes_encrypt(aes, aad_buf, x); /* X_2 = E(K, X_1 XOR B_1) */ in aes_ccm_auth_start()
59 aes_encrypt(aes, &aad_buf[AES_BLOCK_SIZE], x); in aes_ccm_auth_start()
64 static void aes_ccm_auth(void *aes, const u8 *data, size_t len, u8 *x) in aes_ccm_auth() argument
73 aes_encrypt(aes, x, x); in aes_ccm_auth()
79 aes_encrypt(aes, x, x); in aes_ccm_auth()
92 static void aes_ccm_encr(void *aes, size_t L, const u8 *in, size_t len, u8 *out, in aes_ccm_encr() argument
102 aes_encrypt(aes, a, out); in aes_ccm_encr()
109 aes_encrypt(aes, a, out); in aes_ccm_encr()
[all …]
H A DMakefile11 aes-cbc.o \
12 aes-ccm.o \
13 aes-ctr.o \
14 aes-eax.o \
15 aes-encblock.o \
16 aes-gcm.o \
17 aes-internal.o \
18 aes-internal-dec.o \
19 aes-internal-enc.o \
20 aes-omac1.o \
[all …]
H A Daes-gcm.c143 static void aes_gctr(void *aes, const u8 *icb, const u8 *x, size_t xlen, u8 *y) in aes_gctr() argument
158 aes_encrypt(aes, cb, ypos); in aes_gctr()
168 aes_encrypt(aes, cb, tmp); in aes_gctr()
177 void *aes; in aes_gcm_init_hash_subkey() local
179 aes = aes_encrypt_init(key, key_len); in aes_gcm_init_hash_subkey()
180 if (aes == NULL) in aes_gcm_init_hash_subkey()
185 aes_encrypt(aes, H, H); in aes_gcm_init_hash_subkey()
188 return aes; in aes_gcm_init_hash_subkey()
215 static void aes_gcm_gctr(void *aes, const u8 *J0, const u8 *in, size_t len, in aes_gcm_gctr() argument
225 aes_gctr(aes, J0inc, in, len, out); in aes_gcm_gctr()
[all …]
H A Dcrypto_internal-cipher.c29 } aes; member
65 ctx->u.aes.ctx_enc = aes_encrypt_init(key, key_len); in crypto_cipher_init()
66 if (ctx->u.aes.ctx_enc == NULL) { in crypto_cipher_init()
70 ctx->u.aes.ctx_dec = aes_decrypt_init(key, key_len); in crypto_cipher_init()
71 if (ctx->u.aes.ctx_dec == NULL) { in crypto_cipher_init()
72 aes_encrypt_deinit(ctx->u.aes.ctx_enc); in crypto_cipher_init()
76 os_memcpy(ctx->u.aes.cbc, iv, AES_BLOCK_SIZE); in crypto_cipher_init()
122 ctx->u.aes.cbc[j] ^= plain[j]; in crypto_cipher_encrypt()
123 aes_encrypt(ctx->u.aes.ctx_enc, ctx->u.aes.cbc, in crypto_cipher_encrypt()
124 ctx->u.aes.cbc); in crypto_cipher_encrypt()
[all …]
/freebsd/crypto/openssl/crypto/aes/
H A Dbuild.info5 $AESASM_x86=aes-586.S
11 aes-x86_64.s vpaes-x86_64.s bsaes-x86_64.s aesni-x86_64.s \
15 $AESASM_ia64=aes_core.c aes_cbc.c aes-ia64.s
19 aes_core.c aes_cbc.c aes-sparcv9.S aest4-sparcv9.S aesfx-sparcv9.S
22 $AESASM_mips32=aes_cbc.c aes-mips.S
27 $AESASM_s390x=aes-s390x.S
28 # aes-390x.S implements AES_ctr32_encrypt and AES_xts_[en|de]crypt
31 $AESASM_armv4=aes_cbc.c aes-armv4.S bsaes-armv7.S aesv8-armx.S
36 $AESASM_parisc11=aes_core.c aes_cbc.c aes-parisc.s
42 $AESASM_ppc32=aes_core.c aes_cbc.c aes-ppc.s vpaes-ppc.s aesp8-ppc.s
[all …]
/freebsd/contrib/libarchive/libarchive/
H A Darchive_string.c3845 archive_mstring_clean(struct archive_mstring *aes) in archive_mstring_clean() argument
3847 archive_wstring_free(&(aes->aes_wcs)); in archive_mstring_clean()
3848 archive_string_free(&(aes->aes_mbs)); in archive_mstring_clean()
3849 archive_string_free(&(aes->aes_utf8)); in archive_mstring_clean()
3850 archive_string_free(&(aes->aes_mbs_in_locale)); in archive_mstring_clean()
3851 aes->aes_set = 0; in archive_mstring_clean()
3864 archive_mstring_get_utf8(struct archive *a, struct archive_mstring *aes, in archive_mstring_get_utf8() argument
3871 if (aes->aes_set & AES_SET_UTF8) { in archive_mstring_get_utf8()
3872 *p = aes->aes_utf8.s; in archive_mstring_get_utf8()
3884 if ((aes->aes_set & AES_SET_WCS) != 0) { in archive_mstring_get_utf8()
[all …]
/freebsd/tests/sys/geom/class/eli/
H A Dconf.sh40 for cipher in aes-xts:128 aes-xts:256 \
41 aes-cbc:128 aes-cbc:192 aes-cbc:256 \
64 for cipher in aes-xts:128 aes-xts:256 \
65 aes-cbc:128 aes-cbc:192 aes-cbc:256 \
/freebsd/crypto/openssl/test/ssl-tests/
H A D13-fragmentation.cnf15 test-10 = 10-large-app-data-aes-sha1-multibuffer
16 test-11 = 11-large-app-data-aes-sha2-multibuffer
17 test-12 = 12-large-app-data-aes-sha1-multibuffer-odd-fragment
18 test-13 = 13-large-app-data-aes-sha2-multibuffer-odd-fragment
19 test-14 = 14-small-app-data-aes-sha1-multibuffer
20 test-15 = 15-small-app-data-aes-sha2-multibuffer
262 [10-large-app-data-aes-sha1-multibuffer]
263 ssl_conf = 10-large-app-data-aes-sha1-multibuffer-ssl
265 [10-large-app-data-aes-sha1-multibuffer-ssl]
266 server = 10-large-app-data-aes-sha1-multibuffer-server
[all …]
/freebsd/sys/net80211/
H A Dieee80211_crypto_gcm.c204 aes_gctr(rijndael_ctx *aes, const uint8_t *icb, in aes_gctr() argument
221 rijndael_encrypt(aes, cb, ypos); in aes_gctr()
231 rijndael_encrypt(aes, cb, tmp); in aes_gctr()
238 aes_gcm_init_hash_subkey(rijndael_ctx *aes, uint8_t *H) in aes_gcm_init_hash_subkey() argument
243 rijndael_encrypt(aes, H, H); in aes_gcm_init_hash_subkey()
271 aes_gcm_gctr(rijndael_ctx *aes, const uint8_t *J0, const uint8_t *in, in aes_gcm_gctr() argument
282 aes_gctr(aes, J0inc, in, len, out); in aes_gcm_gctr()
309 ieee80211_crypto_aes_gcm_ae(rijndael_ctx *aes, const uint8_t *iv, size_t iv_len, in ieee80211_crypto_aes_gcm_ae() argument
317 aes_gcm_init_hash_subkey(aes, H); in ieee80211_crypto_aes_gcm_ae()
322 aes_gcm_gctr(aes, J0, plain, plain_len, crypt); in ieee80211_crypto_aes_gcm_ae()
[all …]
/freebsd/usr.sbin/wpa/src/crypto/
H A DMakefile39 SRCS+= aes-unwrap.c aes-wrap.c \
40 aes-internal.c \
41 aes-internal-dec.c \
42 aes-internal-enc.c
47 SRCS+= aes-cbc.c
51 SRCS+= aes-eax.c
55 SRCS+= aes-ctr.c
59 SRCS+= aes-encblock.c
63 SRCS+= aes-omac1.c
/freebsd/sys/contrib/device-tree/Bindings/crypto/
H A Domap-aes.txt7 - "ti,omap2-aes" for OMAP2.
8 - "ti,omap3-aes" for OMAP3.
9 - "ti,omap4-aes" for OMAP4 and AM33XX.
23 aes: aes@53500000 {
24 compatible = "ti,omap4-aes";
25 ti,hwmods = "aes";
/freebsd/crypto/openssl/crypto/evp/
H A De_aes.c950 } aes; member
1703 ctx->aes.ccm.nonce.b[0] &= ~S390X_CCM_AAD_FLAG; in s390x_aes_ccm_setiv()
1704 ctx->aes.ccm.nonce.g[1] = mlen; in s390x_aes_ccm_setiv()
1705 memcpy(ctx->aes.ccm.nonce.b + 1, nonce, 15 - ctx->aes.ccm.l); in s390x_aes_ccm_setiv()
1720 ctx->aes.ccm.nonce.b[0] |= S390X_CCM_AAD_FLAG; in s390x_aes_ccm_aad()
1723 ptr = ctx->aes.ccm.buf.b; in s390x_aes_ccm_aad()
1740 ctx->aes.ccm.buf.b[i] = *aad; in s390x_aes_ccm_aad()
1746 ctx->aes.ccm.buf.b[i] = 0; in s390x_aes_ccm_aad()
1750 ctx->aes.ccm.kmac_param.icv.g[0] = 0; in s390x_aes_ccm_aad()
1751 ctx->aes.ccm.kmac_param.icv.g[1] = 0; in s390x_aes_ccm_aad()
[all …]
/freebsd/crypto/openssl/providers/
H A Dfips.module.sources1 crypto/aes/aes_cbc.c
2 crypto/aes/aes_core.c
3 crypto/aes/aes_ecb.c
4 crypto/aes/aes_local.h
5 crypto/aes/aes_misc.c
6 crypto/aes/asm/aes-586.pl
7 crypto/aes/asm/aes-armv4.pl
8 crypto/aes/asm/aes-c64xplus.pl
9 crypto/aes/asm/aes-ia64.S
10 crypto/aes/asm/aes-mips.pl
[all …]
H A Dfips-sources.checksums1 0e22ea0cf34ef3871e30df0bc302dc29352d38001d1622ddb78a27a374b6aee8 crypto/aes/aes_cbc.c
2 c049a936d74100fcced225f575d46662792a6a0039777d2d4df0cf61eff90a68 crypto/aes/aes_core.c
3 3fac41ce96acb9189eac2d5571425c3ff33a34c884ae7e275e1fd3068b5fc662 crypto/aes/aes_ecb.c
4 c1e674d08683a25bc053f6233f73a0d0b3a90aafe591ff57b702c7da1582e4a5 crypto/aes/aes_local.h
5 a2466f18da5847c7d9fbced17524633c10ce024671a72f53f9c9c55b9b9923dd crypto/aes/aes_misc.c
6 6979c133f76f4623e62e6e970deae70fa025e713a72b71aead5a048d49e47f6f crypto/aes/asm/aes-586.pl
7 92be9ff608331a432e95247a8f4fb9e46897d0cb76f2b6db809b61d44287964a crypto/aes/asm/aes-armv4.pl
8 953897f86e2de9fa27ef411155ab3aed133af94885f1507e76449c142da78656 crypto/aes/asm/aes-c64xplus.pl
9 00196f01f5218ad731e6a058d406078f7228a9756d9d73f51c0d0c2a68f885af crypto/aes/asm/aes-ia64.S
10 88b6f8396cd9d86004743d5c3b0f72b7b8c3d5a2b00b0bbb761ba91ae5a7cdc8 crypto/aes/asm/aes-mips.pl
[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 \
32 module/icp/io/aes.c \
67 module/icp/asm-x86_64/aes/aeskey.c \
68 module/icp/asm-x86_64/aes/aes_amd64.S \
69 module/icp/asm-x86_64/aes/aes_aesni.S \
/freebsd/contrib/file/magic/Magdir/
H A Daes3 # $File: aes,v 1.1 2020/08/18 21:20:22 christos Exp $
5 # aes: magic file for AES encrypted files
13 #!:mime application/aes
14 !:mime application/x-aes-encrypted
15 !:ext aes
/freebsd/crypto/openssl/demos/mac/
H A Dpoly1305.c87 EVP_CIPHER *aes = NULL; in main() local
118 aes = EVP_CIPHER_fetch(library_context, "AES-128-ECB", propq); in main()
119 if (aes == NULL) { in main()
132 if (!EVP_EncryptInit_ex(aesctx, aes, NULL, test_k, NULL)) { in main()
202 EVP_CIPHER_free(aes); in main()
/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 \
60 algs/aes/aes_impl_aesni.c \
61 algs/aes/aes_impl_generic.c \
62 algs/aes/aes_impl_x86-64.c \
63 algs/aes/aes_impl.c \
64 algs/aes/aes_modes.c \
79 io/aes.c \
/freebsd/cddl/lib/libicp/
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 \
61 algs/aes/aes_impl_aesni.c \
62 algs/aes/aes_impl_generic.c \
63 algs/aes/aes_impl_x86-64.c \
64 algs/aes/aes_impl.c \
65 algs/aes/aes_modes.c \
82 io/aes.c \
/freebsd/crypto/openssl/providers/common/der/
H A Dwrap.asn120 aes OBJECT IDENTIFIER ::= {
24 id-aes128-wrap OBJECT IDENTIFIER ::= { aes 5 }
25 id-aes192-wrap OBJECT IDENTIFIER ::= { aes 25 }
26 id-aes256-wrap OBJECT IDENTIFIER ::= { aes 45 }

1234567