| /src/crypto/openssl/test/recipes/30-test_evp_data/ |
| H A D | evpciph_aes_siv.txt | 16 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 82 Cipher = aes-128-siv 91 Cipher = aes-128-siv [all …]
|
| H A D | evpciph_aes_ccm_cavs.txt | 13 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 D | evpciph_aes_common.txt | 576 Cipher = aes-128-ctr 584 Cipher = aes-128-ctr 592 Cipher = aes-128-ctr 600 Cipher = aes-192-ctr 608 Cipher = aes-192-ctr 616 Cipher = aes-192-ctr 624 Cipher = aes-256-ctr 632 Cipher = aes-256-ctr 640 Cipher = aes-256-ctr 649 Cipher = aes-128-ctr [all …]
|
| H A D | evpciph_aes_gcm_siv.txt | 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 89 Cipher = aes-128-gcm-siv 99 Cipher = aes-128-gcm-siv [all …]
|
| H A D | evpciph_aes_ocb.txt | 16 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 …]
|
| /src/crypto/openssl/crypto/aes/ |
| H A D | build.info | 5 $AESASM_x86=aes-586.S 11 aes-x86_64.s vpaes-x86_64.s bsaes-x86_64.s aesni-x86_64.s \ 16 $AESASM_ia64=aes_core.c aes_cbc.c aes-ia64.s 20 aes_core.c aes_cbc.c aes-sparcv9.S aest4-sparcv9.S aesfx-sparcv9.S 23 $AESASM_mips32=aes_cbc.c aes-mips.S 28 $AESASM_s390x=aes-s390x.S 29 # aes-390x.S implements AES_ctr32_encrypt and AES_xts_[en|de]crypt 32 $AESASM_armv4=aes_cbc.c aes-armv4.S bsaes-armv7.S aesv8-armx.S 37 $AESASM_parisc11=aes_core.c aes_cbc.c aes-parisc.s 43 $AESASM_ppc32=aes_core.c aes_cbc.c aes-ppc.s vpaes-ppc.s aesp8-ppc.s [all …]
|
| /src/crypto/openssl/providers/implementations/ciphers/ |
| H A D | cipher_aes.c | 51 IMPLEMENT_generic_cipher(aes, AES, ecb, ECB, 0, 256, 128, 0, block) 53 IMPLEMENT_generic_cipher(aes, AES, ecb, ECB, 0, 192, 128, 0, block) 55 IMPLEMENT_generic_cipher(aes, AES, ecb, ECB, 0, 128, 128, 0, block) 57 IMPLEMENT_generic_cipher(aes, AES, cbc, CBC, 0, 256, 128, 128, block) 59 IMPLEMENT_generic_cipher(aes, AES, cbc, CBC, 0, 192, 128, 128, block) 61 IMPLEMENT_generic_cipher(aes, AES, cbc, CBC, 0, 128, 128, 128, block) 63 IMPLEMENT_generic_cipher(aes, AES, ofb, OFB, 0, 256, 8, 128, stream) 65 IMPLEMENT_generic_cipher(aes, AES, ofb, OFB, 0, 192, 8, 128, stream) 67 IMPLEMENT_generic_cipher(aes, AES, ofb, OFB, 0, 128, 8, 128, stream) 69 IMPLEMENT_generic_cipher(aes, AES, cfb, CFB, 0, 256, 8, 128, stream) [all …]
|
| /src/contrib/wpa/src/crypto/ |
| H A D | aes-ccm.c | 28 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 D | Makefile | 11 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 D | aes-gcm.c | 143 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 D | crypto_internal-cipher.c | 29 } 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 …]
|
| /src/crypto/openssl/providers/implementations/skeymgmt/ |
| H A D | aes_skmgmt.c | 22 PROV_SKEY *aes = generic_import(provctx, selection, params); in aes_import() local 24 if (aes == NULL) in aes_import() 27 if (aes->length != 16 && aes->length != 24 && aes->length != 32) { in aes_import() 28 generic_free(aes); in aes_import() 31 aes->type = SKEY_TYPE_AES; in aes_import() 33 return aes; in aes_import() 39 PROV_SKEY *aes = keydata; in aes_export() local 41 if (aes->type != SKEY_TYPE_AES) in aes_export()
|
| /src/crypto/krb5/src/lib/crypto/builtin/aes/ |
| H A D | Makefile.in | 1 mydir=lib$(S)crypto$(S)builtin$(S)aes 30 $(srcdir)/aes-gen.c 51 aes-gen: aes-gen.o $(GEN_OBJS) 52 $(CC_LINK) -o aes-gen aes-gen.o $(GEN_OBJS) 54 run-aes-gen: aes-gen 55 ./aes-gen > kresults.out 60 check-yes: run-aes-gen 66 -$(RM) aes-gen aes-gen.o kresults.out
|
| /src/contrib/libarchive/libarchive/ |
| H A D | archive_string.c | 3907 archive_mstring_clean(struct archive_mstring *aes) in archive_mstring_clean() argument 3909 archive_wstring_free(&(aes->aes_wcs)); in archive_mstring_clean() 3910 archive_string_free(&(aes->aes_mbs)); in archive_mstring_clean() 3911 archive_string_free(&(aes->aes_utf8)); in archive_mstring_clean() 3912 archive_string_free(&(aes->aes_mbs_in_locale)); in archive_mstring_clean() 3913 aes->aes_set = 0; in archive_mstring_clean() 3926 archive_mstring_get_utf8(struct archive *a, struct archive_mstring *aes, in archive_mstring_get_utf8() argument 3933 if (aes->aes_set & AES_SET_UTF8) { in archive_mstring_get_utf8() 3934 *p = aes->aes_utf8.s; in archive_mstring_get_utf8() 3946 if ((aes->aes_set & AES_SET_WCS) != 0) { in archive_mstring_get_utf8() [all …]
|
| /src/tests/sys/geom/class/eli/ |
| H A D | conf.sh | 40 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 \
|
| /src/crypto/openssl/crypto/modes/ |
| H A D | build.info | 7 $MODESASM_x86_64=ghash-x86_64.s aesni-gcm-x86_64.s aes-gcm-avx512.s 27 $MODESASM_aarch64=ghashv8-armx.S aes-gcm-armv8_64.S aes-gcm-armv8-unroll8_64.S 39 $MODESASM_ppc64=$MODESASM_ppc32 aes-gcm-ppc.s 46 …$MODESASM_riscv64=ghash-riscv64.s ghash-riscv64-zvkb-zvbc.s ghash-riscv64-zvkg.s aes-gcm-riscv64-z… 75 GENERATE[aes-gcm-avx512.s]=asm/aes-gcm-avx512.pl 81 GENERATE[aes-gcm-ppc.s]=asm/aes-gcm-ppc.pl 86 GENERATE[aes-gcm-armv8_64.S]=asm/aes-gcm-armv8_64.pl 87 INCLUDE[aes-gcm-armv8_64.o]=.. 88 GENERATE[aes-gcm-armv8-unroll8_64.S]=asm/aes-gcm-armv8-unroll8_64.pl 89 INCLUDE[aes-gcm-armv8-unroll8_64.o]=.. [all …]
|
| /src/crypto/openssl/test/ssl-tests/ |
| H A D | 13-fragmentation.cnf | 21 test-16 = 16-large-app-data-aes-sha1-multibuffer 22 test-17 = 17-large-app-data-aes-sha2-multibuffer 23 test-18 = 18-large-app-data-aes-sha1-multibuffer-odd-fragment 24 test-19 = 19-large-app-data-aes-sha2-multibuffer-odd-fragment 25 test-20 = 20-small-app-data-aes-sha1-multibuffer 26 test-21 = 21-small-app-data-aes-sha2-multibuffer 430 [16-large-app-data-aes-sha1-multibuffer] 431 ssl_conf = 16-large-app-data-aes-sha1-multibuffer-ssl 433 [16-large-app-data-aes-sha1-multibuffer-ssl] 434 server = 16-large-app-data-aes-sha1-multibuffer-server [all …]
|
| /src/sys/net80211/ |
| H A D | ieee80211_crypto_gcm.c | 204 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 …]
|
| /src/usr.sbin/wpa/src/crypto/ |
| H A D | Makefile | 39 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
|
| /src/sys/contrib/device-tree/Bindings/crypto/ |
| H A D | omap-aes.txt | 7 - "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";
|
| /src/crypto/openssl/providers/ |
| H A D | fips.module.sources | 1 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 D | fips-sources.checksums | 1 1adbe13eff4750e389446101753e40402977dacf1493eb7ba053654bb37bd0e8 crypto/aes/aes_cbc.c 2 a328908d0d04366e7160884001170c494751a2555e935b7ba3feab88a0b977f8 crypto/aes/aes_core.c 3 3fac41ce96acb9189eac2d5571425c3ff33a34c884ae7e275e1fd3068b5fc662 crypto/aes/aes_ecb.c 4 da4942231014063d9e4fe1db91b6eb1b8f233904d169f3f1b8be7c6a59728d2e crypto/aes/aes_local.h 5 7414fa4526ba20ee966125e8f7e428e4c75cd9021a79f1151a4bacb28d2f10da 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 …]
|
| /src/crypto/openssl/crypto/evp/ |
| H A D | e_aes.c | 1012 } aes; member 1802 ctx->aes.ccm.nonce.b[0] &= ~S390X_CCM_AAD_FLAG; in s390x_aes_ccm_setiv() 1803 ctx->aes.ccm.nonce.g[1] = mlen; in s390x_aes_ccm_setiv() 1804 memcpy(ctx->aes.ccm.nonce.b + 1, nonce, 15 - ctx->aes.ccm.l); in s390x_aes_ccm_setiv() 1819 ctx->aes.ccm.nonce.b[0] |= S390X_CCM_AAD_FLAG; in s390x_aes_ccm_aad() 1822 ptr = ctx->aes.ccm.buf.b; in s390x_aes_ccm_aad() 1839 ctx->aes.ccm.buf.b[i] = *aad; in s390x_aes_ccm_aad() 1845 ctx->aes.ccm.buf.b[i] = 0; in s390x_aes_ccm_aad() 1849 ctx->aes.ccm.kmac_param.icv.g[0] = 0; in s390x_aes_ccm_aad() 1850 ctx->aes.ccm.kmac_param.icv.g[1] = 0; in s390x_aes_ccm_aad() [all …]
|
| /src/crypto/krb5/src/lib/crypto/crypto_tests/ |
| H A D | Makefile.in | 15 $(srcdir)/aes-test.c \ 31 aes-test \ 43 $(RUN_TEST) ./aes-test -k > vk.txt 45 $(RUN_TEST) ./aes-test > vt.txt 99 aes-test: aes-test.$(OBJEXT) $(KRB5_BASE_DEPLIBS) 100 $(CC_LINK) -o aes-test aes-test.$(OBJEXT) $(KRB5_BASE_LIBS) 133 aes-test.o aes-test vt.txt vk.txt kresults.out \
|
| /src/sys/contrib/openzfs/lib/libicp/ |
| H A D | Makefile.am | 15 module/icp/algs/aes/aes_impl_aesni.c \ 16 module/icp/algs/aes/aes_impl_generic.c \ 17 module/icp/algs/aes/aes_impl_x86-64.c \ 18 module/icp/algs/aes/aes_impl.c \ 19 module/icp/algs/aes/aes_modes.c \ 36 module/icp/io/aes.c \ 70 module/icp/asm-x86_64/aes/aeskey.c \ 71 module/icp/asm-x86_64/aes/aes_amd64.S \ 72 module/icp/asm-x86_64/aes/aes_aesni.S \
|