X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=include%2Fopenssl%2Fbn.h;h=8d2d5a8be05f169c3cc64f556cc8d38949564b2c;hp=db01b7e3b47a4444f1fd2888119574cf6500fb48;hb=0b1a07c8a70486534526d8967f03e32806da5661;hpb=16203f7b71bd343550f89f266eaf9fb9693f6148 diff --git a/include/openssl/bn.h b/include/openssl/bn.h index db01b7e3b4..8d2d5a8be0 100644 --- a/include/openssl/bn.h +++ b/include/openssl/bn.h @@ -431,11 +431,12 @@ int BN_BLINDING_invert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx); int BN_BLINDING_convert_ex(BIGNUM *n, BIGNUM *r, BN_BLINDING *b, BN_CTX *); int BN_BLINDING_invert_ex(BIGNUM *n, const BIGNUM *r, BN_BLINDING *b, BN_CTX *); -DEPRECATEDIN_1_0_0(unsigned long - BN_BLINDING_get_thread_id(const BN_BLINDING *)) -DEPRECATEDIN_1_0_0(void - BN_BLINDING_set_thread_id(BN_BLINDING *, unsigned long)) -CRYPTO_THREADID *BN_BLINDING_thread_id(BN_BLINDING *); + +int BN_BLINDING_is_current_thread(BN_BLINDING *b); +void BN_BLINDING_set_current_thread(BN_BLINDING *b); +int BN_BLINDING_lock(BN_BLINDING *b); +int BN_BLINDING_unlock(BN_BLINDING *b); + unsigned long BN_BLINDING_get_flags(const BN_BLINDING *); void BN_BLINDING_set_flags(BN_BLINDING *, unsigned long); BN_BLINDING *BN_BLINDING_create_param(BN_BLINDING *b,