Lines Matching +defs:ps +defs:generate
223 unsigned long psLength, const void *ps)
225 // TODO: The NIST code passes nonce (i.e. HMAC key) to generate, but cc interface isn't set up that way
238 hmac_dbrg_update(drbg, entropyLength, entropy, nonceLength, nonce, psLength, ps);
246 // In NIST terminology, the nonce is the HMAC key and ps is the personalization string
251 unsigned long psLength, const void* ps)
279 hmac_dbrg_instantiate_algorithm(drbg, entropyLength, entropy, nonceLength, nonce, psLength, ps);
343 static int generate(struct ccdrbg_state *drbg, unsigned long numBytes, void *outBytes,
384 dumpState("generate: ", state);
401 .generate = generate,
411 info->generate = generate;