diff options
| author | cvs2svn <admin@example.com> | 2015-03-08 16:48:48 +0000 |
|---|---|---|
| committer | cvs2svn <admin@example.com> | 2015-03-08 16:48:48 +0000 |
| commit | da1a9ad3a4a867ba6569c05e6fca66d7f296c553 (patch) | |
| tree | 44872802e872bdfd60730fa9cf01d9d5751251c1 /src/lib/libcrypto/doc/RSA_blinding_on.pod | |
| parent | 973703db67a8e73d70e63afa8f2cde19da09144d (diff) | |
| download | openbsd-OPENBSD_5_7_BASE.tar.gz openbsd-OPENBSD_5_7_BASE.tar.bz2 openbsd-OPENBSD_5_7_BASE.zip | |
This commit was manufactured by cvs2git to create tag 'OPENBSD_5_7_BASE'.OPENBSD_5_7_BASE
Diffstat (limited to 'src/lib/libcrypto/doc/RSA_blinding_on.pod')
| -rw-r--r-- | src/lib/libcrypto/doc/RSA_blinding_on.pod | 43 |
1 files changed, 0 insertions, 43 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 33990207f7..0000000000 --- a/src/lib/libcrypto/doc/RSA_blinding_on.pod +++ /dev/null | |||
| @@ -1,43 +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 | RSA_blinding_off() returns no value. | ||
| 34 | |||
| 35 | =head1 SEE ALSO | ||
| 36 | |||
| 37 | L<rsa(3)|rsa(3)>, L<rand(3)|rand(3)> | ||
| 38 | |||
| 39 | =head1 HISTORY | ||
| 40 | |||
| 41 | RSA_blinding_on() and RSA_blinding_off() appeared in SSLeay 0.9.0. | ||
| 42 | |||
| 43 | =cut | ||
