Lines Matching full:key
83 /* use current state, e and separator 0 to compute a new prng key: */ in update()
88 (void)tc_hmac_final(prng->key, sizeof(prng->key), &prng->h); in update()
89 /* configure the new prng key into the prng's instance of hmac */ in update()
90 (void)tc_hmac_set_key(&prng->h, prng->key, sizeof(prng->key)); in update()
92 /* use the new key to compute a new state variable v */ in update()
97 /* use current state, e and separator 1 to compute a new prng key: */ in update()
102 (void)tc_hmac_final(prng->key, sizeof(prng->key), &prng->h); in update()
103 /* configure the new prng key into the prng's instance of hmac */ in update()
104 (void)tc_hmac_set_key(&prng->h, prng->key, sizeof(prng->key)); in update()
106 /* use the new key to compute a new state variable v */ in update()
125 _set(prng->key, 0x00, sizeof(prng->key)); in tc_hmac_prng_init()
127 tc_hmac_set_key(&prng->h, prng->key, sizeof(prng->key)); in tc_hmac_prng_init()
128 /* update assumes SOME key has been configured into HMAC */ in tc_hmac_prng_init()