nrfxlib API 3.3.99
Loading...
Searching...
No Matches

SHAKE algorithms, variants of SHA3 with variable output lengths, with 128 and 256 bit security. More...

Files

file  ocrypto_shake.h
 SHAKE algorithms, variants of SHA3 with variable output lengths, with 128 and 256 bit security.
 

Functions

void ocrypto_shake128 (uint8_t *r, size_t r_len, const uint8_t *in, size_t in_len)
 
void ocrypto_shake256 (uint8_t *r, size_t r_len, const uint8_t *in, size_t in_len)
 

Incremental SHAKE generator

This group of functions can be used to incrementally compute the SHAKE hash for a given message.

void ocrypto_shake_init (ocrypto_shake_ctx *ctx)
 
void ocrypto_shake128_update (ocrypto_shake_ctx *ctx, const uint8_t *in, size_t in_len)
 
void ocrypto_shake256_update (ocrypto_shake_ctx *ctx, const uint8_t *in, size_t in_len)
 
void ocrypto_shake128_final (ocrypto_shake_ctx *ctx, uint8_t *r, size_t r_len)
 
void ocrypto_shake256_final (ocrypto_shake_ctx *ctx, uint8_t *r, size_t r_len)
 
void ocrypto_shake128_ext (ocrypto_shake_ctx *ctx, uint8_t *r, size_t r_len)
 
void ocrypto_shake256_ext (ocrypto_shake_ctx *ctx, uint8_t *r, size_t r_len)
 

Detailed Description

SHAKE algorithms, variants of SHA3 with variable output lengths, with 128 and 256 bit security.

The SHAKE family is a variable output variant of the SHA3 hash function family.

A variable length message digest is computed from variable length input data. The function is practically impossible to revert, and small changes in the input message lead to major changes in the message digest.

See also
FIPS - SHA-3 Standard: Permutation-Based Hash and Extendable-Output Functions