Lines Matching refs:algorithm
59 bool check_supported(keymaster_algorithm_t algorithm, SupportedResponse<T>* response) { in check_supported() argument
60 if (!array_contains(supported_algorithms, algorithm)) { in check_supported()
75 GoogleKeymaster::SupportedBlockModes(keymaster_algorithm_t algorithm, in SupportedBlockModes() argument
77 if (response == NULL || !check_supported(algorithm, response)) in SupportedBlockModes()
84 GoogleKeymaster::SupportedPaddingModes(keymaster_algorithm_t algorithm, in SupportedPaddingModes() argument
86 if (response == NULL || !check_supported(algorithm, response)) in SupportedPaddingModes()
90 switch (algorithm) { in SupportedPaddingModes()
103 void GoogleKeymaster::SupportedDigests(keymaster_algorithm_t algorithm, in SupportedDigests() argument
105 if (response == NULL || !check_supported(algorithm, response)) in SupportedDigests()
109 switch (algorithm) { in SupportedDigests()
123 GoogleKeymaster::SupportedImportFormats(keymaster_algorithm_t algorithm, in SupportedImportFormats() argument
125 if (response == NULL || !check_supported(algorithm, response)) in SupportedImportFormats()
129 switch (algorithm) { in SupportedImportFormats()
143 GoogleKeymaster::SupportedExportFormats(keymaster_algorithm_t algorithm, in SupportedExportFormats() argument
145 if (response == NULL || !check_supported(algorithm, response)) in SupportedExportFormats()
149 switch (algorithm) { in SupportedExportFormats()