[openssl/openssl] 211c47: Add KMAC support to KBKDF.

Shane noreply at github.com
Fri Dec 16 15:39:08 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 211c47ca1b1ac129dcee59d383cae44e36532bb9
      https://github.com/openssl/openssl/commit/211c47ca1b1ac129dcee59d383cae44e36532bb9
  Author: slontis <shane.lontis at oracle.com>
  Date:   2022-12-16 (Fri, 16 Dec 2022)

  Changed paths:
    M doc/man7/EVP_KDF-KB.pod
    M doc/man7/EVP_MAC-KMAC.pod
    M providers/implementations/kdfs/kbkdf.c
    M providers/implementations/macs/kmac_prov.c
    M test/evp_kdf_test.c
    M test/recipes/30-test_evp.t
    A test/recipes/30-test_evp_data/evpkdf_kbkdf_kmac.txt
    M test/recipes/30-test_evp_data/evpmac_common.txt

  Log Message:
  -----------
  Add KMAC support to KBKDF.

Now that ACVP test vectors exist, support has been added for this mode.
See https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-108r1.pdf

Note that the test vectors used fairly large values for the input key
and the context, so the contraints for these has been increased from
256 to 512 bytes.

Reviewed-by: Richard Levitte <levitte at openssl.org>
Reviewed-by: Paul Dale <pauli at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19916)




More information about the openssl-commits mailing list