Lines Matching refs:Algorithm
31 // Defines the algorithm that a key will be used with. See also
33 enum Algorithm {
40 // Generates a random key suitable to be used with |algorithm| and of
43 static SymmetricKey* GenerateRandomKey(Algorithm algorithm,
47 // for use with specified |algorithm|. Note |algorithm| is not the algorithm
51 static SymmetricKey* DeriveKeyFromPassword(Algorithm algorithm,
60 // size for use with |algorithm|. The caller owns the returned SymmetricKey.
61 static SymmetricKey* Import(Algorithm algorithm, const std::string& raw_key);