Home
last modified time | relevance | path

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

1234

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/nist/
DNISTObjectIdentifiers.java56 static final ASN1ObjectIdentifier aes = nistAlgorithm.branch("1"); field
59 static final ASN1ObjectIdentifier id_aes128_ECB = aes.branch("1");
61 static final ASN1ObjectIdentifier id_aes128_CBC = aes.branch("2");
63 static final ASN1ObjectIdentifier id_aes128_OFB = aes.branch("3");
65 static final ASN1ObjectIdentifier id_aes128_CFB = aes.branch("4");
67 static final ASN1ObjectIdentifier id_aes128_wrap = aes.branch("5");
69 static final ASN1ObjectIdentifier id_aes128_GCM = aes.branch("6");
71 static final ASN1ObjectIdentifier id_aes128_CCM = aes.branch("7");
73 static final ASN1ObjectIdentifier id_aes128_wrap_pad = aes.branch("8");
76 static final ASN1ObjectIdentifier id_aes192_ECB = aes.branch("21");
[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}
51 aes target
55 aes.c
62 perlasm(aes-x86_64.${ASM_EXT} asm/aes-x86_64.pl)
66 perlasm(aes-586.${ASM_EXT} asm/aes-586.pl)
69 perlasm(aes-armv4.${ASM_EXT} asm/aes-armv4.pl)
/external/boringssl/src/crypto/aes/asm/
Daesni-x86.pl127 eval"&aes${p} ($inout,$rndkey1)";
132 eval"&aes${p}last ($inout,$rndkey1)";
149 eval"&aes${p} ($inout,$rndkey1)";
151 eval"&aes${p} ($inout,$rndkey0)";
154 eval"&aes${p} ($inout,$rndkey1)";
156 eval"&aes${p} ($inout,$rndkey0)";
159 eval"&aes${p} ($inout,$rndkey1)";
161 eval"&aes${p} ($inout,$rndkey0)";
163 eval"&aes${p} ($inout,$rndkey1)";
165 eval"&aes${p} ($inout,$rndkey0)";
[all …]
/external/pdfium/core/fpdfapi/parser/
Dcpdf_security_handler.cpp256 uint8_t* aes = FX_Alloc(uint8_t, 2048); in Revision6_Hash() local
273 CRYPT_AESSetKey(aes, 16, key, 16, true); in Revision6_Hash()
274 CRYPT_AESSetIV(aes, iv); in Revision6_Hash()
275 CRYPT_AESEncrypt(aes, E, content.GetBuffer(), iBufLen); in Revision6_Hash()
304 FX_Free(aes); in Revision6_Hash()
364 std::vector<uint8_t> aes(2048); in AES256_CheckPassword() local
365 CRYPT_AESSetKey(aes.data(), 16, digest, 32, false); in AES256_CheckPassword()
368 CRYPT_AESSetIV(aes.data(), iv); in AES256_CheckPassword()
369 CRYPT_AESDecrypt(aes.data(), key, ekey.raw_str(), 32); in AES256_CheckPassword()
370 CRYPT_AESSetKey(aes.data(), 16, key, 32, false); in AES256_CheckPassword()
[all …]
/external/boringssl/src/ssl/test/runner/
Dticket.go162 encrypted := make([]byte, aes.BlockSize+len(serialized)+sha256.Size)
163 iv := encrypted[:aes.BlockSize]
169 block, err := aes.NewCipher(c.config.SessionTicketKey[:16])
173 cipher.NewCTR(block, iv).XORKeyStream(encrypted[aes.BlockSize:], serialized)
183 if len(encrypted) < aes.BlockSize+sha256.Size {
187 iv := encrypted[:aes.BlockSize]
198 block, err := aes.NewCipher(c.config.SessionTicketKey[:16])
202 ciphertext := encrypted[aes.BlockSize : len(encrypted)-sha256.Size]
/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/boringssl/
Dsources.bp21 "src/crypto/aes/aes.c",
22 "src/crypto/aes/key_wrap.c",
23 "src/crypto/aes/mode_wrappers.c",
291 "linux-aarch64/crypto/aes/aesv8-armx64.S",
302 "linux-arm/crypto/aes/aes-armv4.S",
303 "linux-arm/crypto/aes/aesv8-armx32.S",
304 "linux-arm/crypto/aes/bsaes-armv7.S",
318 "linux-x86/crypto/aes/aes-586.S",
319 "linux-x86/crypto/aes/aesni-x86.S",
320 "linux-x86/crypto/aes/vpaes-x86.S",
[all …]
Dsources.mk19 src/crypto/aes/aes.c\
20 src/crypto/aes/key_wrap.c\
21 src/crypto/aes/mode_wrappers.c\
287 linux-aarch64/crypto/aes/aesv8-armx64.S\
296 linux-arm/crypto/aes/aes-armv4.S\
297 linux-arm/crypto/aes/aesv8-armx32.S\
298 linux-arm/crypto/aes/bsaes-armv7.S\
310 linux-ppc64le/crypto/aes/aesp8-ppc.S\
314 linux-x86/crypto/aes/aes-586.S\
315 linux-x86/crypto/aes/aesni-x86.S\
[all …]
DAndroid.bp46 "linux-arm/crypto/aes/aes-armv4.S",
47 "linux-arm/crypto/aes/bsaes-armv7.S",
/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))
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))
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))
Dikev2pI2.out5 (t: #1 type=encr id=aes )
10 (t: #1 type=encr id=aes )
/external/lzma/C/
DAes.h23 typedef void (MY_FAST_CALL *AES_SET_KEY_FUNC)(UInt32 *aes, const Byte *key, unsigned keySize);
24 void MY_FAST_CALL Aes_SetKey_Enc(UInt32 *aes, const Byte *key, unsigned keySize);
25 void MY_FAST_CALL Aes_SetKey_Dec(UInt32 *aes, const Byte *key, unsigned keySize);
/external/v8/tools/perf/
Dstatistics-for-json.R61 hist <- ggplot(data=data.frame(x=as.integer(patch_res)), aes(x)) +
69 hist <- ggplot(data=data.frame(x=as.integer(nopatch_res)), aes(x)) +
96 speedup <- ggplot(df2, aes(x = x, y = E, colour=p.value.sig)) +
97 geom_errorbar(aes(ymax = L, ymin = R), colour="black") +
/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/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/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/valgrind/none/tests/amd64/
DMakefile.am24 aes.vgtest aes.stdout.exp aes.stderr.exp \
129 pcmpstr64 pcmpxstrx64 sse4-64 crc32 aes \ program

1234