Some changes required to make rsaes_oaep work on Python 3.