diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2023-04-12 04:40:40 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2023-04-12 04:40:40 +0000 |
commit | 0e62b81c95b61ac66c2d4df0ba3575c9550c1b90 (patch) | |
tree | 033b66c038fe8829afbedfbbe9d9045fba483c90 /lib/libcrypto/sm4 | |
parent | d25820d53050a0385bf8cae745d51f6841fdb455 (diff) |
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@
Diffstat (limited to 'lib/libcrypto/sm4')
0 files changed, 0 insertions, 0 deletions