]> git.codecow.com Git - Monocypher.git/commitdiff
Doc: use pointers instead of arrays when size is provided
authorNihal Jere <nihal@nihaljere.xyz>
Sat, 18 May 2024 02:07:35 +0000 (21:07 -0500)
committerLoup Vaillant <github-is-valid@loup-vaillant.fr>
Wed, 22 May 2024 20:41:27 +0000 (22:41 +0200)
doc/crypto_blake2b.3monocypher

index 86ff25b876744d91ba9de53ce466380099f91353..2dccb387c4cd7f1fd467fa9bb82cb5a8cef5db2a 100644 (file)
 .In monocypher.h
 .Ft void
 .Fo crypto_blake2b
-.Fa "uint8_t hash[64]"
+.Fa "uint8_t *hash"
 .Fa "size_t hash_size"
 .Fa "const uint8_t *message"
 .Fa "size_t message_size"
 .Fc
 .Fo crypto_blake2b_keyed
-.Fa "uint8_t hash[64]"
+.Fa "uint8_t *hash"
 .Fa "size_t hash_size"
-.Fa "uint8_t key[64]"
+.Fa "uint8_t *key"
 .Fa "size_t key_size"
 .Fa "const uint8_t *message"
 .Fa "size_t message_size"
@@ -87,7 +87,7 @@
 .Fo crypto_blake2b_keyed_init
 .Fa "crypto_blake2b_ctx *ctx"
 .Fa "size_t hash_size"
-.Fa "uint8_t key[64]"
+.Fa "uint8_t *key"
 .Fa "size_t key_size"
 .Fc
 .Ft void