• Home
  • Raw
  • Download

Lines Matching refs:crypto

15   std::unique_ptr<crypto::SymmetricKey> key(  in TEST()
16 crypto::SymmetricKey::GenerateRandomKey(crypto::SymmetricKey::AES, 256)); in TEST()
22 std::unique_ptr<crypto::SymmetricKey> key2( in TEST()
23 crypto::SymmetricKey::GenerateRandomKey(crypto::SymmetricKey::AES, 256)); in TEST()
30 std::unique_ptr<crypto::SymmetricKey> key1( in TEST()
31 crypto::SymmetricKey::GenerateRandomKey(crypto::SymmetricKey::AES, 256)); in TEST()
34 std::unique_ptr<crypto::SymmetricKey> key2( in TEST()
35 crypto::SymmetricKey::Import(crypto::SymmetricKey::AES, key1->key())); in TEST()
42 std::unique_ptr<crypto::SymmetricKey> key1( in TEST()
43 crypto::SymmetricKey::DeriveKeyFromPassword( in TEST()
44 crypto::SymmetricKey::HMAC_SHA1, "password", "somesalt", 1024, 160)); in TEST()
47 std::unique_ptr<crypto::SymmetricKey> key2(crypto::SymmetricKey::Import( in TEST()
48 crypto::SymmetricKey::HMAC_SHA1, key1->key())); in TEST()
55 crypto::SymmetricKey::Algorithm algorithm;
69 std::unique_ptr<crypto::SymmetricKey> key( in TEST_P()
70 crypto::SymmetricKey::DeriveKeyFromPassword( in TEST_P()
86 crypto::SymmetricKey::HMAC_SHA1,
94 crypto::SymmetricKey::HMAC_SHA1,
102 crypto::SymmetricKey::HMAC_SHA1,
112 crypto::SymmetricKey::HMAC_SHA1,
124 crypto::SymmetricKey::HMAC_SHA1,
132 crypto::SymmetricKey::HMAC_SHA1,
140 crypto::SymmetricKey::HMAC_SHA1,
148 crypto::SymmetricKey::HMAC_SHA1,
156 crypto::SymmetricKey::HMAC_SHA1,
164 crypto::SymmetricKey::HMAC_SHA1,
172 crypto::SymmetricKey::HMAC_SHA1,
182 crypto::SymmetricKey::AES,
190 crypto::SymmetricKey::AES,