Home
last modified time | relevance | path

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

1234

/external/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 …]
/external/libsrtp2/crypto/cipher/
Daes_gcm_ossl.c81 srtp_aes_gcm_ctx_t *gcm; in srtp_aes_gcm_openssl_alloc() local
105 gcm = (srtp_aes_gcm_ctx_t *)srtp_crypto_alloc(sizeof(srtp_aes_gcm_ctx_t)); in srtp_aes_gcm_openssl_alloc()
106 if (gcm == NULL) { in srtp_aes_gcm_openssl_alloc()
112 gcm->ctx = EVP_CIPHER_CTX_new(); in srtp_aes_gcm_openssl_alloc()
113 if (gcm->ctx == NULL) { in srtp_aes_gcm_openssl_alloc()
114 srtp_crypto_free(gcm); in srtp_aes_gcm_openssl_alloc()
121 (*c)->state = gcm; in srtp_aes_gcm_openssl_alloc()
128 gcm->key_size = SRTP_AES_128_KEY_LEN; in srtp_aes_gcm_openssl_alloc()
129 gcm->tag_len = tlen; in srtp_aes_gcm_openssl_alloc()
134 gcm->key_size = SRTP_AES_256_KEY_LEN; in srtp_aes_gcm_openssl_alloc()
[all …]
Daes_gcm_nss.c83 srtp_aes_gcm_ctx_t *gcm; in srtp_aes_gcm_nss_alloc() local
118 gcm = (srtp_aes_gcm_ctx_t *)srtp_crypto_alloc(sizeof(srtp_aes_gcm_ctx_t)); in srtp_aes_gcm_nss_alloc()
119 if (gcm == NULL) { in srtp_aes_gcm_nss_alloc()
126 gcm->nss = nss; in srtp_aes_gcm_nss_alloc()
129 (*c)->state = gcm; in srtp_aes_gcm_nss_alloc()
136 gcm->key_size = SRTP_AES_128_KEY_LEN; in srtp_aes_gcm_nss_alloc()
137 gcm->tag_size = tlen; in srtp_aes_gcm_nss_alloc()
138 gcm->params.ulTagBits = 8 * tlen; in srtp_aes_gcm_nss_alloc()
143 gcm->key_size = SRTP_AES_256_KEY_LEN; in srtp_aes_gcm_nss_alloc()
144 gcm->tag_size = tlen; in srtp_aes_gcm_nss_alloc()
[all …]
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/modes/
Dgcm_test.cc167 GCM128_CONTEXT gcm; in TEST() local
168 memset(&gcm, 0, sizeof(gcm)); in TEST()
169 memcpy(&gcm.gcm_key.H, kH, sizeof(kH)); in TEST()
170 memcpy(&gcm.gcm_key.Htable, Htable, sizeof(Htable)); in TEST()
171 memcpy(&gcm.Xi, X, sizeof(X)); in TEST()
177 gcm.Xi.u); in TEST()
179 gcm.Xi.u); in TEST()
184 gcm.Xi.u); in TEST()
186 gcm.Xi.u); in TEST()
/external/boringssl/src/crypto/fipsmodule/modes/
Dgcm_test.cc167 GCM128_CONTEXT gcm; in TEST() local
168 memset(&gcm, 0, sizeof(gcm)); in TEST()
169 memcpy(&gcm.gcm_key.H, kH, sizeof(kH)); in TEST()
170 memcpy(&gcm.gcm_key.Htable, Htable, sizeof(Htable)); in TEST()
171 memcpy(&gcm.Xi, X, sizeof(X)); in TEST()
177 gcm.Xi.u); in TEST()
179 gcm.Xi.u); in TEST()
184 gcm.Xi.u); in TEST()
186 gcm.Xi.u); in TEST()
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/cipher/
De_aes.c126 GCM128_CONTEXT gcm; member
355 OPENSSL_memset(&gctx->gcm, 0, sizeof(gctx->gcm)); in aes_gcm_init_key()
356 gctx->ctr = aes_ctr_set_key(&gctx->ks.ks, &gctx->gcm.gcm_key, NULL, key, in aes_gcm_init_key()
363 CRYPTO_gcm128_setiv(&gctx->gcm, &gctx->ks.ks, iv, gctx->ivlen); in aes_gcm_init_key()
370 CRYPTO_gcm128_setiv(&gctx->gcm, &gctx->ks.ks, iv, gctx->ivlen); in aes_gcm_init_key()
382 OPENSSL_cleanse(&gctx->gcm, sizeof(gctx->gcm)); in aes_gcm_cleanup()
474 CRYPTO_gcm128_setiv(&gctx->gcm, &gctx->ks.ks, gctx->iv, gctx->ivlen); in aes_gcm_ctrl()
491 CRYPTO_gcm128_setiv(&gctx->gcm, &gctx->ks.ks, gctx->iv, gctx->ivlen); in aes_gcm_ctrl()
532 if (!CRYPTO_gcm128_aad(&gctx->gcm, in, len)) { in aes_gcm_cipher()
537 if (!CRYPTO_gcm128_encrypt_ctr32(&gctx->gcm, &gctx->ks.ks, in, out, len, in aes_gcm_cipher()
[all …]
/external/boringssl/src/crypto/fipsmodule/cipher/
De_aes.c128 GCM128_CONTEXT gcm; member
357 OPENSSL_memset(&gctx->gcm, 0, sizeof(gctx->gcm)); in aes_gcm_init_key()
358 gctx->ctr = aes_ctr_set_key(&gctx->ks.ks, &gctx->gcm.gcm_key, NULL, key, in aes_gcm_init_key()
365 CRYPTO_gcm128_setiv(&gctx->gcm, &gctx->ks.ks, iv, gctx->ivlen); in aes_gcm_init_key()
372 CRYPTO_gcm128_setiv(&gctx->gcm, &gctx->ks.ks, iv, gctx->ivlen); in aes_gcm_init_key()
384 OPENSSL_cleanse(&gctx->gcm, sizeof(gctx->gcm)); in aes_gcm_cleanup()
476 CRYPTO_gcm128_setiv(&gctx->gcm, &gctx->ks.ks, gctx->iv, gctx->ivlen); in aes_gcm_ctrl()
493 CRYPTO_gcm128_setiv(&gctx->gcm, &gctx->ks.ks, gctx->iv, gctx->ivlen); in aes_gcm_ctrl()
534 if (!CRYPTO_gcm128_aad(&gctx->gcm, in, len)) { in aes_gcm_cipher()
539 if (!CRYPTO_gcm128_encrypt_ctr32(&gctx->gcm, &gctx->ks.ks, in, out, len, in aes_gcm_cipher()
[all …]
/external/rust/crates/ring/src/aead/
Daes_gcm.rs17 gcm, shift, Aad, Block, Direction, Nonce, Tag, BLOCK_LEN,
42 gcm_key: gcm::Key, // First because it has a large alignment requirement.
60 let gcm_key = gcm::Key::new(aes_key.encrypt_block(Block::zero()), cpu_features); in init()
112 let mut gcm_ctx = gcm::Context::new(gcm_key, aad, cpu_features); in aead()
202 gcm_ctx: &mut gcm::Context, in integrated_aes_gcm()
223 gcm: &mut gcm::ContextInner, in integrated_aes_gcm()
245 gcm: &mut gcm::ContextInner, in integrated_aes_gcm()
268 _: &mut gcm::Context, in integrated_aes_gcm()
/external/conscrypt/common/src/test/resources/crypto/
Dbuild_test_files.sh26 echo "$1"/gcm*.rsp | tr ' ' '\n' | grep -v gcm_siv | xargs cat | parse_records.py > aes-gcm.csv
28 cat "$1"/gcm_siv*.rsp | parse_records.py --noheader > aes-gcm-siv.csv
/external/python/cpython3/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()
/external/boringssl/src/crypto/cipher_extra/test/
Daes_192_gcm_tests.txt1 …tors from NIST: http://csrc.nist.gov/groups/ST/toolkit/BCM/documents/proposedmodes/gcm/gcm-spec.pdf
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/modes/
DGCMBlockCipher.java9 import com.android.org.bouncycastle.crypto.modes.gcm.BasicGCMExponentiator;
10 import com.android.org.bouncycastle.crypto.modes.gcm.GCMExponentiator;
11 import com.android.org.bouncycastle.crypto.modes.gcm.GCMMultiplier;
12 import com.android.org.bouncycastle.crypto.modes.gcm.GCMUtil;
13 import com.android.org.bouncycastle.crypto.modes.gcm.Tables4kGCMMultiplier;
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/crypto/modes/
DGCMBlockCipher.java9 import com.android.internal.org.bouncycastle.crypto.modes.gcm.BasicGCMExponentiator;
10 import com.android.internal.org.bouncycastle.crypto.modes.gcm.GCMExponentiator;
11 import com.android.internal.org.bouncycastle.crypto.modes.gcm.GCMMultiplier;
12 import com.android.internal.org.bouncycastle.crypto.modes.gcm.GCMUtil;
13 import com.android.internal.org.bouncycastle.crypto.modes.gcm.Tables4kGCMMultiplier;
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/
DGCMBlockCipher.java8 import org.bouncycastle.crypto.modes.gcm.BasicGCMExponentiator;
9 import org.bouncycastle.crypto.modes.gcm.GCMExponentiator;
10 import org.bouncycastle.crypto.modes.gcm.GCMMultiplier;
11 import org.bouncycastle.crypto.modes.gcm.GCMUtil;
12 import org.bouncycastle.crypto.modes.gcm.Tables4kGCMMultiplier;
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/gcm/
DGCMMultiplier.java1 package org.bouncycastle.crypto.modes.gcm;
DGCMExponentiator.java1 package org.bouncycastle.crypto.modes.gcm;
DBasicGCMExponentiator.java1 package org.bouncycastle.crypto.modes.gcm;
DTables1kGCMExponentiator.java1 package org.bouncycastle.crypto.modes.gcm;
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/modes/gcm/
DGCMMultiplier.java2 package com.android.org.bouncycastle.crypto.modes.gcm;
DGCMExponentiator.java2 package com.android.org.bouncycastle.crypto.modes.gcm;
DBasicGCMExponentiator.java2 package com.android.org.bouncycastle.crypto.modes.gcm;
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/crypto/modes/gcm/
DGCMMultiplier.java2 package com.android.internal.org.bouncycastle.crypto.modes.gcm;
DGCMExponentiator.java2 package com.android.internal.org.bouncycastle.crypto.modes.gcm;
DBasicGCMExponentiator.java2 package com.android.internal.org.bouncycastle.crypto.modes.gcm;
/external/mesa3d/src/freedreno/ir3/
Dir3_nir.c207 static int gcm = -1; in ir3_optimize_loop() local
208 if (gcm == -1) in ir3_optimize_loop()
209 gcm = env_var_as_unsigned("GCM", 0); in ir3_optimize_loop()
210 if (gcm == 1) in ir3_optimize_loop()
212 else if (gcm == 2) in ir3_optimize_loop()

1234