Searched refs:constant_time_is_zero (Results 1 - 11 of 11) sorted by relevance

/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/rsa/
H A Drsa_pk1.c190 mask = ~constant_time_is_zero(flen);
196 good = constant_time_is_zero(em[0]);
202 unsigned int equals0 = constant_time_is_zero(em[i]);
H A Drsa_ssl.c90 mask = ~constant_time_is_zero(flen);
96 good = constant_time_is_zero(em[0]);
105 unsigned int equals0 = constant_time_is_zero(em[i]);
H A Drsa_oaep.c177 mask = ~constant_time_is_zero(flen);
188 good = constant_time_is_zero(em[0]);
206 good &= constant_time_is_zero(CRYPTO_memcmp(db, phash, mdlen));
214 unsigned int equals0 = constant_time_is_zero(db[i]);
/netbsd-current/crypto/external/bsd/openssl.old/dist/include/internal/
H A Dconstant_time.h55 static ossl_inline unsigned int constant_time_is_zero(unsigned int a);
164 static ossl_inline unsigned int constant_time_is_zero(unsigned int a) function
176 return (unsigned char)constant_time_is_zero(a);
187 return constant_time_is_zero(a ^ b);
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/rsa/
H A Drsa_pk1.c202 mask = ~constant_time_is_zero(flen);
208 good = constant_time_is_zero(em[0]);
214 unsigned int equals0 = constant_time_is_zero(em[i]);
326 good = constant_time_is_zero(from[0]);
H A Drsa_oaep.c224 mask = ~constant_time_is_zero(flen);
235 good = constant_time_is_zero(em[0]);
253 good &= constant_time_is_zero(CRYPTO_memcmp(db, phash, mdlen));
261 unsigned int equals0 = constant_time_is_zero(db[i]);
/netbsd-current/crypto/external/bsd/openssl/dist/include/internal/
H A Dconstant_time.h56 static ossl_inline unsigned int constant_time_is_zero(unsigned int a);
188 static ossl_inline unsigned int constant_time_is_zero(unsigned int a) function
200 return (unsigned char)constant_time_is_zero(a);
216 return constant_time_is_zero(a ^ b);
/netbsd-current/crypto/external/bsd/openssl.old/dist/test/
H A Dconstant_time_test.c117 if (a == 0 && !TEST_uint_eq(constant_time_is_zero(a), CONSTTIME_TRUE))
119 if (a != 0 && !TEST_uint_eq(constant_time_is_zero(a), CONSTTIME_FALSE))
/netbsd-current/crypto/external/bsd/openssl/dist/test/
H A Dconstant_time_test.c117 if (a == 0 && !TEST_uint_eq(constant_time_is_zero(a), CONSTTIME_TRUE))
119 if (a != 0 && !TEST_uint_eq(constant_time_is_zero(a), CONSTTIME_FALSE))
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/crmf/
H A Dcrmf_lib.c664 | constant_time_is_zero(retval));
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/des/
H A Dset_key.c126 res |= constant_time_is_zero((unsigned int)j);

Completed in 267 milliseconds