| Index: mozilla/security/nss/lib/pk11wrap/pk11pub.h
|
| ===================================================================
|
| --- mozilla/security/nss/lib/pk11wrap/pk11pub.h (revision 182578)
|
| +++ mozilla/security/nss/lib/pk11wrap/pk11pub.h (working copy)
|
| @@ -508,6 +508,17 @@
|
| void *wincx);
|
| int PK11_GetPrivateModulusLen(SECKEYPrivateKey *key);
|
|
|
| +SECStatus PK11_EncryptWithSymKey(PK11SymKey *symKey,
|
| + CK_MECHANISM_TYPE mechanism, SECItem *param,
|
| + unsigned char *out, unsigned int *outLen,
|
| + unsigned int maxLen,
|
| + const unsigned char *data, unsigned dataLen);
|
| +SECStatus PK11_DecryptWithSymKey(PK11SymKey *symkey,
|
| + CK_MECHANISM_TYPE mechanism, SECItem *param,
|
| + unsigned char *out, unsigned int *outLen,
|
| + unsigned int maxLen,
|
| + const unsigned char *enc, unsigned encLen);
|
| +
|
| /* note: despite the name, this function takes a private key. */
|
| SECStatus PK11_PubDecryptRaw(SECKEYPrivateKey *key, unsigned char *data,
|
| unsigned *outLen, unsigned int maxLen, unsigned char *enc, unsigned encLen);
|
|
|