Home | History | Annotate | Download | only in nist_hash_drbg

Lines Matching refs:secret

75 #define	secret	/* must not use in variable-time operations; should zero */
96 static void hashgen(secret uint8_t *, size_t,
97 const secret uint8_t[SEEDLEN_BYTES]);
98 static void add8(secret uint8_t *, size_t, const secret uint8_t *, size_t);
99 static void hash_df(secret void *, size_t, const struct hvec *, size_t);
100 static void hash_df_block(secret void *, uint8_t, uint8_t[4],
120 nist_hash_drbg_instantiate(secret struct nist_hash_drbg *D,
121 const secret void *entropy, size_t entropylen,
160 nist_hash_drbg_reseed(secret struct nist_hash_drbg *D,
161 const secret void *entropy, size_t entropylen,
200 nist_hash_drbg_generate(secret struct nist_hash_drbg *D,
201 secret void *output, size_t outputlen,
204 secret HASH_CTX ctx;
205 secret uint8_t H[HASH_LENGTH];
220 secret uint8_t w[HASH_LENGTH];
264 hashgen(secret uint8_t *p, size_t n, const secret uint8_t V[SEEDLEN_BYTES])
266 secret uint8_t data[SEEDLEN_BYTES];
267 secret HASH_CTX ctx;
288 secret uint8_t t[HASH_LENGTH];
306 add8(secret uint8_t *s, size_t slen, const secret uint8_t *a, size_t alen)
310 secret unsigned c = 0;
351 secret uint8_t t[HASH_LENGTH];
361 hash_df_block(secret void *h, uint8_t counter, uint8_t hbits[4],
364 secret HASH_CTX ctx;