Searched refs:aes (Results 1 - 25 of 90) sorted by relevance

1234

/freebsd-13-stable/crypto/openssl/crypto/aes/
H A Daes_misc.c11 #include <openssl/aes.h>
17 return "aes(full)";
19 return "aes(partial)";
H A Daes_cbc.c10 #include <openssl/aes.h>
H A Daes_ecb.c12 #include <openssl/aes.h>
H A Daes_ofb.c10 #include <openssl/aes.h>
H A Daes_wrap.c11 #include <openssl/aes.h>
/freebsd-13-stable/tests/sys/geom/class/eli/
H A Dconf.sh38 for cipher in aes-xts:128 aes-xts:256 \
39 aes-cbc:128 aes-cbc:192 aes-cbc:256 \
62 for cipher in aes-xts:128 aes-xts:256 \
63 aes-cbc:128 aes-cbc:192 aes
[all...]
/freebsd-13-stable/contrib/wpa/src/crypto/
H A Daes-ccm.c13 #include "aes.h"
28 static void aes_ccm_auth_start(void *aes, size_t M, size_t L, const u8 *nonce, argument
44 aes_encrypt(aes, b, x); /* X_1 = E(K, B_0) */
54 aes_encrypt(aes, aad_buf, x); /* X_2 = E(K, X_1 XOR B_1) */
59 aes_encrypt(aes, &aad_buf[AES_BLOCK_SIZE], x);
64 static void aes_ccm_auth(void *aes, const u8 *data, size_t len, u8 *x) argument
73 aes_encrypt(aes, x, x);
79 aes_encrypt(aes, x, x);
92 static void aes_ccm_encr(void *aes, size_t L, const u8 *in, size_t len, u8 *out, argument
102 aes_encrypt(aes,
117 aes_ccm_encr_auth(void *aes, size_t M, u8 *x, u8 *a, u8 *auth) argument
132 aes_ccm_decr_auth(void *aes, size_t M, u8 *a, const u8 *auth, u8 *t) argument
153 void *aes; local
183 void *aes; local
[all...]
H A Dcrypto_internal-cipher.c13 #include "aes.h"
29 } aes; member in union:crypto_cipher::__anon6376
65 ctx->u.aes.ctx_enc = aes_encrypt_init(key, key_len);
66 if (ctx->u.aes.ctx_enc == NULL) {
70 ctx->u.aes.ctx_dec = aes_decrypt_init(key, key_len);
71 if (ctx->u.aes.ctx_dec == NULL) {
72 aes_encrypt_deinit(ctx->u.aes.ctx_enc);
76 os_memcpy(ctx->u.aes.cbc, iv, AES_BLOCK_SIZE);
122 ctx->u.aes.cbc[j] ^= plain[j];
123 aes_encrypt(ctx->u.aes
[all...]
H A Daes-gcm.c13 #include "aes.h"
143 static void aes_gctr(void *aes, const u8 *icb, const u8 *x, size_t xlen, u8 *y) argument
158 aes_encrypt(aes, cb, ypos);
168 aes_encrypt(aes, cb, tmp);
177 void *aes; local
179 aes = aes_encrypt_init(key, key_len);
180 if (aes == NULL)
185 aes_encrypt(aes, H, H);
188 return aes;
215 static void aes_gcm_gctr(void *aes, cons argument
261 void *aes; local
295 void *aes; local
[all...]
/freebsd-13-stable/sys/contrib/openzfs/lib/libicp/
H A DMakefile.am13 ASM_SOURCES_C = asm-x86_64/aes/aeskey.c
15 asm-x86_64/aes/aes_amd64.S \
16 asm-x86_64/aes/aes_aesni.S \
35 algs/aes/aes_impl_aesni.c \
36 algs/aes/aes_impl_generic.c \
37 algs/aes/aes_impl_x86-64.c \
38 algs/aes/aes_impl.c \
39 algs/aes/aes_modes.c \
55 io/aes.c \
/freebsd-13-stable/tests/sys/netipsec/tunnel/
H A Daes_gcm_128.sh8 atf_set descr 'IPSec inet4 tunnel using aes-gcm-128'
17 ist_test 4 aes-gcm-16 "12345678901234567890"
28 atf_set descr 'IPSec inet6 tunnel using aes-gcm-128'
37 ist_test 6 aes-gcm-16 "12345678901234567890"
H A Daes_gcm_256.sh8 atf_set descr 'IPSec inet4 tunnel using aes-gcm-256'
17 ist_test 4 aes-gcm-16 "123456789012345678901234567890123456"
28 atf_set descr 'IPSec inet6 tunnel using aes-gcm-256'
37 ist_test 6 aes-gcm-16 "123456789012345678901234567890123456"
H A Daesni_aes_gcm_128.sh8 atf_set descr 'IPSec inet4 tunnel using aes-gcm-128 and AESNI'
17 ist_test 4 aes-gcm-16 "12345678901234567890"
28 atf_set descr 'IPSec inet6 tunnel using aes-gcm-128 and AESNI'
37 ist_test 6 aes-gcm-16 "12345678901234567890"
H A Daesni_aes_gcm_256.sh8 atf_set descr 'IPSec inet4 tunnel using aes-gcm-256 and AESNI'
17 ist_test 4 aes-gcm-16 "123456789012345678901234567890123456"
28 atf_set descr 'IPSec inet6 tunnel using aes-gcm-256 and AESNI'
37 ist_test 6 aes-gcm-16 "123456789012345678901234567890123456"
/freebsd-13-stable/usr.sbin/wpa/
H A DMakefile.crypto64 SRCS+= aes-unwrap.c aes-wrap.c \
65 aes-internal.c \
66 aes-internal-dec.c \
67 aes-internal-enc.c
71 SRCS+= aes-cbc.c
75 SRCS+= aes-eax.c
80 SRCS+= aes-ctr.c
84 SRCS+= aes-encblock.c
88 SRCS+= aes
[all...]
/freebsd-13-stable/cddl/lib/libicp/
H A DMakefile11 ASM_SOURCES_C = asm-x86_64/aes/aeskey.c
13 asm-x86_64/aes/aes_amd64.S \
14 asm-x86_64/aes/aes_aesni.S \
36 algs/aes/aes_impl_aesni.c \
37 algs/aes/aes_impl_generic.c \
38 algs/aes/aes_impl_x86-64.c \
39 algs/aes/aes_impl.c \
40 algs/aes/aes_modes.c \
56 io/aes.c \
/freebsd-13-stable/cddl/lib/libicp_rescue/
H A DMakefile11 ASM_SOURCES_C = asm-x86_64/aes/aeskey.c
13 asm-x86_64/aes/aes_amd64.S \
14 asm-x86_64/aes/aes_aesni.S \
35 algs/aes/aes_impl_aesni.c \
36 algs/aes/aes_impl_generic.c \
37 algs/aes/aes_impl_x86-64.c \
38 algs/aes/aes_impl.c \
39 algs/aes/aes_modes.c \
53 io/aes.c \
/freebsd-13-stable/sys/contrib/openzfs/module/icp/
H A DMakefile.in28 $(MODULE)-objs += io/aes.o
42 $(MODULE)-objs += algs/aes/aes_impl_generic.o
43 $(MODULE)-objs += algs/aes/aes_impl.o
44 $(MODULE)-objs += algs/aes/aes_modes.o
52 $(MODULE)-$(CONFIG_X86_64) += asm-x86_64/aes/aeskey.o
53 $(MODULE)-$(CONFIG_X86_64) += asm-x86_64/aes/aes_amd64.o
54 $(MODULE)-$(CONFIG_X86_64) += asm-x86_64/aes/aes_aesni.o
63 $(MODULE)-$(CONFIG_X86) += algs/aes/aes_impl_aesni.o
64 $(MODULE)-$(CONFIG_X86) += algs/aes/aes_impl_x86-64.o
86 algs/aes \
[all...]
/freebsd-13-stable/tools/regression/ipsec/
H A Dipsec6.t41 aes-ctr:01234567890123456789\
42 aes-ctr:0123456789012345678901234567\
43 aes-ctr:012345678901234567890123456789012345\
/freebsd-13-stable/sys/contrib/openzfs/module/icp/algs/aes/
H A Daes_impl_x86-64.c28 #include <aes/aes_impl.h>
/freebsd-13-stable/crypto/heimdal/include/hcrypto/
H A DMakefile.am6 aes.h \
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/pam/
H A Dsetup.ksh37 echo "testpass" | zfs create -o encryption=aes-256-gcm -o keyformat=passphrase -o keylocation=prompt "$TESTPOOL/pam/${username}"
/freebsd-13-stable/crypto/openssh/regress/
H A Dputty-ciphers.sh11 for c in aes 3des aes128-ctr aes192-ctr aes256-ctr ; do
/freebsd-13-stable/crypto/openssl/crypto/evp/
H A De_aes.c16 #include <openssl/aes.h>
1111 * schedule is not stored (if aes hardware support is detected).
1153 } aes; member in struct:__anon7102
1965 ctx->aes.ccm.nonce.b[0] &= ~S390X_CCM_AAD_FLAG;
1966 ctx->aes.ccm.nonce.g[1] = mlen;
1967 memcpy(ctx->aes.ccm.nonce.b + 1, nonce, 15 - ctx->aes.ccm.l);
1982 ctx->aes.ccm.nonce.b[0] |= S390X_CCM_AAD_FLAG;
1985 ptr = ctx->aes.ccm.buf.b;
2002 ctx->aes
[all...]
/freebsd-13-stable/contrib/libarchive/libarchive/
H A Darchive_string.c3852 archive_mstring_clean(struct archive_mstring *aes) argument
3854 archive_wstring_free(&(aes->aes_wcs));
3855 archive_string_free(&(aes->aes_mbs));
3856 archive_string_free(&(aes->aes_utf8));
3857 archive_string_free(&(aes->aes_mbs_in_locale));
3858 aes->aes_set = 0;
3871 archive_mstring_get_utf8(struct archive *a, struct archive_mstring *aes, argument
3878 if (aes->aes_set & AES_SET_UTF8) {
3879 *p = aes->aes_utf8.s;
3885 if ((aes
3908 archive_mstring_get_mbs(struct archive *a, struct archive_mstring *aes, const char **p) argument
3955 archive_mstring_get_wcs(struct archive *a, struct archive_mstring *aes, const wchar_t **wp) argument
3988 archive_mstring_get_mbs_l(struct archive *a, struct archive_mstring *aes, const char **p, size_t *length, struct archive_string_conv *sc) argument
4047 archive_mstring_copy_mbs(struct archive_mstring *aes, const char *mbs) argument
4057 archive_mstring_copy_mbs_len(struct archive_mstring *aes, const char *mbs, size_t len) argument
4072 archive_mstring_copy_wcs(struct archive_mstring *aes, const wchar_t *wcs) argument
4079 archive_mstring_copy_utf8(struct archive_mstring *aes, const char *utf8) argument
4093 archive_mstring_copy_wcs_len(struct archive_mstring *aes, const wchar_t *wcs, size_t len) argument
4108 archive_mstring_copy_mbs_len_l(struct archive_mstring *aes, const char *mbs, size_t len, struct archive_string_conv *sc) argument
4201 archive_mstring_update_utf8(struct archive *a, struct archive_mstring *aes, const char *utf8) argument
[all...]

Completed in 102 milliseconds

1234