Remove now unneeded BigNum::ensure_const_time method.
GitOrigin-RevId: ce34efc94f3e13f306592bed86a37f342a356a23
This commit is contained in:
parent
6854db1021
commit
d48faede71
@ -122,10 +122,6 @@ BigNum BigNum::from_raw(void *openssl_big_num) {
|
||||
BigNum::BigNum(unique_ptr<Impl> &&impl) : impl_(std::move(impl)) {
|
||||
}
|
||||
|
||||
void BigNum::ensure_const_time() {
|
||||
BN_set_flags(impl_->big_num, BN_FLG_CONSTTIME);
|
||||
}
|
||||
|
||||
int BigNum::get_num_bits() const {
|
||||
return BN_num_bits(impl_->big_num);
|
||||
}
|
||||
|
@ -53,8 +53,6 @@ class BigNum {
|
||||
|
||||
void set_value(uint32 new_value);
|
||||
|
||||
void ensure_const_time();
|
||||
|
||||
int get_num_bits() const;
|
||||
|
||||
int get_num_bytes() const;
|
||||
|
Loading…
Reference in New Issue
Block a user