Name Description Size
info.txt 122
mp_asmi.h Word Addition 15462
mp_comba.cpp Comba 4x4 Squaring 81776
mp_core.h If cond == 0, does nothing. If cond > 0, swaps x[0:size] with y[0:size] Runs in constant time 21182
mp_karat.cpp Simple O(N^2) Multiplication 10114
mp_madd.h Word Multiply/Add 2976
mp_monty.cpp Montgomery reduction - product scanning form https://www.iacr.org/archive/ches2005/006.pdf https://eprint.iacr.org/2013/882.pdf https://www.microsoft.com/en-us/research/wp-content/uploads/1996/01/j37acmon.pdf 3322
mp_monty.h Each of these functions makes the following assumptions: z_size >= 2*(p_size + 1) ws_size >= z_size 786
mp_monty_n.cpp 109332