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

12345

/freebsd-current/crypto/openssl/crypto/aes/
H A Daes_misc.c11 #include <openssl/aes.h>
18 return "aes(full)";
20 return "aes(partial)";
H A Daes_ofb.c16 #include <openssl/aes.h>
H A Daes_ecb.c18 #include <openssl/aes.h>
H A Daes_cbc.c17 #include <openssl/aes.h>
H A Daes_wrap.c17 #include <openssl/aes.h>
/freebsd-current/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, AE
[all...]
H A Dcipher_aes_ccm.c65 IMPLEMENT_aead_cipher(aes, ccm, CCM, AEAD_FLAGS, 128, 8, 96);
67 IMPLEMENT_aead_cipher(aes, ccm, CCM, AEAD_FLAGS, 192, 8, 96);
69 IMPLEMENT_aead_cipher(aes, ccm, CCM, AEAD_FLAGS, 256, 8, 96);
H A Dcipher_aes_gcm.c61 IMPLEMENT_aead_cipher(aes, gcm, GCM, AEAD_FLAGS, 128, 8, 96);
63 IMPLEMENT_aead_cipher(aes, gcm, GCM, AEAD_FLAGS, 192, 8, 96);
65 IMPLEMENT_aead_cipher(aes, gcm, GCM, AEAD_FLAGS, 256, 8, 96);
H A Dcipher_aes_xts.h10 #include <openssl/aes.h>
H A Dcipher_aes_ccm.h10 #include <openssl/aes.h>
23 * schedule is not stored (if aes hardware support is detected).
H A Dcipher_aes_gcm.h10 #include <openssl/aes.h>
H A Dcipher_aes_ocb.h10 #include <openssl/aes.h>
/freebsd-current/contrib/wpa/src/crypto/
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
[all...]
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::__anon6336
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-current/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
[all...]
/freebsd-current/tests/sys/netipsec/tunnel/
H A Daesni_aes_gcm_256.sh7 atf_set descr 'IPSec inet4 tunnel using aes-gcm-256 and AESNI'
16 ist_test 4 aes-gcm-16 "123456789012345678901234567890123456"
27 atf_set descr 'IPSec inet6 tunnel using aes-gcm-256 and 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'
16 ist_test 4 aes-gcm-16 "12345678901234567890"
27 atf_set descr 'IPSec inet6 tunnel using aes-gcm-128 and 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'
16 ist_test 4 aes-gcm-16 "123456789012345678901234567890123456"
27 atf_set descr 'IPSec inet6 tunnel using aes-gcm-256'
36 ist_test 6 aes-gcm-16 "123456789012345678901234567890123456"
H A Daes_gcm_128.sh7 atf_set descr 'IPSec inet4 tunnel using aes-gcm-128'
16 ist_test 4 aes-gcm-16 "12345678901234567890"
27 atf_set descr 'IPSec inet6 tunnel using aes-gcm-128'
36 ist_test 6 aes-gcm-16 "12345678901234567890"
/freebsd-current/crypto/openssl/crypto/rand/
H A Drand_local.h13 # include <openssl/aes.h>
/freebsd-current/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
[all...]
/freebsd-current/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 \
35 module/icp/io/aes.c \
71 module/icp/asm-x86_64/aes/aeskey.c \
72 module/icp/asm-x86_64/aes/aes_amd64.S \
73 module/icp/asm-x86_64/aes/aes_aesni.S \
/freebsd-current/tools/regression/ipsec/
H A Dipsec6.t40 aes-ctr:01234567890123456789\
41 aes-ctr:0123456789012345678901234567\
42 aes-ctr:012345678901234567890123456789012345\

Completed in 145 milliseconds

12345