diff options
| author | J08nY | 2017-10-31 23:22:39 +0100 |
|---|---|---|
| committer | J08nY | 2017-10-31 23:22:39 +0100 |
| commit | 9324dcae824b37edd61b370c6f41b5ea228888ec (patch) | |
| tree | 65dec4da588327b42b9104777e0d7fa65415c3c9 /docs/FORMAT.md | |
| parent | 567695b16aef0f0706f46f0a87c83baae808b47e (diff) | |
| download | ECTester-9324dcae824b37edd61b370c6f41b5ea228888ec.tar.gz ECTester-9324dcae824b37edd61b370c6f41b5ea228888ec.tar.zst ECTester-9324dcae824b37edd61b370c6f41b5ea228888ec.zip | |
Move docs to subfolder.
Diffstat (limited to 'docs/FORMAT.md')
| -rw-r--r-- | docs/FORMAT.md | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/docs/FORMAT.md b/docs/FORMAT.md new file mode 100644 index 0000000..b68db39 --- /dev/null +++ b/docs/FORMAT.md @@ -0,0 +1,35 @@ +# Format +CSV based, little-endian hexadecimal values. + +## Curves +### Prime field +`p,a,b,gx,gy,n,h` + +### Binary field +`m,e1,e2,e3,a,b,gx,gy,n,h` + +## Key material +### Keypair +`wx,wy,s` + +### Public key +`wx,wy` + +### Private key +`s` + +# Notation + - `p` - prime F_p + - `m` - binary field exponent F_2^m + - `e1` - largest exponent of the field polynomial + - `e2` - middle exponenet of the field polynomial, or `0000` if field poly is a trinomial + - `e3` - smallest exponent (except zero) of the field polynomial, or `0000` if field poly is a trinomial + - `a` - a parameter in short Weierstrass curve equation + - `b` - b parameter in short Weierstrass curve equation + - `gx` - x coordinate of the curve base-point g + - `gy` - y coordinate of the curve base-point g + - `n` - the base-point order + - `h` - the base-point cofactor + - `wx` - the x coordinate of the public key + - `wy` - the y coordinate of th public key + - `s` - the private key value
\ No newline at end of file |
