Home
last modified time | relevance | path

Searched refs:gcm (Results 1 – 25 of 100) sorted by relevance

1234

/third_party/mbedtls/tests/suites/
Dtest_suite_gcm.camellia.data1 Camellia-GCM test vect draft-kato-ipsec-camellia-gcm #1 (128-en)
5 Camellia-GCM test vect draft-kato-ipsec-camellia-gcm #2 (128-en)
9 Camellia-GCM test vect draft-kato-ipsec-camellia-gcm #3 (128-en)
13 Camellia-GCM test vect draft-kato-ipsec-camellia-gcm #4 (128-en)
17 Camellia-GCM test vect draft-kato-ipsec-camellia-gcm #5 (128-en)
21 Camellia-GCM test vect draft-kato-ipsec-camellia-gcm #6 (128-en)
25 Camellia-GCM test vect draft-kato-ipsec-camellia-gcm #7 (192-en)
29 Camellia-GCM test vect draft-kato-ipsec-camellia-gcm #8 (192-en)
33 Camellia-GCM test vect draft-kato-ipsec-camellia-gcm #9 (192-en)
37 Camellia-GCM test vect draft-kato-ipsec-camellia-gcm #10 (192-en)
[all …]
/third_party/node/deps/openssl/openssl/providers/implementations/ciphers/
Dcipher_aes_gcm_hw.c71 size_t res = (16 - ctx->gcm.mres) % 16; in generic_aes_gcm_cipher_update()
73 if (CRYPTO_gcm128_encrypt(&ctx->gcm, in, out, res)) in generic_aes_gcm_cipher_update()
77 ctx->gcm.key, in generic_aes_gcm_cipher_update()
78 ctx->gcm.Yi.c, ctx->gcm.Xi.u); in generic_aes_gcm_cipher_update()
80 ctx->gcm.len.u[1] += bulk; in generic_aes_gcm_cipher_update()
83 if (CRYPTO_gcm128_encrypt_ctr32(&ctx->gcm, in + bulk, out + bulk, in generic_aes_gcm_cipher_update()
87 if (CRYPTO_gcm128_encrypt_ctr32(&ctx->gcm, in, out, len, ctx->ctr)) in generic_aes_gcm_cipher_update()
91 if (CRYPTO_gcm128_encrypt(&ctx->gcm, in, out, len)) in generic_aes_gcm_cipher_update()
100 size_t res = (16 - ctx->gcm.mres) % 16; in generic_aes_gcm_cipher_update()
102 if (CRYPTO_gcm128_decrypt(&ctx->gcm, in, out, res)) in generic_aes_gcm_cipher_update()
[all …]
Dciphercommon_gcm_hw.c16 CRYPTO_gcm128_setiv(&ctx->gcm, iv, ivlen); in ossl_gcm_setiv()
23 return CRYPTO_gcm128_aad(&ctx->gcm, aad, aad_len) == 0; in ossl_gcm_aad_update()
30 if (CRYPTO_gcm128_encrypt(&ctx->gcm, in, out, len)) in ossl_gcm_cipher_update()
33 if (CRYPTO_gcm128_decrypt(&ctx->gcm, in, out, len)) in ossl_gcm_cipher_update()
42 CRYPTO_gcm128_tag(&ctx->gcm, tag, GCM_TAG_MAX_SIZE); in ossl_gcm_cipher_final()
45 if (CRYPTO_gcm128_finish(&ctx->gcm, tag, ctx->taglen) != 0) in ossl_gcm_cipher_final()
Dcipher_aria_gcm.c39 IMPLEMENT_aead_cipher(aria, gcm, GCM, AEAD_FLAGS, 128, 8, 96);
41 IMPLEMENT_aead_cipher(aria, gcm, GCM, AEAD_FLAGS, 192, 8, 96);
43 IMPLEMENT_aead_cipher(aria, gcm, GCM, AEAD_FLAGS, 256, 8, 96);
Dcipher_aes_gcm.c46 IMPLEMENT_aead_cipher(aes, gcm, GCM, AEAD_FLAGS, 128, 8, 96);
48 IMPLEMENT_aead_cipher(aes, gcm, GCM, AEAD_FLAGS, 192, 8, 96);
50 IMPLEMENT_aead_cipher(aes, gcm, GCM, AEAD_FLAGS, 256, 8, 96);
/third_party/openssl/providers/implementations/ciphers/
Dcipher_aes_gcm_hw.c71 size_t res = (16 - ctx->gcm.mres) % 16; in generic_aes_gcm_cipher_update()
73 if (CRYPTO_gcm128_encrypt(&ctx->gcm, in, out, res)) in generic_aes_gcm_cipher_update()
77 ctx->gcm.key, in generic_aes_gcm_cipher_update()
78 ctx->gcm.Yi.c, ctx->gcm.Xi.u); in generic_aes_gcm_cipher_update()
80 ctx->gcm.len.u[1] += bulk; in generic_aes_gcm_cipher_update()
83 if (CRYPTO_gcm128_encrypt_ctr32(&ctx->gcm, in + bulk, out + bulk, in generic_aes_gcm_cipher_update()
87 if (CRYPTO_gcm128_encrypt_ctr32(&ctx->gcm, in, out, len, ctx->ctr)) in generic_aes_gcm_cipher_update()
91 if (CRYPTO_gcm128_encrypt(&ctx->gcm, in, out, len)) in generic_aes_gcm_cipher_update()
100 size_t res = (16 - ctx->gcm.mres) % 16; in generic_aes_gcm_cipher_update()
102 if (CRYPTO_gcm128_decrypt(&ctx->gcm, in, out, res)) in generic_aes_gcm_cipher_update()
[all …]
Dciphercommon_gcm_hw.c16 CRYPTO_gcm128_setiv(&ctx->gcm, iv, ivlen); in ossl_gcm_setiv()
23 return CRYPTO_gcm128_aad(&ctx->gcm, aad, aad_len) == 0; in ossl_gcm_aad_update()
30 if (CRYPTO_gcm128_encrypt(&ctx->gcm, in, out, len)) in ossl_gcm_cipher_update()
33 if (CRYPTO_gcm128_decrypt(&ctx->gcm, in, out, len)) in ossl_gcm_cipher_update()
42 CRYPTO_gcm128_tag(&ctx->gcm, tag, GCM_TAG_MAX_SIZE); in ossl_gcm_cipher_final()
45 if (CRYPTO_gcm128_finish(&ctx->gcm, tag, ctx->taglen) != 0) in ossl_gcm_cipher_final()
Dcipher_aria_gcm.c39 IMPLEMENT_aead_cipher(aria, gcm, GCM, AEAD_FLAGS, 128, 8, 96);
41 IMPLEMENT_aead_cipher(aria, gcm, GCM, AEAD_FLAGS, 192, 8, 96);
43 IMPLEMENT_aead_cipher(aria, gcm, GCM, AEAD_FLAGS, 256, 8, 96);
Dcipher_aes_gcm.c46 IMPLEMENT_aead_cipher(aes, gcm, GCM, AEAD_FLAGS, 128, 8, 96);
48 IMPLEMENT_aead_cipher(aes, gcm, GCM, AEAD_FLAGS, 192, 8, 96);
50 IMPLEMENT_aead_cipher(aes, gcm, GCM, AEAD_FLAGS, 256, 8, 96);
/third_party/mesa3d/src/gallium/drivers/r600/sb/
Dsb_gcm.cpp44 int gcm::run() { in run()
107 void gcm::collect_instructions(container_node *c, bool early_pass) { in collect_instructions()
131 void gcm::sched_early(container_node *n) { in sched_early()
161 void gcm::td_schedule(bb_node *bb, node *n) { in td_schedule()
175 void gcm::td_sched_bb(bb_node* bb) { in td_sched_bb()
190 bool gcm::td_is_ready(node* n) { in td_is_ready()
194 void gcm::td_release_val(value *v) { in td_release_val()
229 void gcm::td_release_uses(vvec& v) { in td_release_uses()
242 void gcm::sched_late(container_node *n) { in sched_late()
285 void gcm::bu_sched_bb(bb_node* bb) { in bu_sched_bb()
[all …]
/third_party/openssl/crypto/evp/
De_aria.c36 GCM128_CONTEXT gcm; member
227 CRYPTO_gcm128_init(&gctx->gcm, &gctx->ks, in aria_gcm_init_key()
240 CRYPTO_gcm128_setiv(&gctx->gcm, iv, gctx->ivlen); in aria_gcm_init_key()
247 CRYPTO_gcm128_setiv(&gctx->gcm, iv, gctx->ivlen); in aria_gcm_init_key()
328 CRYPTO_gcm128_setiv(&gctx->gcm, gctx->iv, gctx->ivlen); in aria_gcm_ctrl()
345 CRYPTO_gcm128_setiv(&gctx->gcm, gctx->iv, gctx->ivlen); in aria_gcm_ctrl()
379 if (gctx->gcm.key) { in aria_gcm_ctrl()
380 if (gctx->gcm.key != &gctx->ks) in aria_gcm_ctrl()
382 gctx_out->gcm.key = &gctx_out->ks; in aria_gcm_ctrl()
421 if (CRYPTO_gcm128_aad(&gctx->gcm, EVP_CIPHER_CTX_buf_noconst(ctx), in aria_gcm_tls_cipher()
[all …]
De_aes.c51 GCM128_CONTEXT gcm; member
139 # define AES_GCM_ASM2(gctx) (gctx->gcm.block==(block128_f)aesni_encrypt && \
140 gctx->gcm.ghash==gcm_ghash_avx)
232 CRYPTO_gcm128_init(&gctx->gcm, &gctx->ks, (block128_f) aesni_encrypt); in aesni_gcm_init_key()
240 CRYPTO_gcm128_setiv(&gctx->gcm, iv, gctx->ivlen); in aesni_gcm_init_key()
247 CRYPTO_gcm128_setiv(&gctx->gcm, iv, gctx->ivlen); in aesni_gcm_init_key()
555 CRYPTO_gcm128_init(&gctx->gcm, &gctx->ks, in aes_t4_gcm_init_key()
576 CRYPTO_gcm128_setiv(&gctx->gcm, iv, gctx->ivlen); in aes_t4_gcm_init_key()
583 CRYPTO_gcm128_setiv(&gctx->gcm, iv, gctx->ivlen); in aes_t4_gcm_init_key()
2562 OPENSSL_cleanse(&gctx->gcm, sizeof(gctx->gcm)); in aes_gcm_cleanup()
[all …]
/third_party/node/deps/openssl/openssl/crypto/evp/
De_aria.c36 GCM128_CONTEXT gcm; member
227 CRYPTO_gcm128_init(&gctx->gcm, &gctx->ks, in aria_gcm_init_key()
240 CRYPTO_gcm128_setiv(&gctx->gcm, iv, gctx->ivlen); in aria_gcm_init_key()
247 CRYPTO_gcm128_setiv(&gctx->gcm, iv, gctx->ivlen); in aria_gcm_init_key()
328 CRYPTO_gcm128_setiv(&gctx->gcm, gctx->iv, gctx->ivlen); in aria_gcm_ctrl()
345 CRYPTO_gcm128_setiv(&gctx->gcm, gctx->iv, gctx->ivlen); in aria_gcm_ctrl()
379 if (gctx->gcm.key) { in aria_gcm_ctrl()
380 if (gctx->gcm.key != &gctx->ks) in aria_gcm_ctrl()
382 gctx_out->gcm.key = &gctx_out->ks; in aria_gcm_ctrl()
421 if (CRYPTO_gcm128_aad(&gctx->gcm, EVP_CIPHER_CTX_buf_noconst(ctx), in aria_gcm_tls_cipher()
[all …]
De_aes.c51 GCM128_CONTEXT gcm; member
139 # define AES_GCM_ASM2(gctx) (gctx->gcm.block==(block128_f)aesni_encrypt && \
140 gctx->gcm.ghash==gcm_ghash_avx)
232 CRYPTO_gcm128_init(&gctx->gcm, &gctx->ks, (block128_f) aesni_encrypt); in aesni_gcm_init_key()
240 CRYPTO_gcm128_setiv(&gctx->gcm, iv, gctx->ivlen); in aesni_gcm_init_key()
247 CRYPTO_gcm128_setiv(&gctx->gcm, iv, gctx->ivlen); in aesni_gcm_init_key()
555 CRYPTO_gcm128_init(&gctx->gcm, &gctx->ks, in aes_t4_gcm_init_key()
576 CRYPTO_gcm128_setiv(&gctx->gcm, iv, gctx->ivlen); in aes_t4_gcm_init_key()
583 CRYPTO_gcm128_setiv(&gctx->gcm, iv, gctx->ivlen); in aes_t4_gcm_init_key()
2562 OPENSSL_cleanse(&gctx->gcm, sizeof(gctx->gcm)); in aes_gcm_cleanup()
[all …]
/third_party/openssl/test/recipes/30-test_evp_data/
Devpciph_aes_common.txt635 …st vectors from http://csrc.nist.gov/groups/ST/toolkit/BCM/documents/proposedmodes/gcm/gcm-spec.pdf
636 Cipher = aes-128-gcm
644 Cipher = aes-128-gcm
653 Cipher = aes-128-gcm
662 Cipher = aes-128-gcm
671 Cipher = aes-128-gcm
679 Cipher = aes-128-gcm
687 Cipher = aes-128-gcm
697 Cipher = aes-192-gcm
705 Cipher = aes-192-gcm
[all …]
/third_party/node/deps/openssl/openssl/crypto/modes/
Dbuild.info7 $MODESASM_x86_64=ghash-x86_64.s aesni-gcm-x86_64.s
27 $MODESASM_aarch64=ghashv8-armx.S aes-gcm-armv8_64.S
68 GENERATE[aesni-gcm-x86_64.s]=asm/aesni-gcm-x86_64.pl
78 GENERATE[aes-gcm-armv8_64.S]=asm/aes-gcm-armv8_64.pl
79 INCLUDE[aes-gcm-armv8_64.o]=..
/third_party/openssl/crypto/modes/
Dbuild.info7 $MODESASM_x86_64=ghash-x86_64.s aesni-gcm-x86_64.s
27 $MODESASM_aarch64=ghashv8-armx.S aes-gcm-armv8_64.S
68 GENERATE[aesni-gcm-x86_64.s]=asm/aesni-gcm-x86_64.pl
78 GENERATE[aes-gcm-armv8_64.S]=asm/aes-gcm-armv8_64.pl
79 INCLUDE[aes-gcm-armv8_64.o]=..
/third_party/mbedtls/library/
Dpsa_crypto_aead.c92 mbedtls_gcm_init(&operation->ctx.gcm); in psa_aead_setup()
94 mbedtls_gcm_setkey(&operation->ctx.gcm, cipher_id, in psa_aead_setup()
176 mbedtls_gcm_crypt_and_tag(&operation.ctx.gcm, in mbedtls_psa_aead_encrypt()
287 mbedtls_gcm_auth_decrypt(&operation.ctx.gcm, in mbedtls_psa_aead_decrypt()
388 mbedtls_gcm_starts(&operation->ctx.gcm, in mbedtls_psa_aead_set_nonce()
470 mbedtls_gcm_update_ad(&operation->ctx.gcm, input, input_length)); in mbedtls_psa_aead_update_ad()
516 mbedtls_gcm_update(&operation->ctx.gcm, in mbedtls_psa_aead_update()
584 mbedtls_gcm_finish(&operation->ctx.gcm, in mbedtls_psa_aead_finish()
650 mbedtls_gcm_free(&operation->ctx.gcm); in mbedtls_psa_aead_abort()
/third_party/python/Tools/msi/
Duploadrelease.ps156 $t = gcm $n -EA 0 in find-putty-tool()
57 if (-not $t) { $t = gcm ".\$n" -EA 0 } in find-putty-tool()
58 if (-not $t) { $t = gcm "${env:ProgramFiles}\PuTTY\$n" -EA 0 } in find-putty-tool()
59 if (-not $t) { $t = gcm "${env:ProgramFiles(x86)}\PuTTY\$n" -EA 0 } in find-putty-tool()
/third_party/node/deps/openssl/openssl/providers/implementations/include/prov/
Dciphercommon_gcm.h76 GCM128_CONTEXT gcm; member
127 CRYPTO_gcm128_init(&ctx->gcm, ks, (block128_f)fn_block); \
/third_party/openssl/providers/implementations/include/prov/
Dciphercommon_gcm.h76 GCM128_CONTEXT gcm; member
127 CRYPTO_gcm128_init(&ctx->gcm, ks, (block128_f)fn_block); \
/third_party/mesa3d/src/freedreno/ir3/
Dir3_nir.c103 static int gcm = -1; in ir3_optimize_loop() local
104 if (gcm == -1) in ir3_optimize_loop()
105 gcm = env_var_as_unsigned("GCM", 0); in ir3_optimize_loop()
106 if (gcm == 1) in ir3_optimize_loop()
108 else if (gcm == 2) in ir3_optimize_loop()
/third_party/mbedtls/programs/test/
Dbenchmark.c734 mbedtls_gcm_context gcm; in main() local
736 mbedtls_gcm_init(&gcm); in main()
742 mbedtls_gcm_setkey(&gcm, MBEDTLS_CIPHER_ID_AES, tmp, keysize); in main()
745 mbedtls_gcm_crypt_and_tag(&gcm, MBEDTLS_GCM_ENCRYPT, BUFSIZE, tmp, in main()
748 mbedtls_gcm_free(&gcm); in main()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
DMakefile16 aes-gcm.o \
/third_party/mbedtls/include/psa/
Dcrypto_builtin_composites.h98 mbedtls_gcm_context MBEDTLS_PRIVATE(gcm);

1234