Home
last modified time | relevance | path

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

/xnu-11215.1.10/osfmk/corecrypto/
H A Dccdrbg_nisthmac.c72 dump_state(const char *label, struct ccdrbg_nisthmac_state *drbg_ctx) in dump_state() argument
74 size_t outlen = drbg_ctx->custom->di->output_size; in dump_state()
76 cc_print(label, outlen, drbg_ctx->key); in dump_state()
77 cc_print(label, outlen, drbg_ctx->V); in dump_state()
85 struct ccdrbg_nisthmac_state *drbg_ctx = (struct ccdrbg_nisthmac_state *)ctx; in done() local
86 cc_clear(sizeof(drbg_ctx->key), drbg_ctx->key); in done()
87 cc_clear(sizeof(drbg_ctx->V), drbg_ctx->V); in done()
88 drbg_ctx->reseed_counter = UINT64_MAX; in done()
95 struct ccdrbg_nisthmac_state *drbg_ctx = (struct ccdrbg_nisthmac_state *)ctx; in update() local
96 const struct ccdigest_info *info = drbg_ctx->custom->di; in update()
[all …]
/xnu-11215.1.10/EXTERNAL_HEADERS/corecrypto/
H A Dccrng_crypto.h40 struct ccdrbg_state *drbg_ctx; member
56 struct ccdrbg_state *drbg_ctx,
H A Dccrng_schedule.h107 struct ccdrbg_state *drbg_ctx; member
112 struct ccdrbg_state *drbg_ctx);