NAF (Non-adjacent form)
Reduction of Hamming weight to ~1/3
Last updated
Reduction of Hamming weight to ~1/3
Last updated
The cost of is directly proportional to the or the number of non-zero digits of the scalar's binary form. NAF attempts to reduce the Hamming weight in comparison to unsigned bit representation.
Non-adjacent form is defined as a unique signed-bit representation of a positive number where non-zero values are non-adjacent. Note that unsigned-bit representation results in an average Hamming weight of around the total bits. In comparison, for NAF, the property for having non-zero values be non-adjacent reduces the average Hamming weight to around the total bits.
Written by of A41