Would make sense in the hash update functions, at least.
For the ciphers, I think the current CBC code will call the ciphers with just one block at a time, so then it's less useful to allow other threads. The cbc code could be optimized for the case that the crypto object inherits CipherState. Then one can use nettle_cbc_encrypt and nettle_cbc_decrypt.
/ Niels Möller (vässar rödpennan)
Previous text:
2004-02-13 07:48: Subject: THREADS_ALLOW
Would it be a good idea to add some THREDS_ALLOW/THREADS_DISALLOW in the crypto glue for encryption and hashes?
/ Martin Nilsson (saturator)