Lines Matching refs:Algorithm
12 #include <algorithm>
26 SymmetricKey* SymmetricKey::GenerateRandomKey(Algorithm algorithm,
28 DCHECK_EQ(AES, algorithm);
52 SymmetricKey* SymmetricKey::DeriveKeyFromPassword(Algorithm algorithm,
57 DCHECK(algorithm == AES || algorithm == HMAC_SHA1);
59 if (algorithm == AES) {
85 SymmetricKey* SymmetricKey::Import(Algorithm algorithm,
87 if (algorithm == AES) {