Home
last modified time | relevance | path

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

12345678910>>...12

/third_party/openssl/test/recipes/30-test_evp_data/
Devpciph_aes_ccm_cavs.txt13 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 …]
Devpciph_aes_ocb.txt16 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 …]
Devpciph_aes_common.txt524 Cipher = aes-128-ctr
532 Cipher = aes-128-ctr
540 Cipher = aes-128-ctr
548 Cipher = aes-192-ctr
556 Cipher = aes-192-ctr
564 Cipher = aes-192-ctr
572 Cipher = aes-256-ctr
580 Cipher = aes-256-ctr
588 Cipher = aes-256-ctr
597 Cipher = aes-128-ctr
[all …]
/third_party/node/deps/openssl/openssl/providers/implementations/ciphers/
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, AES, cfb, CFB, 0, 256, 8, 128, stream)
[all …]
/third_party/openssl/providers/implementations/ciphers/
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, AES, cfb, CFB, 0, 256, 8, 128, stream)
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/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 …]
DMakefile22 aes-cbc.o \
23 aes-ccm.o \
24 aes-ctr.o \
25 aes-eax.o \
26 aes-encblock.o \
27 aes-gcm.o \
28 aes-internal.o \
29 aes-internal-dec.o \
30 aes-internal-enc.o \
31 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 …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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 …]
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-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 …]
/third_party/node/deps/openssl/openssl/crypto/aes/
Dbuild.info5 $AESASM_x86=aes-586.S
11 aes-x86_64.s vpaes-x86_64.s bsaes-x86_64.s aesni-x86_64.s \
15 $AESASM_ia64=aes_core.c aes_cbc.c aes-ia64.s
19 aes_core.c aes_cbc.c aes-sparcv9.S aest4-sparcv9.S aesfx-sparcv9.S
22 $AESASM_mips32=aes_cbc.c aes-mips.S
27 $AESASM_s390x=aes-s390x.S
28 # aes-390x.S implements AES_ctr32_encrypt and AES_xts_[en|de]crypt
31 $AESASM_armv4=aes_cbc.c aes-armv4.S bsaes-armv7.S aesv8-armx.S
36 $AESASM_parisc11=aes_core.c aes_cbc.c aes-parisc.s
41 $AESASM_ppc32=aes_core.c aes_cbc.c aes-ppc.s vpaes-ppc.s aesp8-ppc.s
[all …]
/third_party/openssl/crypto/aes/
Dbuild.info5 $AESASM_x86=aes-586.S
11 aes-x86_64.s vpaes-x86_64.s bsaes-x86_64.s aesni-x86_64.s \
15 $AESASM_ia64=aes_core.c aes_cbc.c aes-ia64.s
19 aes_core.c aes_cbc.c aes-sparcv9.S aest4-sparcv9.S aesfx-sparcv9.S
22 $AESASM_mips32=aes_cbc.c aes-mips.S
27 $AESASM_s390x=aes-s390x.S
28 # aes-390x.S implements AES_ctr32_encrypt and AES_xts_[en|de]crypt
31 $AESASM_armv4=aes_cbc.c aes-armv4.S bsaes-armv7.S aesv8-armx.S
36 $AESASM_parisc11=aes_core.c aes_cbc.c aes-parisc.s
41 $AESASM_ppc32=aes_core.c aes_cbc.c aes-ppc.s vpaes-ppc.s aesp8-ppc.s
[all …]
/third_party/openssl/test/ssl-tests/
D13-fragmentation.cnf15 test-10 = 10-large-app-data-aes-sha1-multibuffer
16 test-11 = 11-large-app-data-aes-sha2-multibuffer
17 test-12 = 12-large-app-data-aes-sha1-multibuffer-odd-fragment
18 test-13 = 13-large-app-data-aes-sha2-multibuffer-odd-fragment
19 test-14 = 14-small-app-data-aes-sha1-multibuffer
20 test-15 = 15-small-app-data-aes-sha2-multibuffer
262 [10-large-app-data-aes-sha1-multibuffer]
263 ssl_conf = 10-large-app-data-aes-sha1-multibuffer-ssl
265 [10-large-app-data-aes-sha1-multibuffer-ssl]
266 server = 10-large-app-data-aes-sha1-multibuffer-server
[all …]
/third_party/ffmpeg/libavformat/
Dsrtp.c35 av_freep(&s->aes); in ff_srtp_free()
41 static void encrypt_counter(struct AVAES *aes, uint8_t *iv, uint8_t *outbuf, in encrypt_counter() argument
48 av_aes_crypt(aes, keystream, iv, 1, NULL, 0); in encrypt_counter()
54 static void derive_key(struct AVAES *aes, const uint8_t *salt, int label, in derive_key() argument
62 encrypt_counter(aes, input, out, outlen); in derive_key()
92 s->aes = av_aes_alloc(); in ff_srtp_set_crypto()
94 if (!s->aes || !s->hmac) in ff_srtp_set_crypto()
100 av_aes_init(s->aes, s->master_key, 128, 0); in ff_srtp_set_crypto()
102 derive_key(s->aes, s->master_salt, 0x00, s->rtp_key, sizeof(s->rtp_key)); in ff_srtp_set_crypto()
103 derive_key(s->aes, s->master_salt, 0x02, s->rtp_salt, sizeof(s->rtp_salt)); in ff_srtp_set_crypto()
[all …]
/third_party/node/deps/openssl/openssl/crypto/evp/
De_aes.c954 } aes; member
1709 ctx->aes.ccm.nonce.b[0] &= ~S390X_CCM_AAD_FLAG; in s390x_aes_ccm_setiv()
1710 ctx->aes.ccm.nonce.g[1] = mlen; in s390x_aes_ccm_setiv()
1711 memcpy(ctx->aes.ccm.nonce.b + 1, nonce, 15 - ctx->aes.ccm.l); in s390x_aes_ccm_setiv()
1726 ctx->aes.ccm.nonce.b[0] |= S390X_CCM_AAD_FLAG; in s390x_aes_ccm_aad()
1729 ptr = ctx->aes.ccm.buf.b; in s390x_aes_ccm_aad()
1746 ctx->aes.ccm.buf.b[i] = *aad; in s390x_aes_ccm_aad()
1752 ctx->aes.ccm.buf.b[i] = 0; in s390x_aes_ccm_aad()
1756 ctx->aes.ccm.kmac_param.icv.g[0] = 0; in s390x_aes_ccm_aad()
1757 ctx->aes.ccm.kmac_param.icv.g[1] = 0; in s390x_aes_ccm_aad()
[all …]
/third_party/openssl/crypto/evp/
De_aes.c954 } aes; member
1709 ctx->aes.ccm.nonce.b[0] &= ~S390X_CCM_AAD_FLAG; in s390x_aes_ccm_setiv()
1710 ctx->aes.ccm.nonce.g[1] = mlen; in s390x_aes_ccm_setiv()
1711 memcpy(ctx->aes.ccm.nonce.b + 1, nonce, 15 - ctx->aes.ccm.l); in s390x_aes_ccm_setiv()
1726 ctx->aes.ccm.nonce.b[0] |= S390X_CCM_AAD_FLAG; in s390x_aes_ccm_aad()
1729 ptr = ctx->aes.ccm.buf.b; in s390x_aes_ccm_aad()
1746 ctx->aes.ccm.buf.b[i] = *aad; in s390x_aes_ccm_aad()
1752 ctx->aes.ccm.buf.b[i] = 0; in s390x_aes_ccm_aad()
1756 ctx->aes.ccm.kmac_param.icv.g[0] = 0; in s390x_aes_ccm_aad()
1757 ctx->aes.ccm.kmac_param.icv.g[1] = 0; in s390x_aes_ccm_aad()
[all …]
/third_party/node/deps/openssl/openssl/providers/
Dfips.module.sources1 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 …]
/third_party/openssl/providers/
Dfips.module.sources1 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 …]
Dfips-sources.checksums1 0e22ea0cf34ef3871e30df0bc302dc29352d38001d1622ddb78a27a374b6aee8 crypto/aes/aes_cbc.c
2 c049a936d74100fcced225f575d46662792a6a0039777d2d4df0cf61eff90a68 crypto/aes/aes_core.c
3 3fac41ce96acb9189eac2d5571425c3ff33a34c884ae7e275e1fd3068b5fc662 crypto/aes/aes_ecb.c
4 c1e674d08683a25bc053f6233f73a0d0b3a90aafe591ff57b702c7da1582e4a5 crypto/aes/aes_local.h
5 a2466f18da5847c7d9fbced17524633c10ce024671a72f53f9c9c55b9b9923dd 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 …]
/third_party/ffmpeg/libavutil/
Daes_ctr.c30 struct AVAES* aes; member
71 a->aes = av_aes_alloc(); in av_aes_ctr_init()
72 if (!a->aes) { in av_aes_ctr_init()
76 av_aes_init(a->aes, key, 128, 0); in av_aes_ctr_init()
87 av_freep(&a->aes); in av_aes_ctr_free()
119 av_aes_crypt(a->aes, a->encrypted_counter, a->counter, 1, NULL, 0); in av_aes_ctr_crypt()
/third_party/node/deps/openssl/
Dopenssl.gypi54 'openssl/crypto/aes/aes_cfb.c',
55 'openssl/crypto/aes/aes_ctr.c',
56 'openssl/crypto/aes/aes_ecb.c',
57 'openssl/crypto/aes/aes_ige.c',
58 'openssl/crypto/aes/aes_misc.c',
59 'openssl/crypto/aes/aes_ofb.c',
60 'openssl/crypto/aes/aes_wrap.c',
635 'openssl/crypto/aes/aes_cbc.c',
636 'openssl/crypto/aes/aes_core.c',
651 'asm/x86-elf-gas/aes/aes-586.s',
[all …]
/third_party/openssl/demos/mac/
Dpoly1305.c87 EVP_CIPHER *aes = NULL; in main() local
118 aes = EVP_CIPHER_fetch(library_context, "AES-128-ECB", propq); in main()
119 if (aes == NULL) { in main()
132 if (!EVP_EncryptInit_ex(aesctx, aes, NULL, test_k, NULL)) { in main()
202 EVP_CIPHER_free(aes); in main()

12345678910>>...12