Searched refs:ec (Results 1 – 2 of 2) sorted by relevance
/crypto/ |
D | jitterentropy.c | 125 static __u64 jent_loop_shuffle(struct rand_data *ec, in jent_loop_shuffle() argument 138 if (ec) in jent_loop_shuffle() 139 time ^= ec->data; in jent_loop_shuffle() 185 static __u64 jent_lfsr_time(struct rand_data *ec, __u64 time, __u64 loop_cnt) in jent_lfsr_time() argument 193 jent_loop_shuffle(ec, MAX_FOLD_LOOP_BIT, MIN_FOLD_LOOP_BIT); in jent_lfsr_time() 202 new = ec->data; in jent_lfsr_time() 228 ec->data = new; in jent_lfsr_time() 260 static unsigned int jent_memaccess(struct rand_data *ec, __u64 loop_cnt) in jent_memaccess() argument 267 jent_loop_shuffle(ec, MAX_ACC_LOOP_BIT, MIN_ACC_LOOP_BIT); in jent_memaccess() 269 if (NULL == ec || NULL == ec->mem) in jent_memaccess() [all …]
|
D | jitterentropy-kcapi.c | 48 int jent_read_entropy(struct rand_data *ec, unsigned char *data,
|