diff options
author | schwarze <> | 2016-11-04 10:17:17 +0000 |
---|---|---|
committer | schwarze <> | 2016-11-04 10:17:17 +0000 |
commit | 195fe5e91c60bd205043b4bea113abdff1c67bcc (patch) | |
tree | 1d15fe02d83a7ffb422ebe78c34ee1117da63e59 /src/lib/libcrypto/man/RSA_size.3 | |
parent | 00872265b9546fcf2d5795aa3a120c35142d268b (diff) | |
download | openbsd-195fe5e91c60bd205043b4bea113abdff1c67bcc.tar.gz openbsd-195fe5e91c60bd205043b4bea113abdff1c67bcc.tar.bz2 openbsd-195fe5e91c60bd205043b4bea113abdff1c67bcc.zip |
convert RSA manuals from pod to mdoc
Diffstat (limited to 'src/lib/libcrypto/man/RSA_size.3')
-rw-r--r-- | src/lib/libcrypto/man/RSA_size.3 | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/lib/libcrypto/man/RSA_size.3 b/src/lib/libcrypto/man/RSA_size.3 new file mode 100644 index 0000000000..8b9a4d0552 --- /dev/null +++ b/src/lib/libcrypto/man/RSA_size.3 | |||
@@ -0,0 +1,27 @@ | |||
1 | .Dd $Mdocdate: November 4 2016 $ | ||
2 | .Dt RSA_SIZE 3 | ||
3 | .Os | ||
4 | .Sh NAME | ||
5 | .Nm RSA_size | ||
6 | .Nd get RSA modulus size | ||
7 | .Sh SYNOPSIS | ||
8 | .In openssl/rsa.h | ||
9 | .Ft int | ||
10 | .Fo RSA_size | ||
11 | .Fa "const RSA *rsa" | ||
12 | .Fc | ||
13 | .Sh DESCRIPTION | ||
14 | This function returns the RSA modulus size in bytes. | ||
15 | It can be used to determine how much memory must be allocated for an RSA | ||
16 | encrypted value. | ||
17 | .Pp | ||
18 | .Fa rsa->n | ||
19 | must not be | ||
20 | .Dv NULL . | ||
21 | .Sh RETURN VALUE | ||
22 | The size in bytes. | ||
23 | .Sh SEE ALSO | ||
24 | .Xr rsa 3 | ||
25 | .Sh HISTORY | ||
26 | .Fn RSA_size | ||
27 | is available in all versions of SSLeay and OpenSSL. | ||