]> git.bitcoin.ninja Git - rust-lightning/commit
HMAC Construction and Verification for PaymentHash
authorshaavan <shaavan.github@gmail.com>
Fri, 6 Sep 2024 12:01:08 +0000 (17:31 +0530)
committershaavan <shaavan.github@gmail.com>
Fri, 6 Sep 2024 12:27:35 +0000 (17:57 +0530)
commite2ee3251018a17f1e87c57484ed0e48331dd7b7c
treed0bbb86a7a502a65629d89271ce3e71b6f4ae5fb
parent5e62df7f204d7b5f93eaf7adabe0ec4f68a1e067
HMAC Construction and Verification for PaymentHash

When a InvoiceError is received for a sent BOLT12Invoice, the
corresponding PaymentHash is to be logged. Introduce hmac construction
and verification function for PaymentHash for this purpose.
lightning/src/offers/signer.rs