liboqs
Loading...
Searching...
No Matches
sha3x4_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_shake128_x4_inc_ctx
 
struct  OQS_SHA3_shake256_x4_inc_ctx
 
struct  OQS_SHA3_x4_callbacks
 

Functions

OQS_API void OQS_SHA3_x4_set_callbacks (struct OQS_SHA3_x4_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_x4_set_callbacks()

OQS_API void OQS_SHA3_x4_set_callbacks ( struct OQS_SHA3_x4_callbacks * new_callbacks)

Set callback functions for 4-parallel SHA3 operations.

This function may be called before OQS_init to switch the cryptographic provider for 4-parallel 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_x4_callbacks struct