3

What is the difference between KDF based on NIST SP800-108 vs. the older one in ANSI X9.63? When should one be selected over the other? Thanks.

Maarten Bodewes
  • 92,551
  • 13
  • 161
  • 313
Evgeni Vaknin
  • 1,076
  • 7
  • 18

1 Answers1

3

The ANSI X9.63 uses SHA-1 for Key Derivation Function:

Ingredients: The key derivation function employs the hash function SHA-1 specified in Section 5.6.2

NIST SP800-108 uses PRFs:

This Section defines several families of key derivation functions that use PRFs.

First look at their dates;

  • 1998 : ANSI X9.63
  • 2009 : NIST SP800-108

And, SHA-1 is no longer recomended. So you should prefer NIST SP800-108

There are two other reasons for not to use SHA-1:


Note: Depending on your case, there is also password-based key derivations; as PBKDF2

kelalaka
  • 48,443
  • 11
  • 116
  • 196