XMSS Library
override_shake256_256_generic.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: 2023 Fox Crypto B.V.
3  * SPDX-License-Identifier: MIT
4  *
5  * SPDX-FileContributor: Frans van Dorsselaer
6  */
7 
22 #pragma once
23 
24 #ifndef XMSS_OVERRIDE_SHAKE256_256_GENERIC_H_INCLUDED
26 #define XMSS_OVERRIDE_SHAKE256_256_GENERIC_H_INCLUDED
27 
28 #include <stddef.h>
29 #include <stdint.h>
30 
31 #include "types.h"
32 
33 
41 
48 void xmss_shake256_256_update(void *context, const uint8_t *data, size_t data_length);
49 
56 void xmss_shake256_256_finalize(void *context, XmssValue256 *digest);
57 
58 #endif /* !XMSS_OVERRIDE_SHAKE256_256_GENERIC_H_INCLUDED */
void xmss_shake256_256_finalize(void *context, XmssValue256 *digest)
Generic digest finalize function. Outputs the digest and disposes the context.
void xmss_shake256_256_update(void *context, const uint8_t *data, size_t data_length)
Generic digest update function. Updates the internal hash state for a single digest calculation with ...
void * xmss_shake256_256_init(void)
Generic digest initialization function. Returns a context for use by the update and finalize function...
A generic 256-bit value, represented as a byte stream.
Definition: types.h:279
Enumerations, basic types and callback function specifications.