crypto: add missing documentation to all pub functions (#8251)

This commit is contained in:
Larpon 2021-01-23 13:33:49 +01:00 committed by GitHub
parent 38880b23eb
commit bce6a35e8f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 58 additions and 16 deletions

View file

@ -8,6 +8,7 @@ const (
read_batch_size = 256
)
// read returns an array of `bytes_needed` random bytes read from the OS.
pub fn read(bytes_needed int) ?[]byte {
mut buffer := &byte(0)
unsafe {