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/doc/RSA_blinding_on.pod | |
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/doc/RSA_blinding_on.pod')
-rw-r--r-- | src/lib/libcrypto/doc/RSA_blinding_on.pod | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/src/lib/libcrypto/doc/RSA_blinding_on.pod b/src/lib/libcrypto/doc/RSA_blinding_on.pod deleted file mode 100644 index f96e3cf7c9..0000000000 --- a/src/lib/libcrypto/doc/RSA_blinding_on.pod +++ /dev/null | |||
@@ -1,41 +0,0 @@ | |||
1 | =pod | ||
2 | |||
3 | =head1 NAME | ||
4 | |||
5 | RSA_blinding_on, RSA_blinding_off - protect the RSA operation from timing | ||
6 | attacks | ||
7 | |||
8 | =head1 SYNOPSIS | ||
9 | |||
10 | #include <openssl/rsa.h> | ||
11 | |||
12 | int RSA_blinding_on(RSA *rsa, BN_CTX *ctx); | ||
13 | |||
14 | void RSA_blinding_off(RSA *rsa); | ||
15 | |||
16 | =head1 DESCRIPTION | ||
17 | |||
18 | RSA is vulnerable to timing attacks. In a setup where attackers can | ||
19 | measure the time of RSA decryption or signature operations, blinding | ||
20 | must be used to protect the RSA operation from that attack. | ||
21 | |||
22 | RSA_blinding_on() turns blinding on for key B<rsa> and generates a | ||
23 | random blinding factor. B<ctx> is B<NULL> or a pre-allocated and | ||
24 | initialized B<BN_CTX>. | ||
25 | |||
26 | RSA_blinding_off() turns blinding off and frees the memory used for | ||
27 | the blinding factor. | ||
28 | |||
29 | =head1 RETURN VALUES | ||
30 | |||
31 | RSA_blinding_on() returns 1 on success, and 0 if an error occurred. | ||
32 | |||
33 | =head1 SEE ALSO | ||
34 | |||
35 | L<rsa(3)|rsa(3)>, L<rand(3)|rand(3)> | ||
36 | |||
37 | =head1 HISTORY | ||
38 | |||
39 | RSA_blinding_on() and RSA_blinding_off() appeared in SSLeay 0.9.0. | ||
40 | |||
41 | =cut | ||