Home
last modified time | relevance | path

Searched refs:ec (Results 1 – 2 of 2) sorted by relevance

/crypto/
Djitterentropy.c125 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 …]
Djitterentropy-kcapi.c48 int jent_read_entropy(struct rand_data *ec, unsigned char *data,