1#ifndef SOURCEMETA_CORE_CRYPTO_AES_KW_H_
2#define SOURCEMETA_CORE_CRYPTO_AES_KW_H_
4#ifndef SOURCEMETA_CORE_CRYPTO_EXPORT
5#include <sourcemeta/core/crypto_export.h>
12namespace sourcemeta::core {
30 const std::string_view key_encryption_key,
const std::string_view key)
31 -> std::optional<std::string>;
50 const std::string_view key_encryption_key,
51 const std::string_view wrapped_key) -> std::optional<std::string>;
auto SOURCEMETA_CORE_CRYPTO_EXPORT aes_key_wrap(const std::string_view key_encryption_key, const std::string_view key) -> std::optional< std::string >
auto SOURCEMETA_CORE_CRYPTO_EXPORT aes_key_unwrap(const std::string_view key_encryption_key, const std::string_view wrapped_key) -> std::optional< std::string >