With substitutes disabled, guix-codesign can fail when building oscrypto 1.3.0. The test_dump_private test raises ZeroDivisionError.
The Guix time-machine bump in bitcoin/bitcoin#36233 (merged after the 32.x branch-off) pulls in OpenSSL 3.5.5, which can finish oscrypto's initial PBKDF2 benchmark in under a millisecond. oscrypto truncates this duration to zero and then divides by it. This was fixed upstream in wbond/oscrypto@144c12195001b08b9ccecb8a3fd041d22ae24474
This PR adds the fix to contrib/guix/patches. It can be dropped once a new oscrypto release includes the fix and a Guix time machine bump includes it.