diff options
author | Moonchild <moonchild@palemoon.org> | 2021-02-17 22:30:39 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2021-02-17 22:30:39 +0000 |
commit | 94ea3f8b90484bf074edcfc71355ec7330fddcb8 (patch) | |
tree | 921c12d4b1e184d1778897292ade547f204aeec5 | |
parent | 36b668be98d34cb3c6e3329b322cd8d4f385e9b4 (diff) | |
download | aura-central-94ea3f8b90484bf074edcfc71355ec7330fddcb8.tar.gz |
Issue mcp-graveyard/UXP%1743 - Update CK_GCM_PARAMS use for PKCS11 v3.0 in WebCryptoTask
-rw-r--r-- | dom/crypto/WebCryptoTask.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dom/crypto/WebCryptoTask.cpp b/dom/crypto/WebCryptoTask.cpp index 57fb3c3c8..122afd793 100644 --- a/dom/crypto/WebCryptoTask.cpp +++ b/dom/crypto/WebCryptoTask.cpp @@ -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; |