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