CVSROOT:        /cvs
Module name:    src
Changes by:     js...@cvs.openbsd.org   2023/04/11 22:40:39

Modified files:
        lib/libcrypto/sha: sha512.c 
Added files:
        lib/libcrypto  : crypto_internal.h 

Log message:
Provide and use crypto_store_htobe64().

It is common to need to store data in a specific endianness - rather than
handrolling and deduplicating code to do this, provide a
crypto_store_htobe64() function that converts from host endian to big
endian, before storing the data to a location with unknown alignment.

ok tb@

Reply via email to