6 references to BCRYPT_KEY_DATA_BLOB_HEADER
System.Core (6)
System\Security\Cryptography\BCryptNative.cs (6)
640
int blobSize = sizeof(
BCRYPT_KEY_DATA_BLOB_HEADER
) + keySize;
644
BCRYPT_KEY_DATA_BLOB_HEADER
* pBlob = (
BCRYPT_KEY_DATA_BLOB_HEADER
*)pbBlob;
645
pBlob->dwMagic =
BCRYPT_KEY_DATA_BLOB_HEADER
.BCRYPT_KEY_DATA_BLOB_MAGIC;
646
pBlob->dwVersion =
BCRYPT_KEY_DATA_BLOB_HEADER
.BCRYPT_KEY_DATA_BLOB_VERSION1;
649
Buffer.BlockCopy(key, 0, blob, sizeof(
BCRYPT_KEY_DATA_BLOB_HEADER
), keySize);