Skip to content

Commit

Permalink
Doc: use pointers instead of arrays when size is provided
Browse files Browse the repository at this point in the history
  • Loading branch information
noocsharp authored and LoupVaillant committed May 22, 2024
1 parent 43917fb commit 84dc306
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/crypto_blake2b.3monocypher
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,15 @@
.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"
Expand All @@ -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
Expand Down

0 comments on commit 84dc306

Please sign in to comment.