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
46 static SymmetricKey* DeriveKeyFromPassword(Algorithm algorithm,
55 // size for use with |algorithm|. The caller owns the returned SymmetricKey.
56 static SymmetricKey* Import(Algorithm algorithm, const std::string& raw_key);