This PR adds a test to check that the ctx-provided SHA256 compression override takes effect for the following silentpayments module API functions:
secp256k1_silentpayments_label_create(hash result is used for calculating the label tweak)secp256k1_silentpayments_sender_create_outputs(hash results are used for calculating the input hash and output tweak)secp256k1_silentpayments_recipient_prevouts_summary_create(hash result is used for calculating the input hash)secp256k1_silentpayments_recipient_scan_outputs(hash result is used for calculating the output tweak)
With #1866 for musig and this PR, all public functions that take use of the SHA256 compression override should be covered by tests.