I was playing around with the ECDsaCng, and I realised that the key size doesn't seem to be correct. From the code below, the privateKey variable, for instance, was a 104-long byte array, whereas I didn't expect it to be larger than 32.
What am I doing wrong?
ECDsaCng dsa = new ECDsaCng(256);
dsa.HashAlgorithm = CngAlgorithm.Sha256;
dsa.GenerateKey(ECCurve.NamedCurves.nistP256);
var privateKey = dsa.Key.Export(CngKeyBlobFormat.EccPrivateBlob);
var publicKey = dsa.Key.Export(CngKeyBlobFormat.EccPublicBlob);
Thank you in advance.