Home
last modified time | relevance | path

Searched refs:constant_time_msb (Results 1 – 6 of 6) sorted by relevance

/freebsd-14-stable/crypto/openssl/include/internal/
HDconstant_time.h33 static ossl_inline unsigned int constant_time_msb(unsigned int a);
100 static ossl_inline unsigned int constant_time_msb(unsigned int a) in constant_time_msb() function
124 return constant_time_msb(a ^ ((a ^ b) | ((a - b) ^ b))); in constant_time_lt()
190 return constant_time_msb(~a & (a - 1)); in constant_time_is_zero()
/freebsd-14-stable/crypto/openssl/providers/implementations/asymciphers/
HDrsa_enc.c283 ret = constant_time_select_int(constant_time_msb(ret), 0, 1); in rsa_decrypt()
/freebsd-14-stable/crypto/openssl/crypto/crmf/
HDcrmf_lib.c663 failure = ~constant_time_is_zero_s(constant_time_msb(retval) in OSSL_CRMF_ENCRYPTEDVALUE_get1_encCert()
/freebsd-14-stable/crypto/openssl/crypto/rsa/
HDrsa_pmeth.c373 ret = constant_time_select_int(constant_time_msb(ret), ret, 1); in pkey_rsa_decrypt()
HDrsa_ossl.c500 err_clear_last_constant_time(1 & ~constant_time_msb(r)); in rsa_ossl_private_decrypt()
/freebsd-14-stable/crypto/openssl/crypto/bn/
HDbn_lib.c1077 mask &= constant_time_msb(j - a->top); in bn_correct_top_consttime()