| 1 | #cxx . . $ `<file>/ref10/crypto_sign/ge_frombytes.c`/include "ge.h"cxx . . $ `<file>/ref10/crypto_sign/ge.h`/ |
| 2 | |
| 3 | static const fecxx . . $ fe# dcxx . . $ d. = { |
| 4 | #include "d.h"cxx . . $ `<file>/ref10/crypto_sign/d.h`/ |
| 5 | } ; |
| 6 | |
| 7 | static const fecxx . . $ fe# sqrtm1cxx . . $ sqrtm1. = { |
| 8 | #include "sqrtm1.h"cxx . . $ `<file>/ref10/crypto_sign/sqrtm1.h`/ |
| 9 | } ; |
| 10 | |
| 11 | int ge_frombytes_negate_vartimecxx . . $ `ref10/crypto_sign/ge.h:55:9`!(ge_p3cxx . . $ ge_p3# *h,const unsigned char *s) |
| 12 | { |
| 13 | fecxx . . $ fe# u; |
| 14 | fecxx . . $ fe# v; |
| 15 | fecxx . . $ fe# v3; |
| 16 | fecxx . . $ fe# vxx; |
| 17 | fecxx . . $ fe# check; |
| 18 | |
| 19 | fe_frombytescxx . . $ `ref10/crypto_sign/fe.h:18:9`!(h->Ycxx . . $ $anonymous_type_e34c44a02fdbb0a4_1#Y.,s); |
| 20 | fe_1cxx . . $ `ref10/crypto_sign/fe.h:24:9`!(h->Zcxx . . $ $anonymous_type_e34c44a02fdbb0a4_1#Z.); |
| 21 | fe_sqcxx . . $ `ref10/crypto_sign/fe.h:30:9`!(u,h->Ycxx . . $ $anonymous_type_e34c44a02fdbb0a4_1#Y.); |
| 22 | fe_mulcxx . . $ `ref10/crypto_sign/fe.h:29:9`!(v,u,dcxx . . $ d.); |
| 23 | fe_subcxx . . $ `ref10/crypto_sign/fe.h:27:9`!(u,u,h->Zcxx . . $ $anonymous_type_e34c44a02fdbb0a4_1#Z.); /* u = y^2-1 */ |
| 24 | fe_addcxx . . $ `ref10/crypto_sign/fe.h:26:9`!(v,v,h->Zcxx . . $ $anonymous_type_e34c44a02fdbb0a4_1#Z.); /* v = dy^2+1 */ |
| 25 | |
| 26 | fe_sqcxx . . $ `ref10/crypto_sign/fe.h:30:9`!(v3,v); |
| 27 | fe_mulcxx . . $ `ref10/crypto_sign/fe.h:29:9`!(v3,v3,v); /* v3 = v^3 */ |
| 28 | fe_sqcxx . . $ `ref10/crypto_sign/fe.h:30:9`!(h->Xcxx . . $ $anonymous_type_e34c44a02fdbb0a4_1#X.,v3); |
| 29 | fe_mulcxx . . $ `ref10/crypto_sign/fe.h:29:9`!(h->Xcxx . . $ $anonymous_type_e34c44a02fdbb0a4_1#X.,h->Xcxx . . $ $anonymous_type_e34c44a02fdbb0a4_1#X.,v); |
| 30 | fe_mulcxx . . $ `ref10/crypto_sign/fe.h:29:9`!(h->Xcxx . . $ $anonymous_type_e34c44a02fdbb0a4_1#X.,h->Xcxx . . $ $anonymous_type_e34c44a02fdbb0a4_1#X.,u); /* x = uv^7 */ |
| 31 | |
| 32 | fe_pow22523cxx . . $ `ref10/crypto_sign/fe.h:33:9`!(h->Xcxx . . $ $anonymous_type_e34c44a02fdbb0a4_1#X.,h->Xcxx . . $ $anonymous_type_e34c44a02fdbb0a4_1#X.); /* x = (uv^7)^((q-5)/8) */ |
| 33 | fe_mulcxx . . $ `ref10/crypto_sign/fe.h:29:9`!(h->Xcxx . . $ $anonymous_type_e34c44a02fdbb0a4_1#X.,h->Xcxx . . $ $anonymous_type_e34c44a02fdbb0a4_1#X.,v3); |
| 34 | fe_mulcxx . . $ `ref10/crypto_sign/fe.h:29:9`!(h->Xcxx . . $ $anonymous_type_e34c44a02fdbb0a4_1#X.,h->Xcxx . . $ $anonymous_type_e34c44a02fdbb0a4_1#X.,u); /* x = uv^3(uv^7)^((q-5)/8) */ |
| 35 | |
| 36 | fe_sqcxx . . $ `ref10/crypto_sign/fe.h:30:9`!(vxx,h->Xcxx . . $ $anonymous_type_e34c44a02fdbb0a4_1#X.); |
| 37 | fe_mulcxx . . $ `ref10/crypto_sign/fe.h:29:9`!(vxx,vxx,v); |
| 38 | fe_subcxx . . $ `ref10/crypto_sign/fe.h:27:9`!(check,vxx,u); /* vx^2-u */ |
| 39 | if (fe_isnonzerocxx . . $ `ref10/crypto_sign/fe.h:21:9`!(check)) { |
| 40 | fe_addcxx . . $ `ref10/crypto_sign/fe.h:26:9`!(check,vxx,u); /* vx^2+u */ |
| 41 | if (fe_isnonzerocxx . . $ `ref10/crypto_sign/fe.h:21:9`!(check)) return -1; |
| 42 | fe_mulcxx . . $ `ref10/crypto_sign/fe.h:29:9`!(h->Xcxx . . $ $anonymous_type_e34c44a02fdbb0a4_1#X.,h->Xcxx . . $ $anonymous_type_e34c44a02fdbb0a4_1#X.,sqrtm1cxx . . $ sqrtm1.); |
| 43 | } |
| 44 | |
| 45 | if (fe_isnegativecxx . . $ `ref10/crypto_sign/fe.h:22:9`!(h->Xcxx . . $ $anonymous_type_e34c44a02fdbb0a4_1#X.) == (s[31] >> 7)) |
| 46 | fe_negcxx . . $ `ref10/crypto_sign/fe.h:28:9`!(h->Xcxx . . $ $anonymous_type_e34c44a02fdbb0a4_1#X.,h->Xcxx . . $ $anonymous_type_e34c44a02fdbb0a4_1#X.); |
| 47 | |
| 48 | fe_mulcxx . . $ `ref10/crypto_sign/fe.h:29:9`!(h->Tcxx . . $ $anonymous_type_e34c44a02fdbb0a4_1#T.,h->Xcxx . . $ $anonymous_type_e34c44a02fdbb0a4_1#X.,h->Ycxx . . $ $anonymous_type_e34c44a02fdbb0a4_1#Y.); |
| 49 | return 0; |
| 50 | } |