Cryptographic patch attestation