liboqs
|
Header defining the callback API for OQS SHA2. More...
#include <stddef.h>
#include <stdint.h>
#include <oqs/common.h>
Go to the source code of this file.
Data Structures | |
struct | OQS_SHA2_sha224_ctx |
struct | OQS_SHA2_sha256_ctx |
struct | OQS_SHA2_sha384_ctx |
struct | OQS_SHA2_sha512_ctx |
struct | OQS_SHA2_callbacks |
Functions | |
OQS_API void | OQS_SHA2_set_callbacks (struct OQS_SHA2_callbacks *new_callbacks) |
Header defining the callback API for OQS SHA2.
SPDX-License-Identifier: MIT
OQS_API void OQS_SHA2_set_callbacks | ( | struct OQS_SHA2_callbacks * | new_callbacks | ) |
Set callback functions for SHA2 operations.
This function may be called before OQS_init to switch the cryptographic provider for SHA2 operations. If it is not called, the default provider determined at build time will be used.
[in] | new_callbacks | Callback functions defined in OQS_SHA2_callbacks |