aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/crypto-ops-data.c
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2018-01-27 17:24:41 -0800
committerRiccardo Spagni <ric@spagni.net>2018-01-27 17:24:42 -0800
commit7de1685bd84e56a9cf9b1e87952996b8cea18851 (patch)
tree60af797276ae890d2c3a95ba4ea92256c87b28ac /src/crypto/crypto-ops-data.c
parentMerge pull request #3118 (diff)
parentcrypto: add a ge_p3_identity constant (diff)
downloadmonero-7de1685bd84e56a9cf9b1e87952996b8cea18851.tar.xz
Merge pull request #3119
c4f43779 crypto: add a ge_p3_identity constant (moneromooo-monero) 13b4c90e crypto: add scalar mult functions returning ge_p3 instead of ge_p2 (moneromooo-monero)
Diffstat (limited to 'src/crypto/crypto-ops-data.c')
-rw-r--r--src/crypto/crypto-ops-data.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/crypto/crypto-ops-data.c b/src/crypto/crypto-ops-data.c
index 127e3e17b..4ff4310de 100644
--- a/src/crypto/crypto-ops-data.c
+++ b/src/crypto/crypto-ops-data.c
@@ -870,3 +870,4 @@ const fe fe_fffb1 = {-31702527, -2466483, -26106795, -12203692, -12169197, -3210
const fe fe_fffb2 = {8166131, -6741800, -17040804, 3154616, 21461005, 1466302, -30876704, -6368709, 10503587, -13363080}; /* sqrt(2 * A * (A + 2)) */
const fe fe_fffb3 = {-13620103, 14639558, 4532995, 7679154, 16815101, -15883539, -22863840, -14813421, 13716513, -6477756}; /* sqrt(-sqrt(-1) * A * (A + 2)) */
const fe fe_fffb4 = {-21786234, -12173074, 21573800, 4524538, -4645904, 16204591, 8012863, -8444712, 3212926, 6885324}; /* sqrt(sqrt(-1) * A * (A + 2)) */
+const ge_p3 ge_p3_identity = { {0}, {1, 0}, {1, 0}, {0} };