-
DataHoarder14:33:02 <br-m> <syntheticbird> mrelay.p2pool.observer/m/monero.social/jUYbmXnHjTASBvlfIjpsSrVh.png (carrotAddressGeneration.png)
-
DataHoarderScalarDerive(x) in chart has different behavior than ScalarDerive(x) as in the markdown document
-
DataHoardersc_reduce32 only acts on the first 32 bytes as fed to the function
-
DataHoarderwhile markdown specifies mod l which is the generalized form (so it can work on 64 byte input)
-
DataHoarderso specifically ScalarDerive(x) = sc_reduce32(H64(x)) will drop the low value 32 bytes of the 64-byte H64 result (little endian)
-
DataHoarder
-
DataHoarderalso on the non-raw file github.com/jeffro256/carrot/blob/master/carrot.md#334-private-keys
-
br-m<helene:unredacted.org> DataHoarder: the endianness seems very important to clarify and specify especially when it comes to using hash functions ^^;;
-
DataHoarderyeah not just the endianness but that function specifically doesn't work there
-
DataHoarderif you are treating the ops for hashing bytes, endianness by default on all ops has been little endian
-
DataHoarderand question > "Here Hp1 and Hp2 refer to two hash-to-point functions on Ed25519."
-
DataHoarderthey are two functions, but ... which are they? :)
-
br-m<helene:unredacted.org> well, in the codebase, it seems to mean "just use the hash as-is", which surely can't be quite right?
-
DataHoarderit is little endian :)
-
DataHoarderso yes, use as-is
-
br-m<helene:unredacted.org> my problem with it being "just use as-is" is that H_p^1 clearly has an effect on G, so it can't just be cast-to-int256
-
br-m<helene:unredacted.org> could it be elligator's map to curve, maybe?
-
DataHoarderthen H_p^2 ?
-
DataHoarderand yeah I could just use these values as-is but same as my randomx implementation I'll derive them from their most raw form
-
br-m<helene:unredacted.org> yeah it's best to make sure we can actually reproduce this, because otherwise it would be Funny Business
-
DataHoarderI was doing something else and yet again I meet my worst friend, ge_fromfe_frombytes_vartime
-
DataHoardermaybe let's look at oxide github.com/monero-oxide/monero-oxid…ide/generators/src/hash_to_point.rs
-
br-m<helene:unredacted.org> DataHoarder: this is quite an odd thing to do
-
DataHoarderIt was documented better after monero-project/research-lab #142 / monero-oxide/monero-oxide #33
-
br-m<helene:unredacted.org> but is there a reason to keep doing this on Carrot, especially since... a lot of things get converted back to Curve25519?
-
DataHoarderoh, this is somewhat unrelated, while awaiting clarification on the above I am just doing hash to point :)
8 minutes ago