I am interested in representing p = 2^255 - 19 in the Ed255519 curve as hexadecimal byte representation.
When I was looking through the original NaCL source code written by DJB, I saw a code fragment that says:
static const unsigned int minusp[32] = {
19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128
} ;
Am I safe to assume that this is the 32 byte integer representation of p = 2^255 - 19 and all I need to do is translate the 32 byte integers into 32 byte hexadecimal string representation ?
How should I represent the p for Ed25519 in hexadecimal string ?