2 writes to cbKey
System.Security.Cryptography (2)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\ECCng.ImportExport.NamedCurve.cs (1)
54pBcryptBlob->cbKey = x.Length;
src\runtime\src\libraries\Common\src\System\Security\Cryptography\X25519WindowsHelpers.cs (1)
96blob->cbKey = ElementSize;
7 references to cbKey
System.Security.Cryptography (7)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\ECCng.ImportExport.NamedCurve.cs (3)
108byte[] x = Interop.BCrypt.Consume(ecBlob, ref offset, pBcryptBlob->cbKey); 109byte[] y = Interop.BCrypt.Consume(ecBlob, ref offset, pBcryptBlob->cbKey); 113byte[] d = new byte[pBcryptBlob->cbKey];
src\runtime\src\libraries\Common\src\System\Security\Cryptography\X25519WindowsHelpers.cs (1)
42if (blob->cbKey != ElementSize || blob->Magic != expectedMagicNumber)
System\Security\Cryptography\X509Certificates\X509Pal.Windows.PublicKey.cs (3)
189X = Interop.BCrypt.Consume(ecBlob, ref offset, pBcryptBlob->cbKey), 190Y = Interop.BCrypt.Consume(ecBlob, ref offset, pBcryptBlob->cbKey) 195ecParams.D = Interop.BCrypt.Consume(ecBlob, ref offset, pBcryptBlob->cbKey);