pycryptodome/lib/Crypto/Math
Dan Ristea 4fd3013fd2 Update native get_bit implementation to return bool
The native implementation of `get_bit` returned 0/1 as int while the GMP implementation and the type hint say `get_bit` returns a bool. Wrapped the result to align the three.
2025-05-25 12:57:08 +02:00
..
__init__.py Make mypy test pass 2018-11-23 23:07:14 +01:00
_IntegerBase.py Fix side-channel leakage in RSA decryption 2023-12-25 01:30:40 +01:00
_IntegerBase.pyi Fix side-channel leakage in RSA decryption 2023-12-25 01:30:40 +01:00
_IntegerCustom.py Fix side-channel leakage in RSA decryption 2023-12-25 01:30:40 +01:00
_IntegerCustom.pyi Fix mypy error 2018-11-23 23:19:40 +01:00
_IntegerGMP.py Add PYCRYPTODOME_DISABLE_GMP flag and simplify to_bytes() for GMP 2024-01-13 18:41:36 +01:00
_IntegerGMP.pyi More updates to type stubs 2018-11-23 23:07:14 +01:00
_IntegerNative.py Update native get_bit implementation to return bool 2025-05-25 12:57:08 +02:00
_IntegerNative.pyi More updates to type stubs 2018-11-23 23:07:14 +01:00
Numbers.py Add PYCRYPTODOME_DISABLE_GMP flag and simplify to_bytes() for GMP 2024-01-13 18:41:36 +01:00
Numbers.pyi Fix GH#526: correct type checking when list for RSA.construct includes a mix of ints and Integers 2022-12-11 00:42:44 +01:00
Primality.py Fix GH#466: miller_rabin_test() was not using the provided random source 2021-01-04 23:25:49 +01:00
Primality.pyi More updates to type stubs 2018-11-23 23:07:14 +01:00