man > EVP_MD-SHAKE(7SSL)

๐Ÿ“› NAME

EVP_MD-SHAKE, EVP_MD-KECCAK-KMAC - The SHAKE / KECCAK family EVP_MD implementations

๐Ÿš€ Quick Reference

Use CaseCommandDescription
๐Ÿงช Create SHAKE-128 contextEVP_MD_CTX_new()Allocate new digest context
๐Ÿ”ง Initialize digestEVP_DigestInit_ex(ctx, EVP_shake128(), NULL)Set SHAKE-128 algorithm
๐Ÿ“ Set XOF output lengthEVP_MD_CTX_set_params(ctx, params) with "xoflen"Define variable output length
๐Ÿ”„ Update digestEVP_DigestUpdate(ctx, data, len)Feed data into digest
โœ… Finalize and get digestEVP_DigestFinalXOF(ctx, md, &mdlen)Obtain the extendable-output digest

๐Ÿ“– DESCRIPTION

Support for computing SHAKE or KECCAK-KMAC digests through the EVP_MD API.

KECCAK-KMAC is a special digest that's used by the KMAC EVP_MAC implementation (see EVP_MAC-KMAC(7)).

๐Ÿ”– Identities

๐Ÿ“Š Gettable Parameters

This implementation supports the common gettable parameters described in EVP_MD-common(7).

โš™๏ธ Settable Context Parameters

These implementations support the following OSSL_PARAM(3) entries, settable for an EVP_MD_CTX with EVP_MD_CTX_set_params(3):

๐Ÿ”— SEE ALSO

ยฉ๏ธ COPYRIGHT

Copyright 2020 The OpenSSL Project Authors. All Rights Reserved.

Licensed under the Apache License 2.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at <https://www.openssl.org/source/license.html>.

EVP_MD-SHAKE(7SSL)
๐Ÿ“› NAME ๐Ÿš€ Quick Reference ๐Ÿ“– DESCRIPTION
๐Ÿ”– Identities ๐Ÿ“Š Gettable Parameters โš™๏ธ Settable Context Parameters
๐Ÿ”— SEE ALSO ยฉ๏ธ COPYRIGHT

Generated by phpman v4.9.29 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-21 06:54 @2600:1f28:365:80b0:e9a9:ac35:f5fe:ea62
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)
Valid XHTML 1.0 Transitional!Valid CSS!
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format