25#if !defined(__HASHA_SHA3_H)
35#define HA_SHA3_224_DIGEST_SIZE ha_bB(224)
41#define HA_SHA3_256_DIGEST_SIZE ha_bB(256)
47#define HA_SHA3_384_DIGEST_SIZE ha_bB(384)
53#define HA_SHA3_512_DIGEST_SIZE ha_bB(512)
HA_PUBFUN void ha_sha3_224_update(ha_sha3_224_context *ctx, ha_inbuf_t data, size_t length)
Absorbs data into the SHA3-224 context.
ha_sha3_context ha_sha3_384_context
HA_PUBFUN void ha_sha3_224_hash(ha_inbuf_t data, size_t length, ha_digest_t digest)
Computes the SHA3-224 hash in a one-shot operation.
HA_PUBFUN void ha_sha3_384_final(ha_sha3_384_context *ctx, ha_digest_t digest)
Finalizes the SHA3-384 computation.
ha_sha3_context ha_sha3_224_context
HA_PUBFUN void ha_sha3_256_hash(ha_inbuf_t data, size_t length, ha_digest_t digest)
Computes the SHA3-256 hash in a one-shot operation.
HA_PUBFUN void ha_sha3_384_init(ha_sha3_384_context *ctx)
Initializes the SHA3-384 context.
HA_PUBFUN void ha_sha3_512_final(ha_sha3_512_context *ctx, ha_digest_t digest)
Finalizes the SHA3-512 computation.
HA_PUBFUN void ha_sha3_512_hash(ha_inbuf_t data, size_t length, ha_digest_t digest)
Computes the SHA3-512 hash in a one-shot operation.
HA_PUBFUN void ha_sha3_224_final(ha_sha3_224_context *ctx, ha_digest_t digest)
Finalizes the SHA3-224 computation.
ha_sha3_context ha_sha3_512_context
HA_PUBFUN void ha_sha3_512_init(ha_sha3_512_context *ctx)
Initializes the SHA3-512 context.
ha_sha3_context ha_sha3_256_context
HA_PUBFUN void ha_sha3_256_init(ha_sha3_256_context *ctx)
Initializes the SHA3-256 context.
HA_PUBFUN void ha_sha3_224_init(ha_sha3_224_context *ctx)
Initializes the SHA3-224 context.
HA_PUBFUN void ha_sha3_384_hash(ha_inbuf_t data, size_t length, ha_digest_t digest)
Computes the SHA3-384 hash in a one-shot operation.
HA_PUBFUN void ha_sha3_512_update(ha_sha3_512_context *ctx, ha_inbuf_t data, size_t length)
Absorbs data into the SHA3-512 context.
HA_PUBFUN void ha_sha3_256_final(ha_sha3_256_context *ctx, ha_digest_t digest)
Finalizes the SHA3-256 computation.
HA_PUBFUN void ha_sha3_384_update(ha_sha3_384_context *ctx, ha_inbuf_t data, size_t length)
Absorbs data into the SHA3-384 context.
HA_PUBFUN void ha_sha3_256_update(ha_sha3_256_context *ctx, ha_inbuf_t data, size_t length)
Absorbs data into the SHA3-256 context.
Keccak hash state context.
The context structure used by all SHA3 variants.
__ha_out_buf_type ha_digest_t
__ha_in_buf_type ha_inbuf_t