From: Michael Savage Date: Mon, 1 Jan 2018 14:27:19 +0000 (+0000) Subject: Use Fo/Fa/Fc in synopsis blocks X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=24cfa7d94738941f22f6cce1b7ef90d1a69c8b79;p=Monocypher.git Use Fo/Fa/Fc in synopsis blocks --- diff --git a/doc/man/man3/crypto_memcmp.3monocypher b/doc/man/man3/crypto_memcmp.3monocypher index 54a8985..53a494d 100644 --- a/doc/man/man3/crypto_memcmp.3monocypher +++ b/doc/man/man3/crypto_memcmp.3monocypher @@ -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 diff --git a/doc/man/man3/crypto_verify16.3monocypher b/doc/man/man3/crypto_verify16.3monocypher index d828de4..8208253 100644 --- a/doc/man/man3/crypto_verify16.3monocypher +++ b/doc/man/man3/crypto_verify16.3monocypher @@ -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. diff --git a/doc/man/man3/crypto_wipe.3monocypher b/doc/man/man3/crypto_wipe.3monocypher index 31d60a0..b8f12b0 100644 --- a/doc/man/man3/crypto_wipe.3monocypher +++ b/doc/man/man3/crypto_wipe.3monocypher @@ -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.