aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorYawning Angel <yawning@schwanenlied.me>2026-02-02 10:59:30 +0900
committerYawning Angel <yawning@schwanenlied.me>2026-02-02 11:00:09 +0900
commit8ee943fc0cfbdbf81bf0fc385cf4279cf58da361 (patch)
treeb01afad5a4bae77512c3d20e1b2a45a91496f526 /core
parent2142d0796460a32f6342038be01d2fb69c1b785f (diff)
core/crypto/_weirstrass: Cosmetic fixes (NFC)
Diffstat (limited to 'core')
-rw-r--r--core/crypto/_fiat/field_p256r1/field.odin3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/crypto/_fiat/field_p256r1/field.odin b/core/crypto/_fiat/field_p256r1/field.odin
index b1662fd48..0ba0e327d 100644
--- a/core/crypto/_fiat/field_p256r1/field.odin
+++ b/core/crypto/_fiat/field_p256r1/field.odin
@@ -209,7 +209,7 @@ fe_sqrt :: proc "contextless" (out1, arg1: ^Montgomery_Domain_Field_Element) ->
// Square root candidate can be derived via exponentiation by `(p + 1) / 4`
// From sage: 28948022302589062190674361737351893382521535853822578548883407827216774463488
//
- // // Inversion computation is derived from the addition chain:
+ // Inversion computation is derived from the addition chain:
//
// _10 = 2*1
// _11 = 1 + _10
@@ -283,7 +283,6 @@ fe_sqrt :: proc "contextless" (out1, arg1: ^Montgomery_Domain_Field_Element) ->
fe_clear_vec([]^Montgomery_Domain_Field_Element{&t0, &xx, &check})
return is_valid
-
}
fe_zero :: proc "contextless" (out1: ^Montgomery_Domain_Field_Element) {