Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConstantTimeCmp ¶
ConstantTimeCmp returns 1 if a > b, 0 if a == b, -1 otherwise a or b must not be nil and treated as unsigned big endian, should both in length l
func DecomposeNAF ¶
DecomposeNAF decomposes n-bit big endian integer s into w-NAF in LE See Algorithm 1 of https://www.iacr.org/archive/ches2014/87310103/87310103.pdf by Naomi Benger, Joop van de Pol, Nigel P. Smart, and Yuval Yarom This function should run very quickly therefore very hard to measure its timing or cache use. out must contain all zero or be newly created
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.