Searched defs:algorithm (Results 1 - 6 of 6) sorted by relevance

/system/keymaster/
H A Dkey.cpp39 switch (blob.algorithm()) {
55 keymaster_algorithm_t algorithm; local
56 if (!key_description.GetTagValue(TAG_ALGORITHM, &algorithm)) {
61 switch (algorithm) {
H A Dasymmetric_key.cpp204 keymaster_algorithm_t algorithm; local
205 if (authorizations.GetTagValue(TAG_ALGORITHM, &algorithm)) {
206 if (algorithm != KM_ALGORITHM_RSA) {
408 keymaster_algorithm_t algorithm; local
409 if (authorizations.GetTagValue(TAG_ALGORITHM, &algorithm)) {
410 if (algorithm != KM_ALGORITHM_DSA) {
528 keymaster_algorithm_t algorithm; local
529 if (authorizations.GetTagValue(TAG_ALGORITHM, &algorithm)) {
530 if (algorithm != KM_ALGORITHM_ECDSA) {
H A Dgoogle_keymaster_test.cpp383 void GenerateKey(keymaster_algorithm_t algorithm, keymaster_digest_t digest, argument
388 Authorization(TAG_ALGORITHM, algorithm),
H A Dgoogle_keymaster.cpp59 bool check_supported(keymaster_algorithm_t algorithm, SupportedResponse<T>* response) { argument
60 if (!array_contains(supported_algorithms, algorithm)) {
75 GoogleKeymaster::SupportedBlockModes(keymaster_algorithm_t algorithm, argument
77 if (response == NULL || !check_supported(algorithm, response))
84 GoogleKeymaster::SupportedPaddingModes(keymaster_algorithm_t algorithm, argument
86 if (response == NULL || !check_supported(algorithm, response))
90 switch (algorithm) {
103 void GoogleKeymaster::SupportedDigests(keymaster_algorithm_t algorithm, argument
105 if (response == NULL || !check_supported(algorithm, response))
109 switch (algorithm) {
123 SupportedImportFormats(keymaster_algorithm_t algorithm, SupportedResponse<keymaster_key_format_t>* response) const argument
143 SupportedExportFormats(keymaster_algorithm_t algorithm, SupportedResponse<keymaster_key_format_t>* response) const argument
[all...]
/system/core/libcutils/
H A Ddir_hash.c36 * specified by path, using the specified algorithm. Returns the length
39 int get_file_hash(HashAlgorithm algorithm, const char *path, argument
47 if (algorithm != SHA_1) {
129 static int recurse(HashAlgorithm algorithm, const char *directory_path, argument
201 int len = get_file_hash(algorithm, name,
237 if (recurse(algorithm, name, out) < 0) {
261 * reached under the specified directory_path, using the specified algorithm.
265 int get_recursive_hash_manifest(HashAlgorithm algorithm, argument
277 if (recurse(algorithm, directory_path, &out) < 0) {
/system/keymaster/include/keymaster/
H A Dkey_blob.h118 inline keymaster_algorithm_t algorithm() const { return algorithm_; } function in class:keymaster::KeyBlob

Completed in 108 milliseconds