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

  man pages->Tru64 Unix 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

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.

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

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

RETURN VALUES    [Toc]    [Back]

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

       The RSA_blinding_off() function returns no value.

HISTORY    [Toc]    [Back]

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

SEE ALSO    [Toc]    [Back]

      
      
       Functions: rsa(3), rand_ssl(3)



                                               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