Searched refs:shadow (Results 1 – 1 of 1) sorted by relevance
1225 static int drbg_make_shadow(struct drbg_state *drbg, struct drbg_state **shadow) in drbg_make_shadow() argument1247 *shadow = tmp; in drbg_make_shadow()1256 struct drbg_state **shadow) in drbg_restore_shadow() argument1258 struct drbg_state *tmp = *shadow; in drbg_restore_shadow()1265 *shadow = NULL; in drbg_restore_shadow()1293 struct drbg_state *shadow = NULL; in drbg_generate() local1310 len = drbg_make_shadow(drbg, &shadow); in drbg_generate()1318 if (buflen > (drbg_max_request_bytes(shadow))) { in drbg_generate()1327 if (addtl && addtl->len > (drbg_max_addtl(shadow))) { in drbg_generate()1338 if ((drbg_max_requests(shadow)) < shadow->reseed_ctr) in drbg_generate()[all …]