Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/fipsmodule/cipher/
De_aes.c354 EVP_AES_GCM_CTX *gctx = aes_gcm_from_cipher_ctx(ctx); in aes_gcm_init_key() local
359 OPENSSL_memset(&gctx->gcm, 0, sizeof(gctx->gcm)); in aes_gcm_init_key()
360 gctx->ctr = aes_ctr_set_key(&gctx->ks.ks, &gctx->gcm.gcm_key, NULL, key, in aes_gcm_init_key()
363 if (iv == NULL && gctx->iv_set) { in aes_gcm_init_key()
364 iv = gctx->iv; in aes_gcm_init_key()
367 CRYPTO_gcm128_setiv(&gctx->gcm, &gctx->ks.ks, iv, gctx->ivlen); in aes_gcm_init_key()
368 gctx->iv_set = 1; in aes_gcm_init_key()
370 gctx->key_set = 1; in aes_gcm_init_key()
373 if (gctx->key_set) { in aes_gcm_init_key()
374 CRYPTO_gcm128_setiv(&gctx->gcm, &gctx->ks.ks, iv, gctx->ivlen); in aes_gcm_init_key()
[all …]
/external/jemalloc/src/
Dprof.c556 prof_gctx_t *gctx = (prof_gctx_t *)iallocztm(tsdn, size, in prof_gctx_create() local
559 if (gctx == NULL) in prof_gctx_create()
561 gctx->lock = prof_gctx_mutex_choose(); in prof_gctx_create()
566 gctx->nlimbo = 1; in prof_gctx_create()
567 tctx_tree_new(&gctx->tctxs); in prof_gctx_create()
569 memcpy(gctx->vec, bt->vec, bt->len * sizeof(void *)); in prof_gctx_create()
570 gctx->bt.vec = gctx->vec; in prof_gctx_create()
571 gctx->bt.len = bt->len; in prof_gctx_create()
572 return (gctx); in prof_gctx_create()
576 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/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
/external/jemalloc/include/jemalloc/internal/
Dprof.h103 prof_gctx_t *gctx; member