SP800108HmacCounterKdf Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
NIST SP 800-108 HMAC CTR Key-Based Key Derivation (KBKDF)
public ref class SP800108HmacCounterKdf sealed : IDisposable
public sealed class SP800108HmacCounterKdf : IDisposable
type SP800108HmacCounterKdf = class
interface IDisposable
Public NotInheritable Class SP800108HmacCounterKdf
Implements IDisposable
- Inheritance
-
SP800108HmacCounterKdf
- Implements
Remarks
This implements NIST SP 800-108 HMAC in counter mode. The implemented KDF assumes the form of PRF (KI, [i]2 || Label || 0x00 || Context || [L]2)
where [i]2
and [L]2
are encoded as unsigned 32-bit integers, big endian.
All members of this class are thread safe. If the instance is disposed of while other threads are using the instance, those threads will either receive an ObjectDisposedException or produce a valid derived key.
Constructors
SP800108HmacCounterKdf(Byte[], HashAlgorithmName) |
Initializes a new instance of SP800108HmacCounterKdf using a specified key and HMAC algorithm. |
SP800108HmacCounterKdf(ReadOnlySpan<Byte>, HashAlgorithmName) |
Initializes a new instance of SP800108HmacCounterKdf using a specified key and HMAC algorithm. |