Change some comments
This commit is contained in:
parent
66120fc624
commit
4106df6da2
|
@ -172,7 +172,7 @@ local function prac(P, ruleset)
|
|||
-- Throw away small order points.
|
||||
if fp.eqz(A[2]) then return end
|
||||
|
||||
-- Now e = d = gcd(m, n) / 8.
|
||||
-- Now e = d = gcd(m, n).
|
||||
-- Update A from [8]P to [8 * gcd(m, n)]P.
|
||||
A = ladder(A, ruleset[1])
|
||||
|
||||
|
|
|
@ -1,14 +1,4 @@
|
|||
--- Arithmetic on Curve25519's scalar field.
|
||||
--
|
||||
-- :::note Internal Module
|
||||
-- This module is meant for internal use within the library. Its API is unstable
|
||||
-- and subject to change without major version bumps.
|
||||
-- :::
|
||||
--
|
||||
-- <br />
|
||||
--
|
||||
-- @module[kind=internal] internal.fq
|
||||
--
|
||||
|
||||
local mp = require "ccryptolib.internal.mp"
|
||||
local util = require "ccryptolib.internal.util"
|
||||
|
|
|
@ -1,14 +1,4 @@
|
|||
--- Multi-precision arithmetic on 264-bit integers.
|
||||
--
|
||||
-- :::note Internal Module
|
||||
-- This module is meant for internal use within the library. Its API is unstable
|
||||
-- and subject to change without major version bumps.
|
||||
-- :::
|
||||
--
|
||||
-- <br />
|
||||
--
|
||||
-- @module[kind=internal] internal.mp
|
||||
--
|
||||
|
||||
local unpack = unpack or table.unpack
|
||||
|
||||
|
|
|
@ -4,8 +4,6 @@
|
|||
--- For performance reasons, **the generated functions do not check types,
|
||||
--- lengths, nor ranges**. You must ensure that the passed arguments are
|
||||
--- well-formed and respect the format string yourself.
|
||||
---
|
||||
--- <br />
|
||||
|
||||
local fmt = string.format
|
||||
|
||||
|
|
Loading…
Reference in a new issue