diff options
author | jsing <> | 2023-04-12 04:40:39 +0000 |
---|---|---|
committer | jsing <> | 2023-04-12 04:40:39 +0000 |
commit | a9c434936ce2a17263afcfb92d37ece5fd9b1220 (patch) | |
tree | 416f32623ec0420e801702b2617ac1d206367423 /src/lib/libcrypto/dh/dh_err.c | |
parent | b0ee26c7d2e2ba5f8d9159d9c269c93565c36841 (diff) | |
download | openbsd-a9c434936ce2a17263afcfb92d37ece5fd9b1220.tar.gz openbsd-a9c434936ce2a17263afcfb92d37ece5fd9b1220.tar.bz2 openbsd-a9c434936ce2a17263afcfb92d37ece5fd9b1220.zip |
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 'src/lib/libcrypto/dh/dh_err.c')
0 files changed, 0 insertions, 0 deletions