Home | History | Annotate | Download | only in contexts

Lines Matching defs:algorithm

55 KeyFactory* Keymaster1PassthroughContext::GetKeyFactory(keymaster_algorithm_t algorithm) const {
56 auto& result = factories_[algorithm];
58 switch(algorithm) {
82 OperationFactory* Keymaster1PassthroughContext::GetOperationFactory(keymaster_algorithm_t algorithm,
84 auto keyfactory = GetKeyFactory(algorithm);
165 keymaster_algorithm_t algorithm;
166 if (!hw_enforced.GetTagValue(TAG_ALGORITHM, &algorithm) &&
167 !sw_enforced.GetTagValue(TAG_ALGORITHM, &algorithm)) {
170 auto factory = GetKeyFactory(algorithm);
243 // We have established that the given key has the correct algorithm, and because this is the