11 references to KeyDerivationKdf
System.Security.Cryptography (11)
System\Security\Cryptography\HpkeECDiffieHellmanKemAdapter.cs (1)
135
Span<byte> prk = prkBuffer.Slice(0,
KeyDerivationKdf
.Nh);
System\Security\Cryptography\HpkeManagedKemAdapter.cs (9)
75
if (
KeyDerivationKdf
.Nh > PrkStackBufferSize)
77
Debug.Fail($"{
KeyDerivationKdf
.Nh} is unexpectedly bigger than {PrkStackBufferSize}.");
82
Span<byte> prk = prkBuffer.Slice(0,
KeyDerivationKdf
.Nh);
110
Debug.Assert(
KeyDerivationKdf
.IsTwoStage);
111
Debug.Assert(prk.Length ==
KeyDerivationKdf
.Nh);
127
int written = HKDF.Extract(
KeyDerivationKdf
.HkdfHashAlgorithm, destination, salt, prk);
138
Debug.Assert(
KeyDerivationKdf
.IsTwoStage);
139
Debug.Assert(prk.Length ==
KeyDerivationKdf
.Nh);
158
HKDF.Expand(
KeyDerivationKdf
.HkdfHashAlgorithm, prk, output, destination);
System\Security\Cryptography\HpkeX25519DiffieHellmanKemAdapter.cs (1)
37
Span<byte> prk = prkBuffer.Slice(0,
KeyDerivationKdf
.Nh);