Searched refs:algorithm (Results 1 – 8 of 8) sorted by relevance
/system/keymaster/ |
D | google_keymaster.cpp | 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() [all …]
|
D | key.cpp | 39 switch (blob.algorithm()) { in CreateKey() 55 keymaster_algorithm_t algorithm; in GenerateKey() local 56 if (!key_description.GetTagValue(TAG_ALGORITHM, &algorithm)) { in GenerateKey() 61 switch (algorithm) { in GenerateKey()
|
D | asymmetric_key.cpp | 204 keymaster_algorithm_t algorithm; in ImportKey() local 205 if (authorizations.GetTagValue(TAG_ALGORITHM, &algorithm)) { in ImportKey() 206 if (algorithm != KM_ALGORITHM_RSA) { in ImportKey() 408 keymaster_algorithm_t algorithm; in ImportKey() local 409 if (authorizations.GetTagValue(TAG_ALGORITHM, &algorithm)) { in ImportKey() 410 if (algorithm != KM_ALGORITHM_DSA) { in ImportKey() 528 keymaster_algorithm_t algorithm; in ImportKey() local 529 if (authorizations.GetTagValue(TAG_ALGORITHM, &algorithm)) { in ImportKey() 530 if (algorithm != KM_ALGORITHM_ECDSA) { in ImportKey()
|
D | google_keymaster_test.cpp | 383 void GenerateKey(keymaster_algorithm_t algorithm, keymaster_digest_t digest, in GenerateKey() argument 388 Authorization(TAG_ALGORITHM, algorithm), in GenerateKey()
|
/system/core/include/cutils/ |
D | dir_hash.h | 21 int get_file_hash(HashAlgorithm algorithm, const char *path, 24 int get_recursive_hash_manifest(HashAlgorithm algorithm,
|
/system/keymaster/include/keymaster/ |
D | google_keymaster.h | 51 void SupportedBlockModes(keymaster_algorithm_t algorithm, 53 void SupportedPaddingModes(keymaster_algorithm_t algorithm, 55 void SupportedDigests(keymaster_algorithm_t algorithm, 57 void SupportedImportFormats(keymaster_algorithm_t algorithm, 59 void SupportedExportFormats(keymaster_algorithm_t algorithm,
|
D | key_blob.h | 118 inline keymaster_algorithm_t algorithm() const { return algorithm_; } in algorithm() function
|
/system/core/libcutils/ |
D | dir_hash.c | 39 int get_file_hash(HashAlgorithm algorithm, const char *path, in get_file_hash() argument 47 if (algorithm != SHA_1) { in get_file_hash() 129 static int recurse(HashAlgorithm algorithm, const char *directory_path, in recurse() argument 201 int len = get_file_hash(algorithm, name, in recurse() 237 if (recurse(algorithm, name, out) < 0) { in recurse() 265 int get_recursive_hash_manifest(HashAlgorithm algorithm, in get_recursive_hash_manifest() argument 277 if (recurse(algorithm, directory_path, &out) < 0) { in get_recursive_hash_manifest()
|