Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/fipsmodule/cipher/
De_aes.c400 EVP_AES_GCM_CTX *gctx = ctx->cipher_data; in aes_gcm_init_key() local
405 gctx->ctr = in aes_gcm_init_key()
406 aes_ctr_set_key(&gctx->ks.ks, &gctx->gcm, NULL, key, ctx->key_len); in aes_gcm_init_key()
408 if (iv == NULL && gctx->iv_set) { in aes_gcm_init_key()
409 iv = gctx->iv; in aes_gcm_init_key()
412 CRYPTO_gcm128_setiv(&gctx->gcm, &gctx->ks.ks, iv, gctx->ivlen); in aes_gcm_init_key()
413 gctx->iv_set = 1; in aes_gcm_init_key()
415 gctx->key_set = 1; in aes_gcm_init_key()
418 if (gctx->key_set) { in aes_gcm_init_key()
419 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/include/jemalloc/internal/
Dprof.h103 prof_gctx_t *gctx; member