)]}'
{
  "commit": "7c3c77807023bbf1aef20150dfccce58785e6a30",
  "tree": "655d58d49437ff724a26e651724cc4344581ecc3",
  "parents": [
    "0677874b8e9658f455d67583a5d48a6d8c06bb12"
  ],
  "author": {
    "name": "Richard Levitte",
    "email": "levitte@openssl.foundation",
    "time": "Tue Jul 14 19:18:12 2026 +0200"
  },
  "committer": {
    "name": "Richard Levitte",
    "email": "levitte@openssl.foundation",
    "time": "Fri Jul 31 11:41:55 2026 +0200"
  },
  "message": "OSSL_FN: Add ModSqrt stanza test in fntest\n\nMirrors file_modsqrt() in test/bntest.c.  Both square roots are\naccepted for positive cases (ret and p - ret), since a square root has\ntwo roots.\n\nThe operand a is reduced into [0, p) with BN_nnmod() at the boundary\nbefore being handed to OSSL_FN_mod_sqrt(): BN_mod_sqrt() does that\nreduction internally, but OSSL_FN_mod_sqrt() is unsigned and sees only\nthe magnitude, so feeding a raw negative a (e.g. a \u003d -5, p \u003d 7, which\nreduces to 2) would present the wrong residue.\n\nRelated-to: doc/designs/fixed-size-large-numbers.md\nIssue: https://github.com/openssl/project/issues/2026\nAssisted-by: Pi:z-ai/glm-5.2\nSigned-off-by: Richard Levitte \u003clevitte/openssl.foundation\u003e\n\nReviewed-by: Jakub Zelenka \u003cjakub.zelenka@openssl.foundation\u003e\nReviewed-by: Igor Ustinov \u003cigus@openssl.foundation\u003e\nReviewed-by: Matt Caswell \u003cmatt@openssl.foundation\u003e\nMergeDate: Fri Jul 31 09:39:06 2026\n(Merged from https://github.com/openssl/openssl/pull/31963)\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "710f0bcbf5ce860a7c06352b4998b9704a9e4c37",
      "old_mode": 33188,
      "old_path": "test/fntest.c",
      "new_id": "96222922b692d6069d7564a92694e153caa0fd7e",
      "new_mode": 33188,
      "new_path": "test/fntest.c"
    }
  ]
}
