Nikos Mavrogiannopoulos nmav@gnutls.org writes:
Would it be possible to export _nettle_write_be32?
This function is simple enough that it can be documented and made public, if people find it useful.
It is a useful function and can be used on the accelerated versions of SHA in architectures that support it (i.e. VIA cpus).
BTW, how does that acceleration work? Would it be possible/practical to write a function matching the current _nettle_sha1_compress.
btw. the MD_* macros were also proved to be very useful in that case.
These macros are really intended for internal use only. I'd prefer to not export any interfaces like that. If functionality like this should be exported at all, I'd be more comfortable with a function interface for doing these things.
Regards, /Niels