13 references to Consume
System.Security.Cryptography (13)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\ECCng.ImportExport.NamedCurve.cs (2)
108
byte[] x = Interop.BCrypt.
Consume
(ecBlob, ref offset, pBcryptBlob->cbKey);
109
byte[] y = Interop.BCrypt.
Consume
(ecBlob, ref offset, pBcryptBlob->cbKey);
System\Security\Cryptography\CngHelpers.cs (8)
262
rsaParams.Exponent = Interop.BCrypt.
Consume
(rsaBlob, ref offset, pBcryptBlob->cbPublicExp);
263
rsaParams.Modulus = Interop.BCrypt.
Consume
(rsaBlob, ref offset, pBcryptBlob->cbModulus);
267
rsaParams.P = Interop.BCrypt.
Consume
(rsaBlob, ref offset, pBcryptBlob->cbPrime1);
268
rsaParams.Q = Interop.BCrypt.
Consume
(rsaBlob, ref offset, pBcryptBlob->cbPrime2);
269
rsaParams.DP = Interop.BCrypt.
Consume
(rsaBlob, ref offset, pBcryptBlob->cbPrime1);
270
rsaParams.DQ = Interop.BCrypt.
Consume
(rsaBlob, ref offset, pBcryptBlob->cbPrime2);
271
rsaParams.InverseQ = Interop.BCrypt.
Consume
(rsaBlob, ref offset, pBcryptBlob->cbPrime1);
272
rsaParams.D = Interop.BCrypt.
Consume
(rsaBlob, ref offset, pBcryptBlob->cbModulus);
System\Security\Cryptography\X509Certificates\X509Pal.Windows.PublicKey.cs (3)
189
X = Interop.BCrypt.
Consume
(ecBlob, ref offset, pBcryptBlob->cbKey),
190
Y = Interop.BCrypt.
Consume
(ecBlob, ref offset, pBcryptBlob->cbKey)
195
ecParams.D = Interop.BCrypt.
Consume
(ecBlob, ref offset, pBcryptBlob->cbKey);