Update NSS to 3.32.1-RTM

This commit is contained in:
wolfbeast 2018-02-06 11:46:26 +01:00 • committed by Roy Tam
commit c91ef9012b
512 changed files with 83203 additions and 16839 deletions

View file

@ -9,9 +9,11 @@
#include "pk11pub.h"
#include "sechash.h"
#include "gtest/gtest.h"
#include "cpputil.h"
#include "scoped_ptrs.h"
#include "gtest/gtest.h"
namespace nss_test {
// ChaCha20/Poly1305 Test Vector 1, RFC 7539
@ -216,10 +218,6 @@ class Pkcs11ChaCha20Poly1305Test : public ::testing::Test {
protected:
CK_MECHANISM_TYPE mech = CKM_NSS_CHACHA20_POLY1305;
unsigned char* toUcharPtr(const uint8_t* v) {
return const_cast<unsigned char*>(static_cast<const unsigned char*>(v));
}
};
#define ENCRYPT_DECRYPT(v) \