Expand description
64-bit secp256r1 scalar field algorithms.
Constantsยง
- MU ๐
- MU = floor(2^512 / n) = 115792089264276142090721624801893421302707618245269942344307673200490803338238 = 0x100000000fffffffffffffffeffffffff43190552df1a6c21012ffd85eedf9bfe
Functionsยง
- barrett_
reduce ๐ - Barrett Reduction
- q1_
times_ ๐mu_ shift_ five - q3_
times_ ๐n_ keep_ five - sub_
inner_ ๐five - subtract_
n_ ๐if_ necessary