Lines Matching defs:Algorithm
27 // Defines the algorithm that a key will be used with. See also
29 enum Algorithm {
36 // Generates a random key suitable to be used with |algorithm| and of
39 static SymmetricKey* GenerateRandomKey(Algorithm algorithm,
43 // for use with specified |algorithm|. Note |algorithm| is not the algorithm
47 static SymmetricKey* DeriveKeyFromPassword(Algorithm algorithm,
56 // size for use with |algorithm|. The caller owns the returned SymmetricKey.
57 static SymmetricKey* Import(Algorithm algorithm, const std::string& raw_key);