mirror of
https://github.com/openssl/openssl.git
synced 2025-02-17 14:32:04 +08:00
Remove TODO comment from sskdf.c
Fixes #12993 The implementation follows the standards/recommendations specified by https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-56Cr2.pdf. Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/12999)
This commit is contained in:
parent
c57a59b1a0
commit
7339547d45
@ -371,11 +371,6 @@ static int sskdf_derive(void *vctx, unsigned char *key, size_t keylen)
|
||||
int default_salt_len;
|
||||
EVP_MAC *mac = EVP_MAC_CTX_mac(ctx->macctx);
|
||||
|
||||
/*
|
||||
* TODO(3.0) investigate the necessity to have all these controls.
|
||||
* Why does KMAC require a salt length that's shorter than the MD
|
||||
* block size?
|
||||
*/
|
||||
if (EVP_MAC_is_a(mac, OSSL_MAC_NAME_HMAC)) {
|
||||
/* H(x) = HMAC(x, salt, hash) */
|
||||
if (md == NULL) {
|
||||
|
Loading…
Reference in New Issue
Block a user