Home
last modified time | relevance | path

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

123

/external/boringssl/src/crypto/fipsmodule/rsa/
Dblinding.cc.inc25 BIGNUM *A; // The base blinding factor, Montgomery-encoded.
26 BIGNUM *Ai; // The inverse of the blinding factor, Montgomery-encoded.
50 // The blinding values need to be created before this blinding can be used.
76 // re-create blinding parameters
92 // replaced the next time this blinding is used. Note that this is only
Drsa_impl.cc.inc283 // Wipe the blinding cache on |fork|.
376 static void rsa_blinding_release(RSA *rsa, BN_BLINDING *blinding,
379 // This blinding wasn't cached.
380 BN_BLINDING_free(blinding);
554 BN_BLINDING *blinding = NULL;
592 // We cannot do blinding or verification without |e|, and continuing without
605 blinding = rsa_blinding_get(rsa, &blinding_index, ctx);
606 if (blinding == NULL) {
610 if (!BN_BLINDING_convert(f, blinding, rsa->e, rsa->mont_n, ctx)) {
651 if (do_blinding && !BN_BLINDING_invert(result, blinding, rsa->mont_n, ctx)) {
[all …]
/external/cronet/stable/third_party/boringssl/src/crypto/fipsmodule/rsa/
Dblinding.cc.inc124 BIGNUM *A; // The base blinding factor, Montgomery-encoded.
125 BIGNUM *Ai; // The inverse of the blinding factor, Montgomery-encoded.
149 // The blinding values need to be created before this blinding can be used.
176 // re-create blinding parameters
192 // replaced the next time this blinding is used. Note that this is only
Drsa_impl.cc.inc330 // Wipe the blinding cache on |fork|.
423 static void rsa_blinding_release(RSA *rsa, BN_BLINDING *blinding,
426 // This blinding wasn't cached.
427 BN_BLINDING_free(blinding);
601 BN_BLINDING *blinding = NULL;
639 // We cannot do blinding or verification without |e|, and continuing without
652 blinding = rsa_blinding_get(rsa, &blinding_index, ctx);
653 if (blinding == NULL) {
657 if (!BN_BLINDING_convert(f, blinding, rsa->e, rsa->mont_n, ctx)) {
698 if (do_blinding && !BN_BLINDING_invert(result, blinding, rsa->mont_n, ctx)) {
[all …]
/external/cronet/tot/third_party/boringssl/src/crypto/fipsmodule/rsa/
Dblinding.cc.inc124 BIGNUM *A; // The base blinding factor, Montgomery-encoded.
125 BIGNUM *Ai; // The inverse of the blinding factor, Montgomery-encoded.
149 // The blinding values need to be created before this blinding can be used.
176 // re-create blinding parameters
192 // replaced the next time this blinding is used. Note that this is only
Drsa_impl.cc.inc330 // Wipe the blinding cache on |fork|.
423 static void rsa_blinding_release(RSA *rsa, BN_BLINDING *blinding,
426 // This blinding wasn't cached.
427 BN_BLINDING_free(blinding);
601 BN_BLINDING *blinding = NULL;
639 // We cannot do blinding or verification without |e|, and continuing without
652 blinding = rsa_blinding_get(rsa, &blinding_index, ctx);
653 if (blinding == NULL) {
657 if (!BN_BLINDING_convert(f, blinding, rsa->e, rsa->mont_n, ctx)) {
698 if (do_blinding && !BN_BLINDING_invert(result, blinding, rsa->mont_n, ctx)) {
[all …]
/external/rust/android-crates-io/crates/quiche/deps/boringssl/src/crypto/fipsmodule/rsa/
Drsa_impl.c467 static void rsa_blinding_release(RSA *rsa, BN_BLINDING *blinding, in rsa_blinding_release() argument
471 BN_BLINDING_free(blinding); in rsa_blinding_release()
699 BN_BLINDING *blinding = NULL; in rsa_default_private_transform() local
742 blinding = rsa_blinding_get(rsa, &blinding_index, ctx); in rsa_default_private_transform()
743 if (blinding == NULL) { in rsa_default_private_transform()
747 if (!BN_BLINDING_convert(f, blinding, rsa->e, rsa->mont_n, ctx)) { in rsa_default_private_transform()
789 !BN_BLINDING_invert(result, blinding, rsa->mont_n, ctx)) { in rsa_default_private_transform()
811 if (blinding != NULL) { in rsa_default_private_transform()
812 rsa_blinding_release(rsa, blinding, blinding_index); in rsa_default_private_transform()
/external/python/rsa/
DCHANGELOG.md10 - Reuse of blinding factors to speed up blinding operations.
36 - Choose blinding factor relatively prime to N. Thanks Christian Heimes for pointing this out.
68 - Choose blinding factor relatively prime to N. Thanks Christian Heimes for pointing this out.
110 - Solved side-channel vulnerability by implementing blinding, fixes #19
/external/mbedtls/tests/suites/
Dtest_suite_psa_crypto_entropy.function104 * or because the implementation uses blinding. */
130 /* Import the key again, because for RSA Mbed TLS caches blinding values
Dtest_suite_psa_crypto_entropy.data7 # randomization for (e.g.) blinding. An external implementation could use
Dtest_suite_dhm.function178 /* Re-do calc_secret on server a few times to test update of blinding values */
193 * Second key exchange to test change of blinding values on server
/external/openthread/third_party/mbedtls/repo/tests/suites/
Dtest_suite_psa_crypto_entropy.function104 * or because the implementation uses blinding. */
130 /* Import the key again, because for RSA Mbed TLS caches blinding values
Dtest_suite_psa_crypto_entropy.data7 # randomization for (e.g.) blinding. An external implementation could use
Dtest_suite_dhm.function178 /* Re-do calc_secret on server a few times to test update of blinding values */
193 * Second key exchange to test change of blinding values on server
/external/vulkan-validation-layers/tests/
Dlayer_validation_tests.h407 void WriteDescriptorBufferInfo(int blinding, VkBuffer buffer, VkDeviceSize size,
409 void WriteDescriptorBufferView(int blinding, VkBufferView &buffer_view,
411 void WriteDescriptorImageInfo(int blinding, VkImageView image_view, VkSampler sampler,
Dlayer_validation_tests.cpp1354 void OneOffDescriptorSet::WriteDescriptorBufferInfo(int blinding, VkBuffer buffer, VkDeviceSize siz… in WriteDescriptorBufferInfo() argument
1367 descriptor_write.dstBinding = blinding; in WriteDescriptorBufferInfo()
1377 void OneOffDescriptorSet::WriteDescriptorBufferView(int blinding, VkBufferView &buffer_view, VkDesc… in WriteDescriptorBufferView() argument
1382 descriptor_write.dstBinding = blinding; in WriteDescriptorBufferView()
1392 void OneOffDescriptorSet::WriteDescriptorImageInfo(int blinding, VkImageView image_view, VkSampler … in WriteDescriptorImageInfo() argument
1405 descriptor_write.dstBinding = blinding; in WriteDescriptorImageInfo()
/external/boringssl/src/crypto/fipsmodule/bn/
Dprime.cc.inc196 // BN_PRIME_CHECKS_BLINDED is the iteration count for blinding the constant-time
202 // The following Python script computes the blinding factor needed for the
212 # Target around 2^-8 probability of the blinding being insufficient given that
354 // still runs the blinding mechanism.
643 // Note this blinding does not impact most calls when picking primes because
Dgcd.cc.inc242 // |BN_mod_inverse_odd| is leaky, so generate a secret blinding factor and
/external/cronet/stable/third_party/boringssl/src/crypto/fipsmodule/bn/
Dprime.cc.inc295 // BN_PRIME_CHECKS_BLINDED is the iteration count for blinding the constant-time
301 // The following Python script computes the blinding factor needed for the
311 # Target around 2^-8 probability of the blinding being insufficient given that
453 // still runs the blinding mechanism.
742 // Note this blinding does not impact most calls when picking primes because
Dgcd.cc.inc341 // |BN_mod_inverse_odd| is leaky, so generate a secret blinding factor and
/external/cronet/tot/third_party/boringssl/src/crypto/fipsmodule/bn/
Dprime.cc.inc295 // BN_PRIME_CHECKS_BLINDED is the iteration count for blinding the constant-time
301 // The following Python script computes the blinding factor needed for the
311 # Target around 2^-8 probability of the blinding being insufficient given that
453 // still runs the blinding mechanism.
742 // Note this blinding does not impact most calls when picking primes because
Dgcd.cc.inc341 // |BN_mod_inverse_odd| is leaky, so generate a secret blinding factor and
/external/boringssl/src/
DSANDBOXING.md76 RSA blinding.
/external/cronet/tot/third_party/boringssl/src/
DSANDBOXING.md76 RSA blinding.
/external/cronet/stable/third_party/boringssl/src/
DSANDBOXING.md76 RSA blinding.

123