summaryrefslogtreecommitdiffstats
path: root/security/nss/lib/softoken/sftkdbti.h
diff options
context:
space:
mode:
authorwin7-7 <win7-7@users.noreply.github.com>2019-06-30 12:38:18 +0300
committerwin7-7 <win7-7@users.noreply.github.com>2019-06-30 12:38:18 +0300
commit3051056bbb0b41b8258d91e44a4ff8ec33a98d8f (patch)
tree435214f56383925b337cc350452485717c4ea0d1 /security/nss/lib/softoken/sftkdbti.h
parent00812e30dfa70f9b1a752cf0d09de00f6d401c85 (diff)
parent98f7e3b16754aedd44747261113359b8d824449f (diff)
downloadUXP-3051056bbb0b41b8258d91e44a4ff8ec33a98d8f.tar
UXP-3051056bbb0b41b8258d91e44a4ff8ec33a98d8f.tar.gz
UXP-3051056bbb0b41b8258d91e44a4ff8ec33a98d8f.tar.lz
UXP-3051056bbb0b41b8258d91e44a4ff8ec33a98d8f.tar.xz
UXP-3051056bbb0b41b8258d91e44a4ff8ec33a98d8f.zip
Merge branch 'master' into FrameProperties
Diffstat (limited to 'security/nss/lib/softoken/sftkdbti.h')
-rw-r--r--security/nss/lib/softoken/sftkdbti.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/security/nss/lib/softoken/sftkdbti.h b/security/nss/lib/softoken/sftkdbti.h
index 7b1db4560..22655de56 100644
--- a/security/nss/lib/softoken/sftkdbti.h
+++ b/security/nss/lib/softoken/sftkdbti.h
@@ -13,7 +13,9 @@ struct SFTKDBHandleStr {
PRInt32 ref;
CK_OBJECT_HANDLE type;
SECItem passwordKey;
+ int defaultIterationCount;
SECItem *newKey;
+ int newDefaultIterationCount;
SECItem *oldKey;
SECItem *updatePasswordKey;
PZLock *passwordLock;
@@ -39,9 +41,10 @@ struct SFTKDBHandleStr {
SECStatus sftkdb_DecryptAttribute(SECItem *passKey, SECItem *cipherText,
SECItem **plainText);
SECStatus sftkdb_EncryptAttribute(PLArenaPool *arena, SECItem *passKey,
- SECItem *plainText, SECItem **cipherText);
+ int iterationCount, SECItem *plainText,
+ SECItem **cipherText);
SECStatus sftkdb_SignAttribute(PLArenaPool *arena, SECItem *passKey,
- CK_OBJECT_HANDLE objectID,
+ int iterationCount, CK_OBJECT_HANDLE objectID,
CK_ATTRIBUTE_TYPE attrType,
SECItem *plainText, SECItem **sigText);
SECStatus sftkdb_VerifyAttribute(SECItem *passKey,