Home
last modified time | relevance | path

Searched refs:blinding (Results 1 – 7 of 7) sorted by relevance

/onnv-gate/usr/src/common/openssl/doc/crypto/
H A DRSA_blinding_on.pod18 measure the time of RSA decryption or signature operations, blinding
21 RSA_blinding_on() turns blinding on for key B<rsa> and generates a
22 random blinding factor. B<ctx> is B<NULL> or a pre-allocated and
26 RSA_blinding_off() turns blinding off and frees the memory used for
27 the blinding factor.
H A DBN_BLINDING_new.pod8 BN_BLINDING_set_flags, BN_BLINDING_create_param - blinding related BIGNUM
44 necessary parameters are set, by re-creating the blinding parameters.
46 BN_BLINDING_convert_ex() multiplies B<n> with the blinding factor B<A>.
47 If B<r> is not NULL a copy the inverse blinding factor B<Ai> will be
50 inverse blinding factor B<Ai>. If B<r> is not NULL it will be used as
51 the inverse blinding.
/onnv-gate/usr/src/common/openssl/crypto/rsa/
H A Drsa_eay.c267 if (rsa->blinding == NULL) in rsa_get_blinding()
269 if (rsa->blinding == NULL) in rsa_get_blinding()
272 if (rsa->blinding == NULL) in rsa_get_blinding()
273 rsa->blinding = RSA_setup_blinding(rsa, ctx); in rsa_get_blinding()
278 ret = rsa->blinding; in rsa_get_blinding()
339 BN_BLINDING *blinding = NULL; in RSA_eay_private_encrypt() local
383 blinding = rsa_get_blinding(rsa, &br, &local_blinding, ctx); in RSA_eay_private_encrypt()
384 if (blinding == NULL) in RSA_eay_private_encrypt()
391 if (blinding != NULL) in RSA_eay_private_encrypt()
392 if (!rsa_blinding_convert(blinding, local_blinding, f, br, ctx)) in RSA_eay_private_encrypt()
[all …]
H A Drsa_lib.c181 ret->blinding=NULL; in RSA_new_method()
235 if (r->blinding != NULL) BN_BLINDING_free(r->blinding); in RSA_free()
310 if (rsa->blinding != NULL) in RSA_blinding_off()
312 BN_BLINDING_free(rsa->blinding); in RSA_blinding_off()
313 rsa->blinding=NULL; in RSA_blinding_off()
323 if (rsa->blinding != NULL) in RSA_blinding_on()
326 rsa->blinding = RSA_setup_blinding(rsa, ctx); in RSA_blinding_on()
327 if (rsa->blinding == NULL) in RSA_blinding_on()
H A Drsa.h158 BN_BLINDING *blinding; member
/onnv-gate/usr/src/common/openssl/
H A DNEWS79 o New BIGNUM blinding.
128 o Security: make RSA blinding default.
201 o Security: make RSA blinding default.
H A DCHANGES73 *) Add new functionality to the bn blinding code:
1133 *) Turn on RSA blinding by default in the default implementation
1139 *) Change RSA blinding code so that it works when the PRNG is not
1142 is no point in blinding anyway). Make RSA blinding thread-safe
1143 by remembering the creator's thread ID in rsa->blinding and
1144 having all other threads use local one-time blinding factors
1145 (this requires more computation than sharing rsa->blinding, but
1147 between threads, blinding will still be very fast).
3112 *) Turn on RSA blinding by default in the default implementation
3118 *) Change RSA blinding code so that it works when the PRNG is not
[all …]