Issue #1743 - Update CK_GCM_PARAMS use for PKCS11 v3.0 in WebCryptoTask

This commit is contained in:
Moonchild 2021-02-17 22:30:39 +00:00 committed by roytam1
commit 20ba0b34ec

View file

@ -690,6 +690,7 @@ private:
case CKM_AES_GCM:
gcmParams.pIv = mIv.Elements();
gcmParams.ulIvLen = mIv.Length();
gcmParams.ulIvBits = gcmParams.ulIvLen * 8;
gcmParams.pAAD = mAad.Elements();
gcmParams.ulAADLen = mAad.Length();
gcmParams.ulTagBits = mTagLength;