RSA_blinding_on(3) OpenSSL RSA_blinding_on(3) NNAAMMEE RSA_blinding_on, RSA_blinding_off - protect the RSA operation from tim- ing attacks SSYYNNOOPPSSIISS #include int RSA_blinding_on(RSA *rsa, BN_CTX *ctx); void RSA_blinding_off(RSA *rsa); DDEESSCCRRIIPPTTIIOONN 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. _R_S_A___b_l_i_n_d_i_n_g___o_n_(_) turns blinding on for key rrssaa and generates a random blinding factor. ccttxx is NNUULLLL or a pre-allocated and initialized BBNN__CCTTXX. The random number generator must be seeded prior to calling _R_S_A___b_l_i_n_d_- _i_n_g___o_n_(_). _R_S_A___b_l_i_n_d_i_n_g___o_f_f_(_) turns blinding off and frees the memory used for the blinding factor. RREETTUURRNN VVAALLUUEESS _R_S_A___b_l_i_n_d_i_n_g___o_n_(_) returns 1 on success, and 0 if an error occurred. _R_S_A___b_l_i_n_d_i_n_g___o_f_f_(_) returns no value. SSEEEE AALLSSOO _r_s_a(3), _r_a_n_d(3) HHIISSTTOORRYY _R_S_A___b_l_i_n_d_i_n_g___o_n_(_) and _R_S_A___b_l_i_n_d_i_n_g___o_f_f_(_) appeared in SSLeay 0.9.0. 1.0.2u 2019-12-20 RSA_blinding_on(3)