diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2016-04-20 20:09:59 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2016-04-20 20:09:59 +0200 |
commit | 2fa4c8ef663d774467dbcf61222c44a8826311b9 (patch) | |
tree | 2c49ff7398c3c0147db93b5aa3f2b33c677c56b5 /sys/include | |
parent | 2763229c0032c35dcd035eb7fa315c48d1c9e1ad (diff) |
libsec: implement elliptic curve group operations in jacobian coordinate system
Diffstat (limited to 'sys/include')
-rw-r--r-- | sys/include/ape/libsec.h | 1 | ||||
-rw-r--r-- | sys/include/libsec.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/sys/include/ape/libsec.h b/sys/include/ape/libsec.h index 37a59c078..b4fde5256 100644 --- a/sys/include/ape/libsec.h +++ b/sys/include/ape/libsec.h @@ -497,6 +497,7 @@ typedef struct ECpoint{ int inf; mpint *x; mpint *y; + mpint *z; /* nil when using affine coordinates */ } ECpoint; typedef ECpoint ECpub; diff --git a/sys/include/libsec.h b/sys/include/libsec.h index 6cd04cdfa..ab8f579aa 100644 --- a/sys/include/libsec.h +++ b/sys/include/libsec.h @@ -489,6 +489,7 @@ typedef struct ECpoint{ int inf; mpint *x; mpint *y; + mpint *z; /* nil when using affine coordinates */ } ECpoint; typedef ECpoint ECpub; |