EVP_MD-BLAKE2(7ossl)
π EVP_MD-BLAKE2 π
okay bestie, so this is the OpenSSL manual page EVP_MD-BLAKE2(7ossl) and it's literally all about the BLAKE2 EVP_MD implementation β like, the whole thing. grab a snack, we're getting into it π
β¨ NAME β¨
EVP_MD-BLAKE2 β the BLAKE2 EVP_MD implementation, no cap π
π¦ DESCRIPTION π¦
So basically this is the support for computing BLAKE2 digests through the EVP_MD API. That's the vibe. β¨
π Identities
okay so important thing: this implementation is only available with the default provider, periodt. And it includes these varieties:
BLAKE2S-256β the known names are"BLAKE2S-256"and"BLAKE2s256"πBLAKE2B-512β the known names are"BLAKE2B-512"and"BLAKE2b512"π
πΈ Settable Parameters
"BLAKE2B-512" supports the following EVP_MD_CTX_set_params() key described in "PARAMETERS" in EVP_DigestInit(3):
"size"(OSSL_DIGEST_PARAM_SIZE) <unsigned integer> β yep, that's the one π«Ά
π§ Gettable Parameters
This implementation supports the common gettable parameters described in EVP_MD-common(7). slay, standard stuff π
β Settable Context Parameters
The implementation supports the following OSSL_PARAM(3) entries which are settable for an EVP_MD_CTX with EVP_DigestInit_ex2(3) or EVP_MD_CTX_set_params(3):
"size"(OSSL_DIGEST_PARAM_SIZE) <unsigned integer> β sets a different digest length for theEVP_DigestFinal(3)output. The value of the"size"parameter must not exceed the default digest length of the respective BLAKE2 algorithm variants,64forBLAKE2B-512and32forBLAKE2S-256. The parameter must be set with theEVP_DigestInit_ex2(3)call to have an immediate effect. When set withEVP_MD_CTX_set_params(3)it will have an effect only if theEVP_MD_CTXcontext is reinitialized. π
fr fr bestie, watch that max β64forBLAKE2B-512and32forBLAKE2S-256, and if you set it the "wrong" way it won't kick in until the context gets reinitialized. iykyk π
π SEE ALSO π
provider-digest(7), OSSL_PROVIDER-default(7)
π₯ HISTORY π₯
- This functionality was added in OpenSSL
3.0. - The variable size support was added in OpenSSL
3.2forBLAKE2B-512and in OpenSSL3.3forBLAKE2S-256.
π COPYRIGHT π
Copyright 2020-2024 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>.
okay that's the whole page, and yes you ate that π
this was version 3.5.9, dated 2026-09-29 β catch you in the next manpage, bestie πβ¨π«Ά
π¦ where this page comes from
- alpine 3.23: openssl-doc 3.5.9-r0 Β· Apache-2.0
- alpine 3.24: openssl-doc 3.5.9-r0 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms