Home
last modified time | relevance | path

Searched refs:gctx (Results 1 – 4 of 4) sorted by relevance

/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/cipher/
De_aes.c350 EVP_AES_GCM_CTX *gctx = aes_gcm_from_cipher_ctx(ctx); in aes_gcm_init_key() local
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()
359 if (iv == NULL && gctx->iv_set) { in aes_gcm_init_key()
360 iv = gctx->iv; in aes_gcm_init_key()
363 CRYPTO_gcm128_setiv(&gctx->gcm, &gctx->ks.ks, iv, gctx->ivlen); in aes_gcm_init_key()
364 gctx->iv_set = 1; in aes_gcm_init_key()
366 gctx->key_set = 1; in aes_gcm_init_key()
369 if (gctx->key_set) { in aes_gcm_init_key()
370 CRYPTO_gcm128_setiv(&gctx->gcm, &gctx->ks.ks, iv, gctx->ivlen); in aes_gcm_init_key()
[all …]
/external/boringssl/src/crypto/fipsmodule/cipher/
De_aes.c352 EVP_AES_GCM_CTX *gctx = aes_gcm_from_cipher_ctx(ctx); in aes_gcm_init_key() local
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()
361 if (iv == NULL && gctx->iv_set) { in aes_gcm_init_key()
362 iv = gctx->iv; in aes_gcm_init_key()
365 CRYPTO_gcm128_setiv(&gctx->gcm, &gctx->ks.ks, iv, gctx->ivlen); in aes_gcm_init_key()
366 gctx->iv_set = 1; in aes_gcm_init_key()
368 gctx->key_set = 1; in aes_gcm_init_key()
371 if (gctx->key_set) { in aes_gcm_init_key()
372 CRYPTO_gcm128_setiv(&gctx->gcm, &gctx->ks.ks, iv, gctx->ivlen); in aes_gcm_init_key()
[all …]
/external/jemalloc_new/src/
Dprof.c558 prof_gctx_t *gctx = (prof_gctx_t *)iallocztm(tsdn, size, in prof_gctx_create() local
561 if (gctx == NULL) { in prof_gctx_create()
564 gctx->lock = prof_gctx_mutex_choose(); in prof_gctx_create()
569 gctx->nlimbo = 1; in prof_gctx_create()
570 tctx_tree_new(&gctx->tctxs); in prof_gctx_create()
572 memcpy(gctx->vec, bt->vec, bt->len * sizeof(void *)); in prof_gctx_create()
573 gctx->bt.vec = gctx->vec; in prof_gctx_create()
574 gctx->bt.len = bt->len; in prof_gctx_create()
575 return gctx; in prof_gctx_create()
579 prof_gctx_try_destroy(tsd_t *tsd, prof_tdata_t *tdata_self, prof_gctx_t *gctx, in prof_gctx_try_destroy() argument
[all …]
/external/jemalloc_new/include/jemalloc/internal/
Dprof_structs.h62 prof_gctx_t *gctx; member