2 writes to cbKey
System.Security.Cryptography (2)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\ECCng.ImportExport.NamedCurve.cs (1)
54
pBcryptBlob->
cbKey
= x.Length;
src\runtime\src\libraries\Common\src\System\Security\Cryptography\X25519WindowsHelpers.cs (1)
96
blob->
cbKey
= ElementSize;
7 references to cbKey
System.Security.Cryptography (7)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\ECCng.ImportExport.NamedCurve.cs (3)
108
byte[] x = Interop.BCrypt.Consume(ecBlob, ref offset, pBcryptBlob->
cbKey
);
109
byte[] y = Interop.BCrypt.Consume(ecBlob, ref offset, pBcryptBlob->
cbKey
);
113
byte[] d = new byte[pBcryptBlob->
cbKey
];
src\runtime\src\libraries\Common\src\System\Security\Cryptography\X25519WindowsHelpers.cs (1)
42
if (blob->
cbKey
!= ElementSize || blob->Magic != expectedMagicNumber)
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
);