Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
Cocks-Pinch variant
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
MASSON Simon
Cocks-Pinch variant
Commits
c859c353
Commit
c859c353
authored
Apr 15, 2019
by
GUILLEVIC Aurore
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mention CocksPinch{6,8,_k} files
parent
6248fdaf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
1 deletion
+22
-1
README.md
README.md
+22
-1
No files found.
README.md
View file @
c859c353
...
...
@@ -13,6 +13,8 @@ We provide code for the following tasks.
"Formulas for final exponentiation" in this file.
*
Search for pairing-friendly curves with our Cocks-Pinch variant; see
"Using the search program".
*
Elliptic curve object inherited from the sage object EllipticCurve to handle
pairing-friendly curves
Computing pairing costs
=======================
...
...
@@ -624,4 +626,23 @@ respectively):
Note that the former is naturally preferred because hy has 2-naf weight
only 4.
Pairing-friendly curve objects
==============================
The files
[
`BN.py`
](
BN.py
)
,
[
`BLS12.py`
](
BLS12.py
)
,
[
`MNT6.py`
](
MNT6.py
)
,
[
`KSS16.py`
](
KSS16.py
)
provide a class inherited from the sage class
`EllipticCurve_finite_field`
so that the usual methods are available.
Moreover, the methods
`beta`
,
`lamb`
return integers for the GLV method (used in
RELIC library to speed-up scalar multiplication), and the field
`polynomial_p`
returns a list of coefficients corresponding to the polynomial used to obtain
the special prime $p$ to define a finite field $
\m
athbf{F}_p = GF(p)$ and then an
elliptic curve $E(
\m
athbf{F}_p)$.
The files
[
`CocksPinch6.py`
](
CocksPinch6.py
)
,
[
`CocksPinch8.py`
](
CocksPinch8.py
)
correspond to Cocks-Pinch curves with embedding degree $k=6$ and $D=3$, resp.,
$k=8$ and $D=4$.
The file
[
`CocksPinch_k.py`
](
CocksPinch_k.py
)
is used for
Cocks-Pinch curves that don't have a particular structure.
The input parameters are obtained with the functions described above
(
`CocksPinchVariant`
,
`CocksPinchVariantResult`
).
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment