📄 rsa_blinding_on.pod
字号:
=pod=head1 NAMERSA_blinding_on, RSA_blinding_off - protect the RSA operation from timing attacks=head1 SYNOPSIS #include <openssl/rsa.h> int RSA_blinding_on(RSA *rsa, BN_CTX *ctx); void RSA_blinding_off(RSA *rsa);=head1 DESCRIPTIONRSA is vulnerable to timing attacks. In a setup where attackers canmeasure the time of RSA decryption or signature operations, blindingmust be used to protect the RSA operation from that attack.RSA_blinding_on() turns blinding on for key B<rsa> and generates arandom blinding factor. B<ctx> is B<NULL> or a pre-allocated andinitialized B<BN_CTX>. The random number generator must be seededprior to calling RSA_blinding_on().RSA_blinding_off() turns blinding off and frees the memory used forthe blinding factor.=head1 RETURN VALUESRSA_blinding_on() returns 1 on success, and 0 if an error occurred.RSA_blinding_off() returns no value.=head1 SEE ALSOL<rsa(3)|rsa(3)>, L<rand(3)|rand(3)>=head1 HISTORYRSA_blinding_on() and RSA_blinding_off() appeared in SSLeay 0.9.0.=cut
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -