Home
last modified time | relevance | path

Searched refs:zeros (Results 1 – 18 of 18) sorted by relevance

/crypto/
A Dcompiler_test.cc235 uint8_t zeros[sizeof(void *)] = {}; in TEST() local
239 EXPECT_EQ(Bytes(aliased), Bytes(zeros)); in TEST()
244 EXPECT_EQ(Bytes(aliased), Bytes(zeros)); in TEST()
/crypto/fipsmodule/bn/
A Dmul.cc.inc90 // in |a| were zeros.
97 // in |b| were zeros.
107 // and returning a mask of all ones if the result was negative and all zeros if
200 // This additionally fixes any negative zeros created by |bn_mul_impl|.
206 // Prevent negative zeros.
A Dbn_test.cc1044 uint8_t zeros[256], out[256], reference[128]; in TEST_F() local
1046 OPENSSL_memset(zeros, 0, sizeof(zeros)); in TEST_F()
1055 EXPECT_EQ(Bytes(zeros), Bytes(out)); in TEST_F()
1081 EXPECT_EQ(Bytes(zeros, sizeof(out) - bytes), in TEST_F()
1104 uint8_t out[256], zeros[256]; in TEST_F() local
1106 OPENSSL_memset(zeros, 0, sizeof(zeros)); in TEST_F()
1108 EXPECT_EQ(Bytes(zeros), Bytes(out)); in TEST_F()
A Ddiv.cc.inc191 // avoid looping on leading zeros, as we're not trying to be leak-free.
199 // Extend |snum| with zeros to satisfy the long division invariants:
328 // Trim leading zeros and correct any negative zeros.
A Dbytes.cc.inc47 // Fill the remainder with zeros.
A Dshift.cc.inc266 // If the lower half is all zeros, it is included in the bit count and we
A Dbn.cc.inc135 // all zeros otherwise.
A Dprime.cc.inc469 is_possibly_prime = 0 - is_possibly_prime; // Make it all zeros or all ones.
491 z_is_w1_mont = 0 - z_is_w1_mont; // Make it all zeros or all ones.
A Dexponentiation.cc.inc261 // Count the number of bits in |p|, skipping leading zeros. Note this function
/crypto/cipher/test/
A Dchacha20_poly1305_tests.txt10 # Test padding AD with 15 zeros in the tag calculation.
18 # Test padding IN with 15 zeros in the tag calculation.
/crypto/fipsmodule/hkdf/
A Dhkdf.cc.inc47 // If salt is not given, HashLength zeros are used. However, HMAC does that
/crypto/fipsmodule/hmac/
A Dhmac.cc.inc126 // Keys are then padded with zeros.
/crypto/fipsmodule/rsa/
A Dpadding.cc.inc229 // zeros, a one, then the salt.
/crypto/fipsmodule/cmac/
A Dcmac.cc.inc269 // followed by zeros.
/crypto/evp/
A Devp_tests.txt541 # The above, but with too few leading zeros.
550 # The above, but with too many leading zeros.
/crypto/fipsmodule/ecdsa/
A Decdsa_sign_tests.txt6 # right number of leading zeros.
A Decdsa_verify_tests.txt6 # right number of leading zeros.
/crypto/fipsmodule/mldsa/
A Dmldsa.cc.inc1209 // where the zeros are by memory access pattern. Although this leak happens

Completed in 197 milliseconds