]> git.codecow.com Git - Monocypher.git/commitdiff
Use Fo/Fa/Fc in synopsis blocks
authorMichael Savage <mikejsavage@gmail.com>
Mon, 1 Jan 2018 14:27:19 +0000 (14:27 +0000)
committerMichael Savage <mikejsavage@gmail.com>
Mon, 1 Jan 2018 14:27:19 +0000 (14:27 +0000)
doc/man/man3/crypto_memcmp.3monocypher
doc/man/man3/crypto_verify16.3monocypher
doc/man/man3/crypto_wipe.3monocypher

index 54a89853e578371cc1f19ab79d3658d92b8b10b9..53a494d24e19d082387ada045e86bc1a65053992 100644 (file)
@@ -8,9 +8,16 @@
 .Sh SYNOPSIS
 .In monocypher.h
 .Ft int
-.Fn crypto_memcmp "const uint8_t *p1" "const uint8_t *p2" "size_t n"
+.Fo crypto_memcmp
+.Fa "const uint8_t *p1"
+.Fa"const uint8_t *p2"
+.Fa "size_t n"
+.Fc
 .Ft int
-.Fn crypto_zerocmp "const uint8_t *p" "size_t n"
+.Fo crypto_zerocmp
+.Fa "const uint8_t *p"
+.Fa "size_t n"
+.Fc
 .Sh DESCRIPTION
 .Fn crypto_memcmp
 and
index d828de42e3d7d6c3fb89cb833db6bc620e4407cf..8208253226e77c6f5bf189fa25d1f4e3b9201b3e 100644 (file)
@@ -9,11 +9,20 @@
 .Sh SYNOPSIS
 .In monocypher.h
 .Ft int
-.Fn crypto_verify16 "const uint8_t a[16]" "const uint8_t b[16]"
+.Fo crypto_verify16
+.Fa "const uint8_t a[16]"
+.Fa "const uint8_t b[16]"
+.Fc
 .Ft int
-.Fn crypto_verify32 "const uint8_t a[32]" "const uint8_t b[32]"
+.Fo crypto_verify32
+.Fa "const uint8_t a[32]"
+.Fa "const uint8_t b[32]"
+.Fc
 .Ft int
-.Fn crypto_verify64 "const uint8_t a[64]" "const uint8_t b[64]"
+.Fo crypto_verify64
+.Fa "const uint8_t a[64]"
+.Fa "const uint8_t b[64]"
+.Fc
 .Sh DESCRIPTION
 Cryptographic operations often require comparison of secrets or values
 derived from secrets.
index 31d60a04e7424aca535d0b8f8bc5d38deb3c0bf2..b8f12b092e3d53f12d139e6f99e37294b7c203c5 100644 (file)
@@ -7,7 +7,10 @@
 .Sh SYNOPSIS
 .In monocypher.h
 .Ft void
-.Fn crypto_wipe "void *secret" "size_t secret_size"
+.Fo crypto_wipe
+.Fa "void *secret"
+.Fa "size_t secret_size"
+.Fc
 .Sh DESCRIPTION
 .Fn crypto_wipe
 securely erases sensitive data in memory.