Before there was two traits AddTag and Tagged that did basically the same thing. AddTag was used for NonceGens while Tagged was used for hashes. Merging them into one Tag trait seems to have solved more friction than it created and seems to be less confusing.
secp256kfun will now actually compile without an allocator. A dependency was loading alloc even when we didn't. Fixing this revealed that we were actually using alloc features without intendeding to.
Also added some new NonceRng implementations for RefCells and Mutexs of rngs while I was around in this code.
AddTag
andTagged
that did basically the same thing.AddTag
was used forNonceGen
s whileTagged
was used for hashes. Merging them into oneTag
trait seems to have solved more friction than it created and seems to be less confusing.alloc
even when we didn't. Fixing this revealed that we were actually usingalloc
features without intendeding to.NonceRng
implementations forRefCell
s andMutex
s of rngs while I was around in this code.