model-writtenrun 7755 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Michael Paquier proposed generic HMAC APIs with OpenSSL and fallback implementations, converting SCRAM to use them so cryptographic requirements could be handled by the underlying library; he chose the older OpenSSL HMAC interface to retain support through OpenSSL 1.0.1 and deferred pgcrypto cleanup in #1.
- Bruce Momjian wanted the refactoring available for his key-management work in #2, while Michael favored more review of the authentication-sensitive interface in #3; Michael then fixed a fallback memory leak and older-OpenSSL resource handling, reporting Windows and Linux testing across supported OpenSSL versions in #4.
- Bruce raised the choice between incremental and one-call HMAC interfaces in #5, but Michael wanted consistency with the opaque-context changes Heikki had proposed for cryptohashes in a related discussion, as explained in #6; Bruce said his own work would proceed using OpenSSL meanwhile in #7.
- Michael implemented opaque HMAC contexts and simplified allocation in both implementations in #9, then added SHA-1 support in #10, explicitly leaving the resulting opportunity to simplify pgcrypto for separate work.
- Michael added NULL-context error returns and destination-length checks in #11, bringing the HMAC interface into line with cryptohash behavior.
- Michael proposed landing the work for PostgreSQL 14 in #12, Bruce assented in #13, and Michael committed #11 with only rebase and formatting differences as e6bdfd9700; his final report in #14 confirmed a complete review and supplied a test extension, leaving the HMAC refactoring landed and pgcrypto cleanup deferred.