Lines Matching refs:bytes
210 static const uint8_t *rng_pool_put_bytes(struct rng_pool *rngp, const uint8_t *bytes, in rng_pool_put_bytes() argument
216 for (; bytes < limit; ++bytes) { in rng_pool_put_bytes()
217 if (rng_pool_put(rngp, *bytes) < 0) { in rng_pool_put_bytes()
223 return bytes; in rng_pool_put_bytes()
278 uint16_t bytes; in entropy_smartbond_get_entropy() local
281 bytes = rng_pool_get((struct rng_pool *)(entropy_smartbond_data.thr), buf, len); in entropy_smartbond_get_entropy()
284 if (bytes == 0U) { in entropy_smartbond_get_entropy()
290 len -= bytes; in entropy_smartbond_get_entropy()
291 buf += bytes; in entropy_smartbond_get_entropy()
329 uint8_t bytes[4]; in entropy_smartbond_get_entropy_isr() local
330 const uint8_t *ptr = bytes; in entropy_smartbond_get_entropy_isr()
331 const uint8_t *const limit = bytes + 4; in entropy_smartbond_get_entropy_isr()
349 if (random_word_get(bytes) != 0) { in entropy_smartbond_get_entropy_isr()