Change some comments

This commit is contained in:
Miguel Oliveira 2023-06-09 12:24:49 -03:00
parent 66120fc624
commit 4106df6da2
4 changed files with 1 additions and 23 deletions

View file

@ -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])

View file

@ -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"

View file

@ -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

View file

@ -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