*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->NetBSD man pages -> RSA_blinding_on (3)              
Title
Content
Arch
Section
 

RSA_blinding_on(3)

Contents


NAME    [Toc]    [Back]

       RSA_blinding_on, RSA_blinding_off - protect the RSA operation
 from timing attacks

LIBRARY    [Toc]    [Back]

       libcrypto, -lcrypto

SYNOPSIS    [Toc]    [Back]

        #include <openssl/rsa.h>

        int RSA_blinding_on(RSA *rsa, BN_CTX *ctx);

        void RSA_blinding_off(RSA *rsa);

DESCRIPTION    [Toc]    [Back]

       RSA is vulnerable to timing attacks. In a setup where
       attackers can measure the time of RSA decryption or signature
 operations, blinding must be used to protect the RSA
       operation from that attack.

       RSA_blinding_on() turns blinding on for key rsa and generates
 a random blinding factor. ctx is NULL or a pre-allocated
 and initialized BN_CTX. The random number generator
       must be seeded prior to calling RSA_blinding_on().

       RSA_blinding_off() turns blinding off and frees the memory
       used for the blinding factor.

RETURN VALUES    [Toc]    [Back]

       RSA_blinding_on() returns 1 on success, and 0 if an error
       occurred.

       RSA_blinding_off() returns no value.

SEE ALSO    [Toc]    [Back]

      
      
       openssl_rsa(3), openssl_rand(3)

HISTORY    [Toc]    [Back]

       RSA_blinding_on() and RSA_blinding_off() appeared in
       SSLeay 0.9.0.



2000-07-22                    0.9.6g           RSA_blinding_on(3)
[ Back ]
 Similar pages
Name OS Title
swacl HP-UX view or modify the Access Control Lists (ACLs) which protect software products
mvGetBoundary IRIX get timing information about movie or track
videosync IRIX information about USTs and video timing on SGI systems
replay Linux play back typescripts, using timing information
mdTell IRIX Return the MIDI port-specific timing information
nettest IRIX Performs client and server functions for timing data throughput
tt_pattern_opnum_add HP-UX add an operation number to a pattern
tt_pattern_op_add HP-UX add a value to the operation field of a pattern
tt_message_op_set HP-UX set the operation attribute for a message
aio_cancel HP-UX cancel an asynchronous I/O operation
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service