Providing working example for the essence of sc_reduce32 at Why is sc_reduce32 needed? created another question.
% echo deefd263cbfed62a3711dd133df3ccbd1c4dc4aac21d7405fd667498bf8ebaa1 | sc_reduce32 9ca838c2c31f1fbad7f030b68a3017ed1b4dc4aac21d7405fd667498bf8eba01
The command above is suffixed with the byte 0x01. Trying to understand what is the purpose of this byte? For the URL above, three major steps was used to compute the normalized private key from the curve order for either ed25519 or cv25519. Another person independently made a similar computation and concluded it was unclear what the traceability for the extra 8 byte.
1BA8EBF987466FD05741DC2AAC44D1BED17308AB630F0D7BA1F1FC3C238A89C
starts with1BA...
, which in little endian would be...BA01
(since that output is 31.5 bytes, there is a 0x01). I wonder if it's not converting to little endian since the 4 0 bits on the end are missing. Perhaps I made a mistake in my computation, or failed to notice something. – koe Jan 23 '20 at 23:029CA838C2C31F1FBAD7F030B68A3017ED1B4DC4AAC21D7405FD667498BF8EBA
!=9CA838C2C31F1FBAD7F030B68A3017ED1B4DC4AAC21D7405FD667498BF8EBA01
– skaht Jan 23 '20 at 23:059CA838C2C31F1FBAD7F030B68A3017ED1B4DC4AAC21D7405FD667498BF8EBA
back into the decimal number. – koe Jan 23 '20 at 23:3478193161601845702120981620583999587111761582165320093442787058022659
converted properly to base10 and 1BA8EBF987466FD05741DC2AAC44D1BED17308AB630F0D7BA1F1FC3C238A89C did not. Thanks for the assistance:-) – skaht Jan 24 '20 at 04:45