Lines Matching refs:SymmetricKey
15 std::unique_ptr<crypto::SymmetricKey> key( in TEST()
16 crypto::SymmetricKey::GenerateRandomKey(crypto::SymmetricKey::AES, 256)); in TEST()
24 std::unique_ptr<crypto::SymmetricKey> key2( in TEST()
25 crypto::SymmetricKey::GenerateRandomKey(crypto::SymmetricKey::AES, 256)); in TEST()
34 std::unique_ptr<crypto::SymmetricKey> key1( in TEST()
35 crypto::SymmetricKey::GenerateRandomKey(crypto::SymmetricKey::AES, 256)); in TEST()
40 std::unique_ptr<crypto::SymmetricKey> key2( in TEST()
41 crypto::SymmetricKey::Import(crypto::SymmetricKey::AES, raw_key1)); in TEST()
51 std::unique_ptr<crypto::SymmetricKey> key1( in TEST()
52 crypto::SymmetricKey::DeriveKeyFromPassword( in TEST()
53 crypto::SymmetricKey::HMAC_SHA1, "password", "somesalt", 1024, 160)); in TEST()
58 std::unique_ptr<crypto::SymmetricKey> key2( in TEST()
59 crypto::SymmetricKey::Import(crypto::SymmetricKey::HMAC_SHA1, raw_key1)); in TEST()
69 crypto::SymmetricKey::Algorithm algorithm;
83 std::unique_ptr<crypto::SymmetricKey> key( in TEST_P()
84 crypto::SymmetricKey::DeriveKeyFromPassword( in TEST_P()
101 crypto::SymmetricKey::HMAC_SHA1,
109 crypto::SymmetricKey::HMAC_SHA1,
117 crypto::SymmetricKey::HMAC_SHA1,
127 crypto::SymmetricKey::HMAC_SHA1,
139 crypto::SymmetricKey::HMAC_SHA1,
147 crypto::SymmetricKey::HMAC_SHA1,
155 crypto::SymmetricKey::HMAC_SHA1,
163 crypto::SymmetricKey::HMAC_SHA1,
171 crypto::SymmetricKey::HMAC_SHA1,
179 crypto::SymmetricKey::HMAC_SHA1,
187 crypto::SymmetricKey::HMAC_SHA1,
197 crypto::SymmetricKey::AES,
205 crypto::SymmetricKey::AES,