123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- #ifndef OCRYPTO_HKDF_SHA512_H
- #define OCRYPTO_HKDF_SHA512_H
- #include <stddef.h>
- #include <stdint.h>
- #ifdef __cplusplus
- extern "C" {
- #endif
- #define ocrypto_hkdf_sha512_LENGTH_MAX (64)
- #define ocrypto_hkdf_sha512_SALT_LENGTH_MAX (128)
- void ocrypto_hkdf_sha512(
- uint8_t* r, size_t r_len,
- const uint8_t* key, size_t key_len,
- const uint8_t* salt, size_t salt_len,
- const uint8_t* info, size_t info_len);
- #ifdef __cplusplus
- }
- #endif
- #endif
|