Home
last modified time | relevance | path

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

123

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/nist/
DNISTObjectIdentifiers.java35 static final ASN1ObjectIdentifier aes = nistAlgorithm.branch("1"); field
38 static final ASN1ObjectIdentifier id_aes128_ECB = aes.branch("1");
40 static final ASN1ObjectIdentifier id_aes128_CBC = aes.branch("2");
42 static final ASN1ObjectIdentifier id_aes128_OFB = aes.branch("3");
44 static final ASN1ObjectIdentifier id_aes128_CFB = aes.branch("4");
46 static final ASN1ObjectIdentifier id_aes128_wrap = aes.branch("5");
48 static final ASN1ObjectIdentifier id_aes128_GCM = aes.branch("6");
50 static final ASN1ObjectIdentifier id_aes128_CCM = aes.branch("7");
53 static final ASN1ObjectIdentifier id_aes192_ECB = aes.branch("21");
55 static final ASN1ObjectIdentifier id_aes192_CBC = aes.branch("22");
[all …]
/external/wpa_supplicant_8/src/crypto/
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 …]
DMakefile19 aes-cbc.o \
20 aes-ccm.o \
21 aes-ctr.o \
22 aes-eax.o \
23 aes-encblock.o \
24 aes-gcm.o \
25 aes-internal.o \
26 aes-internal-dec.o \
27 aes-internal-enc.o \
28 aes-omac1.o \
[all …]
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 …]
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 …]
/external/boringssl/src/crypto/aes/
DCMakeLists.txt7 aes-x86_64.${ASM_EXT}
18 aes-586.${ASM_EXT}
28 aes-armv4.${ASM_EXT}
43 aes target
47 aes.c
53 perlasm(aes-x86_64.${ASM_EXT} asm/aes-x86_64.pl)
57 perlasm(aes-586.${ASM_EXT} asm/aes-586.pl)
60 perlasm(aes-armv4.${ASM_EXT} asm/aes-armv4.pl)
/external/boringssl/
Dsources.mk19 src/crypto/aes/aes.c\
20 src/crypto/aes/mode_wrappers.c\
326 linux-aarch64/crypto/aes/aesv8-armx.S\
333 linux-arm/crypto/aes/aes-armv4.S\
334 linux-arm/crypto/aes/aesv8-armx.S\
335 linux-arm/crypto/aes/bsaes-armv7.S\
347 linux-x86/crypto/aes/aes-586.S\
348 linux-x86/crypto/aes/aesni-x86.S\
349 linux-x86/crypto/aes/vpaes-x86.S\
362 linux-x86_64/crypto/aes/aes-x86_64.S\
[all …]
/external/boringssl/src/crypto/aes/asm/
Daesni-x86.pl121 eval"&aes${p} ($inout,$rndkey1)";
126 eval"&aes${p}last ($inout,$rndkey1)";
143 eval"&aes${p} ($inout,$rndkey1)";
145 eval"&aes${p} ($inout,$rndkey0)";
148 eval"&aes${p} ($inout,$rndkey1)";
150 eval"&aes${p} ($inout,$rndkey0)";
153 eval"&aes${p} ($inout,$rndkey1)";
155 eval"&aes${p} ($inout,$rndkey0)";
157 eval"&aes${p} ($inout,$rndkey1)";
159 eval"&aes${p} ($inout,$rndkey0)";
[all …]
/external/boringssl/src/ssl/test/runner/
Dticket.go174 encrypted := make([]byte, aes.BlockSize+len(serialized)+sha256.Size)
175 iv := encrypted[:aes.BlockSize]
181 block, err := aes.NewCipher(c.config.SessionTicketKey[:16])
185 cipher.NewCTR(block, iv).XORKeyStream(encrypted[aes.BlockSize:], serialized)
195 if len(encrypted) < aes.BlockSize+sha256.Size {
199 iv := encrypted[:aes.BlockSize]
210 block, err := aes.NewCipher(c.config.SessionTicketKey[:16])
214 ciphertext := encrypted[aes.BlockSize : len(encrypted)-sha256.Size]
Dcipher_suites.go145 block, _ := aes.NewCipher(key)
230 aes, err := aes.NewCipher(key)
234 aead, err := cipher.NewGCM(aes)
/external/boringssl/src/crypto/obj/
Dobjects.txt849 !Alias aes nistAlgorithms 1
851 aes 1 : AES-128-ECB : aes-128-ecb
852 aes 2 : AES-128-CBC : aes-128-cbc
853 !Cname aes-128-ofb128
854 aes 3 : AES-128-OFB : aes-128-ofb
855 !Cname aes-128-cfb128
856 aes 4 : AES-128-CFB : aes-128-cfb
857 aes 5 : id-aes128-wrap
858 aes 6 : id-aes128-GCM : aes-128-gcm
859 aes 7 : id-aes128-CCM : aes-128-ccm
[all …]
/external/tcpdump/tests/
Dikev2four.out5 (t: #1 type=encr id=aes (type=keylen value=0080))
6 (t: #2 type=encr id=aes (type=keylen value=0100))
7 (t: #3 type=encr id=aes (type=keylen value=00c0))
14 (t: #10 type=integ id=aes-xcbc )
29 (t: #1 type=encr id=aes (type=keylen value=0080))
30 (t: #2 type=encr id=aes (type=keylen value=0100))
31 (t: #3 type=encr id=aes (type=keylen value=00c0))
38 (t: #10 type=integ id=aes-xcbc )
49 (t: #1 type=encr id=aes (type=keylen value=0080))
Dikev2fourv4.out5 (t: #1 type=encr id=aes (type=keylen value=0080))
6 (t: #2 type=encr id=aes (type=keylen value=0100))
7 (t: #3 type=encr id=aes (type=keylen value=00c0))
14 (t: #10 type=integ id=aes-xcbc )
29 (t: #1 type=encr id=aes (type=keylen value=0080))
30 (t: #2 type=encr id=aes (type=keylen value=0100))
31 (t: #3 type=encr id=aes (type=keylen value=00c0))
38 (t: #10 type=integ id=aes-xcbc )
49 (t: #1 type=encr id=aes (type=keylen value=0080))
Dikev2fourv.out5 (t: #1 type=encr id=aes (type=keylen value=0080))
6 (t: #2 type=encr id=aes (type=keylen value=0100))
7 (t: #3 type=encr id=aes (type=keylen value=00c0))
14 (t: #10 type=integ id=aes-xcbc )
29 (t: #1 type=encr id=aes (type=keylen value=0080))
30 (t: #2 type=encr id=aes (type=keylen value=0100))
31 (t: #3 type=encr id=aes (type=keylen value=00c0))
38 (t: #10 type=integ id=aes-xcbc )
49 (t: #1 type=encr id=aes (type=keylen value=0080))
Dikev2pI2.out5 (t: #1 type=encr id=aes )
10 (t: #1 type=encr id=aes )
/external/pdfium/core/src/fpdfapi/fpdf_parser/
Dfpdf_parser_encrypt.cpp238 FX_LPBYTE aes = FX_Alloc(FX_BYTE, 2048); in Revision6_Hash() local
255 CRYPT_AESSetKey(aes, 16, key, 16, TRUE); in Revision6_Hash()
256 CRYPT_AESSetIV(aes, iv); in Revision6_Hash()
257 CRYPT_AESEncrypt(aes, E, content.GetBuffer(), iBufLen); in Revision6_Hash()
286 FX_Free(aes); in Revision6_Hash()
337 FX_BYTE* aes = FX_Alloc(FX_BYTE, 2048); in AES256_CheckPassword() local
338 CRYPT_AESSetKey(aes, 16, digest, 32, FALSE); in AES256_CheckPassword()
341 CRYPT_AESSetIV(aes, iv); in AES256_CheckPassword()
342 CRYPT_AESDecrypt(aes, key, ekey, 32); in AES256_CheckPassword()
343 CRYPT_AESSetKey(aes, 16, key, 32, FALSE); in AES256_CheckPassword()
[all …]
/external/ipsec-tools/src/racoon/samples/roadwarrior/client/
Dracoon.conf19 encryption_algorithm aes;
30 encryption_algorithm aes;
/external/ipsec-tools/src/racoon/samples/roadwarrior/server/
Dracoon.conf17 encryption_algorithm aes;
38 encryption_algorithm aes;
Dracoon.conf-radius17 encryption_algorithm aes;
38 encryption_algorithm aes;
/external/wpa_supplicant_8/wpa_supplicant/
Dnmake.mak69 $(OBJDIR)\aes-cbc.obj \
70 $(OBJDIR)\aes-ctr.obj \
71 $(OBJDIR)\aes-eax.obj \
72 $(OBJDIR)\aes-encblock.obj \
73 $(OBJDIR)\aes-omac1.obj \
74 $(OBJDIR)\aes-unwrap.obj \
75 $(OBJDIR)\aes-wrap.obj \
/external/llvm/test/LTO/X86/
Dattrs.ll2 ; RUN: llvm-lto -exported-symbol=test_x86_aesni_aeskeygenassist -mattr=+aes -o %t2 %t1
4 ; RUN: not llvm-lto -exported-symbol=test_x86_aesni_aeskeygenassist -mattr=-aes -o %t3 %t1 2>&1 | F…
/external/clang/lib/Headers/
Dmodule.modulemap158 requires aes, pclmul
162 explicit module aes {
163 requires aes
/external/valgrind/none/tests/amd64/
DMakefile.am24 aes.vgtest aes.stdout.exp aes.stderr.exp \
114 pcmpstr64 pcmpxstrx64 sse4-64 crc32 aes \ program
/external/wpa_supplicant_8/hostapd/
DMakefile661 AESOBJS += ../src/crypto/aes-internal.o ../src/crypto/aes-internal-enc.o
665 AESOBJS += ../src/crypto/aes-wrap.o
668 AESOBJS += ../src/crypto/aes-eax.o
672 AESOBJS += ../src/crypto/aes-ctr.o
675 AESOBJS += ../src/crypto/aes-encblock.o
678 AESOBJS += ../src/crypto/aes-omac1.o
683 AESOBJS += ../src/crypto/aes-unwrap.o
689 AESOBJS += ../src/crypto/aes-cbc.o
694 AESOBJS += ../src/crypto/aes-internal-dec.o
981 HOBJS += ../src/crypto/aes-encblock.o
[all …]
/external/srtp/
DTODO33 - the aes-f8-mode cipher
46 Fix the x86 assembly code in aes.c.

123