summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/dh/dh_err.c
diff options
context:
space:
mode:
authorjsing <>2023-04-12 04:40:39 +0000
committerjsing <>2023-04-12 04:40:39 +0000
commita9c434936ce2a17263afcfb92d37ece5fd9b1220 (patch)
tree416f32623ec0420e801702b2617ac1d206367423 /src/lib/libcrypto/dh/dh_err.c
parentb0ee26c7d2e2ba5f8d9159d9c269c93565c36841 (diff)
downloadopenbsd-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