#include <gtest/gtest.h>#include <openssl/crypto.h>#include <openssl/err.h>#include <openssl/pkcs8.h>#include <openssl/x509.h>#include "../internal.h"
Go to the source code of this file.
Functions | |
| TEST (PKCS8Test, DecryptEmptyStringOpenSSL) | |
| TEST (PKCS8Test, DecryptExplicitHMACWithSHA1) | |
| TEST (PKCS8Test, DecryptNull) | |
| TEST (PKCS8Test, DecryptNullNSS) | |
| TEST (PKCS8Test, DecryptString) | |
| TEST (PKCS8Test, InvalidPBES1NIDs) | |
| TEST (PKCS8Test, RoundTripPBES2) | |
| TEST (PKCS8Test, RoundTripPBEWithrSHA1And3KeyTripleDES) | |
| TEST (PKCS8Test, RoundTripPBEWithSHA1And128BitRC4) | |
| TEST (PKCS8Test, RoundTripPBEWithSHA1And3KeyTripleDESEmptyPassword) | |
| TEST (PKCS8Test, RoundTripPBEWithSHA1And40BitRC2CBC) | |
| static void | TestDecrypt (const uint8_t *der, size_t der_len, const char *password) |
| static void | TestRoundTrip (int pbe_nid, const EVP_CIPHER *cipher, const char *password, const uint8_t *salt, size_t salt_len, int iterations) |
Variables | |
| static const uint8_t | kEmptyPasswordOpenSSL [] |
| static const uint8_t | kEncryptedPBES2WithAESAndSHA256 [] |
| static const uint8_t | kEncryptedPBES2WithDESAndSHA1 [] |
| static const uint8_t | kExplicitHMACWithSHA1 [] |
| static const uint8_t | kNullPassword [] |
| static const uint8_t | kNullPasswordNSS [] |
| TEST | ( | PKCS8Test | , |
| DecryptEmptyStringOpenSSL | |||
| ) |
Definition at line 285 of file pkcs8_test.cc.
| TEST | ( | PKCS8Test | , |
| DecryptExplicitHMACWithSHA1 | |||
| ) |
Definition at line 289 of file pkcs8_test.cc.
| TEST | ( | PKCS8Test | , |
| DecryptNull | |||
| ) |
Definition at line 277 of file pkcs8_test.cc.
| TEST | ( | PKCS8Test | , |
| DecryptNullNSS | |||
| ) |
Definition at line 281 of file pkcs8_test.cc.
| TEST | ( | PKCS8Test | , |
| DecryptString | |||
| ) |
Definition at line 270 of file pkcs8_test.cc.
| TEST | ( | PKCS8Test | , |
| InvalidPBES1NIDs | |||
| ) |
Definition at line 334 of file pkcs8_test.cc.
| TEST | ( | PKCS8Test | , |
| RoundTripPBES2 | |||
| ) |
Definition at line 325 of file pkcs8_test.cc.
| TEST | ( | PKCS8Test | , |
| RoundTripPBEWithrSHA1And3KeyTripleDES | |||
| ) |
Definition at line 293 of file pkcs8_test.cc.
| TEST | ( | PKCS8Test | , |
| RoundTripPBEWithSHA1And128BitRC4 | |||
| ) |
Definition at line 320 of file pkcs8_test.cc.
| TEST | ( | PKCS8Test | , |
| RoundTripPBEWithSHA1And3KeyTripleDESEmptyPassword | |||
| ) |
Definition at line 308 of file pkcs8_test.cc.
| TEST | ( | PKCS8Test | , |
| RoundTripPBEWithSHA1And40BitRC2CBC | |||
| ) |
Definition at line 315 of file pkcs8_test.cc.
Definition at line 218 of file pkcs8_test.cc.
|
static |
Definition at line 230 of file pkcs8_test.cc.
Definition at line 154 of file pkcs8_test.cc.
Definition at line 71 of file pkcs8_test.cc.
Definition at line 33 of file pkcs8_test.cc.
Definition at line 195 of file pkcs8_test.cc.
Definition at line 113 of file pkcs8_test.cc.
Definition at line 133 of file pkcs8_test.cc.