mirror of
https://github.com/logos-storage/constantine.git
synced 2026-01-05 22:53:12 +00:00
Typo Borrow instead of Carry in return type
This commit is contained in:
parent
a022db1c08
commit
c89c78d2d9
@ -250,7 +250,7 @@ func cadd*(a: var Limbs, b: Limbs, ctl: SecretBool): Carry =
|
|||||||
result = t.add(b)
|
result = t.add(b)
|
||||||
a.ccopy(t, ctl)
|
a.ccopy(t, ctl)
|
||||||
|
|
||||||
func cadd*(a: var Limbs, w: SecretWord, ctl: SecretBool): Borrow =
|
func cadd*(a: var Limbs, w: SecretWord, ctl: SecretBool): Carry =
|
||||||
## Limbs conditional addition, sub a number that fits in a word
|
## Limbs conditional addition, sub a number that fits in a word
|
||||||
## Returns the borrow
|
## Returns the borrow
|
||||||
var t = a
|
var t = a
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user