2.2.1 KDF Parameters

The following specifies the format and field descriptions for the key derivation function (KDF) parameters structure.


0

1

2

3

4

5

6

7

8

9
1
0

1

2

3

4

5

6

7

8

9
2
0

1

2

3

4

5

6

7

8

9
3
0

1

0x00

0x00

0x00

0x00

0x01

0x00

0x00

0x00

Length of hash name

0x00

0x00

0x00

0x00

Hash algorithm name (variable)

Length of hash name (4 bytes): A 32-bit unsigned integer. This field MUST be the length, in bytes, of the Hash algorithm name field. This field is encoded using little-endian format.

Hash algorithm name (variable): A null-terminated Unicode string containing the name of the hash algorithm to be used with the default KDF [SP800-108]. Valid values for this field are as follows.

Value

Meaning

L"SHA256"

The SHA-256 algorithm, as specified in [FIPS180-3].

L"SHA384"

The SHA-384 algorithm, as specified in [FIPS180-3].

L"SHA512"

The SHA-512 algorithm, as specified in [FIPS180-3].

L"SHA1"

The SHA-1 algorithm, as specified in [FIPS180-3].

 
Show: