liboqs
Loading...
Searching...
No Matches
sha3_ops.h File Reference

Header defining the callback API for OQS SHA3 and SHAKE. More...

#include <stddef.h>
#include <stdint.h>
#include <oqs/common.h>

Go to the source code of this file.

Data Structures

struct  OQS_SHA3_sha3_256_inc_ctx
 
struct  OQS_SHA3_sha3_384_inc_ctx
 
struct  OQS_SHA3_sha3_512_inc_ctx
 
struct  OQS_SHA3_shake128_inc_ctx
 
struct  OQS_SHA3_shake256_inc_ctx
 
struct  OQS_SHA3_callbacks
 

Functions

OQS_API void OQS_SHA3_set_callbacks (struct OQS_SHA3_callbacks *new_callbacks)
 

Detailed Description

Header defining the callback API for OQS SHA3 and SHAKE.

Author
John Underhill, Douglas Stebila

SPDX-License-Identifier: MIT

Function Documentation

◆ OQS_SHA3_set_callbacks()

OQS_API void OQS_SHA3_set_callbacks ( struct OQS_SHA3_callbacks * new_callbacks)

Set callback functions for SHA3 operations.

This function may be called before OQS_init to switch the cryptographic provider for SHA3 operations. If it is not called, the default provider determined at build time will be used.

Parameters
new_callbacksCallback functions defined in OQS_SHA3_callbacks struct