EVP_MD-BLAKE2(7ossl)
β¨ EVP_MD-BLAKE2 π
okay so bestie, this is the OpenSSL manual page for EVP_MD-BLAKE2 β that's the 7ossl one β and it's literally all about the BLAKE2 EVP_MD implementation. grab a lil snack, we're getting into it π
πΈ NAME πΈ
EVP_MD-BLAKE2 β the BLAKE2 EVP_MD implementation, no cap.
π¦ SYNOPSIS π¦
literally just read the description babe, there's no separate synopsis line here, it's giving "go straight to the vibes" β¨
π DESCRIPTION π
so this implementation is for computing BLAKE2 digests through the EVP_MD API. that's the whole mood. π
π Identities
first things first: this implementation is only available with the default provider. not the other providers, just the default one, okay? and it includes the following varieties:
BLAKE2S-256β known names are"BLAKE2S-256"and"BLAKE2s256".BLAKE2B-512β known names are"BLAKE2B-512"and"BLAKE2b512".
those are the exact strings, keep them exactly like that, don't get creative with the casing or she will not be found π
π 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). nothing extra, nothing wild, just the usual. π«Ά
π 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.
β οΈ okay listen, this part matters: the value of the"size"parameter must not exceed the default digest length of the respective BLAKE2 algorithm variants β that's 64 forBLAKE2B-512and 32 forBLAKE2S-256. do not test her. π
π also, timing is everything: 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 only have an effect if theEVP_MD_CTXcontext is reinitialized. so likeβ¦ read the room and set it at the right moment, bestie. β¨
π₯ SEE ALSO π₯
go read those too, iykyk π
β HISTORY β
- this functionality was added in OpenSSL 3.0.
- the variable size support was added in OpenSSL 3.2 for
BLAKE2B-512, and in OpenSSL 3.3 forBLAKE2S-256.
she's been evolving, honestly iconic πΈ
π 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>.
like, fr fr, respect the license π«Ά
and that's the whole page, bestie! this was version 3.5.0, dated 2026-09-25, and it's the EVP_MD-BLAKE2(7ossl) page β slay, go hash something. π
π¦ where this page comes from
- opensuse-leap 16.0: openssl-3 3.5.0-160000.11.1 Β· Apache-2.0
- opensuse-leap 16.0: openssl-3 3.5.0-160000.11.1 Β· Apache-2.0
- opensuse-leap 16.0: openssl-3 3.5.0-160000.11.1 Β· Apache-2.0
- opensuse-leap 16.0: openssl-3 3.5.0-160000.11.1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms