MCPcopy Create free account
hub / github.com/docknetwork/crypto / try_fill_bytes

Method try_fill_bytes

oblivious_transfer/src/aes_prng.rs:207–210  ·  view source on GitHub ↗
(&mut self, dest: &mut [u8])

Source from the content-addressed store, hash-verified

205 }
206
207 fn try_fill_bytes(&mut self, dest: &mut [u8]) -> Result<(), Error> {
208 self.fill_bytes(dest);
209 Ok(())
210 }
211}
212
213impl CryptoRng for AesRng {}

Callers 4

test_prng_match_aesFunction · 0.45
test_prng_vector1Function · 0.45
test_prng_vector2Function · 0.45
test_prng_used_bytesFunction · 0.45

Calls 1

fill_bytesMethod · 0.45

Tested by 4

test_prng_match_aesFunction · 0.36
test_prng_vector1Function · 0.36
test_prng_vector2Function · 0.36
test_prng_used_bytesFunction · 0.36