source:
git/Tst/Manual/ellipticAdd.tst
Last change on this file was 2fede6, checked in by , 10 years ago | |
---|---|
|
|
File size: 180 bytes |
Rev | Line | |
---|---|---|
[894057] | 1 | LIB "tst.lib"; tst_init(); |
2 | LIB "crypto.lib"; | |
[2fede6] | 3 | bigint N=11; |
4 | bigint a=1; | |
5 | bigint b=6; | |
[894057] | 6 | list P,Q; |
7 | P[1]=2; | |
8 | P[2]=4; | |
9 | P[3]=1; | |
10 | Q[1]=3; | |
11 | Q[2]=5; | |
12 | Q[3]=1; | |
13 | ellipticAdd(N,a,b,P,Q); | |
14 | tst_status(1);$ |
Note: See TracBrowser
for help on using the repository browser.