XMSS Library
override_shake256_256_internal.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 
44 #pragma once
45 
46 #ifndef XMSS_OVERRIDE_SHAKE256_256_INTERNAL_H_INCLUDED
48 #define XMSS_OVERRIDE_SHAKE256_256_INTERNAL_H_INCLUDED
49 
50 #include <stdint.h>
51 
52 #include "types.h"
53 
72 void xmss_sponge_absorb(uint64_t *A, uint_fast8_t offset, const uint8_t *bytes, uint_fast8_t byte_count);
73 
92 void xmss_sponge_absorb_native(uint64_t *A, const uint32_t *words, uint_fast8_t word_count);
93 
105 void xmss_sponge_squeeze(XmssValue256 *digest, const uint64_t *A);
106 
118 void xmss_sponge_squeeze_native(XmssNativeValue256 *native_digest, const uint64_t *A);
119 
137 void xmss_keccak_p_1600_24(uint64_t *A);
138 
139 #endif /* !XMSS_OVERRIDE_SHAKE256_256_INTERNAL_H_INCLUDED */
void xmss_sponge_absorb(uint64_t *A, uint_fast8_t offset, const uint8_t *bytes, uint_fast8_t byte_count)
Absorbs additional bytes into the state array A.
void xmss_sponge_squeeze(XmssValue256 *digest, const uint64_t *A)
Extracts the digest from the state array A.
void xmss_sponge_squeeze_native(XmssNativeValue256 *native_digest, const uint64_t *A)
Extracts the digest from the state array A.
void xmss_keccak_p_1600_24(uint64_t *A)
Perform an in-place $\Keccak$-$p[1600,24]$ transform of the state array A.
void xmss_sponge_absorb_native(uint64_t *A, const uint32_t *words, uint_fast8_t word_count)
Absorbs additional native words into the state array A.
The internal (native) representation of a 256-bit value.
Definition: types.h:316
A generic 256-bit value, represented as a byte stream.
Definition: types.h:279
Enumerations, basic types and callback function specifications.