26 Commits (6650e6bbae12a79e12667857ee039f1b1f30c7e3)

Author SHA1 Message Date
Benoit Verret f731c38293
Minor style changes 5 years ago
SomberNight 707a58abf1
crypto: add comment about ripemd.py 5 years ago
SomberNight 151a45911f
follow-up prev: too much copy-paste 5 years ago
SomberNight 9740744d70
crypto: add chacha20_decrypt; unused for now 5 years ago
SomberNight 9bc4182924
crypto: check version of pycryptodomex/cryptography at runtime 5 years ago
SomberNight 7e534f4865
dependencies: rm pyaes from requirements 5 years ago
SomberNight e1a2299f0c channel backup versions: trivial clean-up 6 years ago
ThomasV f9788a5d90 channel backups: add MAC 6 years ago
ThomasV 26ae6d68a3 add encryption version to channel backups 6 years ago
SomberNight 725b6f1564
crypto: chacha20-methods: make associated_data param optional 6 years ago
JeremyRand 62ca53cdf4
Fix "backed" typo in crypto.py 6 years ago
SomberNight 1ea89af012
crypto.pw_decode: fix one case of raising incorrect exception 6 years ago
SomberNight 789b78cab5
crypto: trivial clean-up of pw_encode/pw_decode functions 6 years ago
ThomasV c8f602c9d7 pw_decode, pw_encode: separate bytes functions 6 years ago
SomberNight 74a3faf803
crypto: add 'cryptography' as alt dependency for 'pycryptodomex' 6 years ago
SomberNight 18f3a37032
crypto: move LN-related chacha20/poly1305 code into crypto.py 6 years ago
ThomasV 5666188e9e update lnbase after crypto refactoring 7 years ago
ThomasV 6ba846bff0 fix hash in make_offered_htlc 7 years ago
SomberNight 8f5f0e46aa
keystore: fail sooner if unsupported version 7 years ago
SomberNight 0c9a03ac54
keystore: revert KDF change from #4838 7 years ago
SomberNight f04e5fbed6
crypto: fix pkcs7 padding check 7 years ago
SomberNight 48b0de7871
keystore: stronger pbkdf for encryption 7 years ago
SomberNight aceb022f9d
crypto: more type annotations 7 years ago
SomberNight 082a83dd85
rename crypto.Hash to sha256d 7 years ago
Janus 097ac144d9 file reorganization with top-level module 8 years ago
SomberNight bc0036297b fast hmac on python 3.7+ 8 years ago
SomberNight 1f6ccfb134
fast hmac on python 3.7+ 8 years ago
SomberNight 16e4827e8c
use libsecp256k1 if available. abstract away ecc stuff. move symmetric crypto and hash functions to crypto.py 8 years ago