Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
213
impl CryptoRng for AesRng {}
Callers
4
test_prng_match_aes
Function · 0.45
test_prng_vector1
Function · 0.45
test_prng_vector2
Function · 0.45
test_prng_used_bytes
Function · 0.45
Calls
1
fill_bytes
Method · 0.45
Tested by
4
test_prng_match_aes
Function · 0.36
test_prng_vector1
Function · 0.36
test_prng_vector2
Function · 0.36
test_prng_used_bytes
Function · 0.36