search for: modexp1024

Displaying 1 result from an estimated 1 matches for "modexp1024".

2012 Mar 02
0
[LLVMdev] General modular and multiprecision arithmetic
...{ _r_1 := Random(Zmod+(q)); _t_1 := (g^_r_1); } Def (_s_1): Round2(_C=Int(80) _c) { _s_1 := (_r_1+(x*_c)); } } I have already written a parser and an LLVM front-end for it. The approach I've used so far was to have external functions modexp1024 (and cast all inputs to 1024 - the maximal bitsize allowed for my simple cases), modmul1024 and modadd1024, doing exponentiation, multiplication and addition, respectively. So far I've tried to avoid extending LLVM with group types by using group types only during code generation and backing t...