29#define MBEDTLS_ERR_SHA3_BAD_INPUT_DATA -0x0076
158#if defined(MBEDTLS_SELF_TEST)
165int mbedtls_sha3_self_test(
int verbose);
#define index(str, chr)
Definition string.h:66
unsigned int uint32_t
Definition acefiex.h:163
unsigned char uint8_t
Definition acefiex.h:161
COMPILER_DEPENDENT_UINT64 uint64_t
Definition acefiex.h:165
unsigned short int uint16_t
Definition acefiex.h:162
Build-time configuration info.
Macro wrapper for struct's members.
void mbedtls_sha3_free(mbedtls_sha3_context *ctx)
This function clears a SHA-3 context.
void mbedtls_sha3_clone(mbedtls_sha3_context *dst, const mbedtls_sha3_context *src)
This function clones the state of a SHA-3 context.
mbedtls_sha3_id
Definition sha3.h:37
@ MBEDTLS_SHA3_512
Definition sha3.h:42
@ MBEDTLS_SHA3_NONE
Definition sha3.h:38
@ MBEDTLS_SHA3_224
Definition sha3.h:39
@ MBEDTLS_SHA3_256
Definition sha3.h:40
@ MBEDTLS_SHA3_384
Definition sha3.h:41
int mbedtls_sha3_finish(mbedtls_sha3_context *ctx, uint8_t *output, size_t olen)
This function finishes the SHA-3 operation, and writes the result to the output buffer.
int mbedtls_sha3(mbedtls_sha3_id id, const uint8_t *input, size_t ilen, uint8_t *output, size_t olen)
This function calculates the SHA-3 checksum of a buffer.
void mbedtls_sha3_init(mbedtls_sha3_context *ctx)
This function initializes a SHA-3 context.
int mbedtls_sha3_starts(mbedtls_sha3_context *ctx, mbedtls_sha3_id id)
This function starts a SHA-3 checksum calculation.
int mbedtls_sha3_update(mbedtls_sha3_context *ctx, const uint8_t *input, size_t ilen)
This function feeds an input buffer into an ongoing SHA-3 checksum calculation.
The SHA-3 context structure.
Definition sha3.h:50
uint16_t MBEDTLS_PRIVATE(max_block_size)
uint64_t MBEDTLS_PRIVATE(state[25])
uint16_t MBEDTLS_PRIVATE(olen)
uint32_t MBEDTLS_PRIVATE(index)
struct VirtioInputEvent * input
Definition virtiokbd.c:46