Dmitry Timoshkov : advapi32: CryptSetKeyParam() should accept NULL pbData.