mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-26 09:07:30 +09:00
Issue #1743 - Update CK_GCM_PARAMS use for PKCS11 v3.0 in WebCryptoTask
This commit is contained in:
parent
51c4b1838c
commit
20ba0b34ec
1 changed files with 1 additions and 0 deletions
|
|
@ -690,6 +690,7 @@ private:
|
||||||
case CKM_AES_GCM:
|
case CKM_AES_GCM:
|
||||||
gcmParams.pIv = mIv.Elements();
|
gcmParams.pIv = mIv.Elements();
|
||||||
gcmParams.ulIvLen = mIv.Length();
|
gcmParams.ulIvLen = mIv.Length();
|
||||||
|
gcmParams.ulIvBits = gcmParams.ulIvLen * 8;
|
||||||
gcmParams.pAAD = mAad.Elements();
|
gcmParams.pAAD = mAad.Elements();
|
||||||
gcmParams.ulAADLen = mAad.Length();
|
gcmParams.ulAADLen = mAad.Length();
|
||||||
gcmParams.ulTagBits = mTagLength;
|
gcmParams.ulTagBits = mTagLength;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue