Searched refs:algorithms (Results 1 - 8 of 8) sorted by relevance

/system/tpm/trunks/
H A Dtpm_state_test.cc98 if (data.algorithms.count == kMaxProperties ||
99 data.algorithms.count == property_count) {
104 data.algorithms.alg_properties[data.algorithms.count].alg = i;
105 data.algorithms.alg_properties[data.algorithms.count].alg_properties =
107 data.algorithms.count++;
H A Dtpm_state_impl.cc60 LOG(ERROR) << "Failed to query TPM algorithms: " << GetErrorString(result);
258 i < capability_data.algorithms.count && i < MAX_CAP_ALGS; ++i) {
260 capability_data.algorithms.alg_properties[i];
H A Dtpm_generated.h1105 TPM_ALG_ID algorithms[MAX_ALG_LIST_SIZE]; member in struct:trunks::TPML_ALG
1154 TPML_ALG_PROPERTY algorithms; member in union:trunks::TPMU_CAPABILITIES
H A Dtpm_generated.cc3300 if (arraysize(value.algorithms) < value.count) {
3304 result = Serialize_TPM_ALG_ID(value.algorithms[i], buffer);
3323 if (arraysize(value->algorithms) < value->count) {
3327 result = Parse_TPM_ALG_ID(buffer, &value->algorithms[i], value_bytes);
3819 result = Serialize_TPML_ALG_PROPERTY(value.algorithms, buffer);
3894 result = Parse_TPML_ALG_PROPERTY(buffer, &value->algorithms, value_bytes);
[all...]
/system/keymaster/include/keymaster/
H A Dsoft_keymaster_device.h111 keymaster_algorithm_t** algorithms,
/system/keymaster/
H A Dsoft_keymaster_device.cpp411 keymaster_algorithm_t** algorithms,
416 if (!algorithms || !algorithms_length)
421 return km1_dev->get_supported_algorithms(km1_dev, algorithms, algorithms_length);
433 *algorithms =
434 reinterpret_cast<keymaster_algorithm_t*>(malloc(*algorithms_length * sizeof(**algorithms)));
435 if (!*algorithms)
437 std::copy(response.results, response.results + response.results_length, *algorithms);
410 get_supported_algorithms(const keymaster1_device_t* dev, keymaster_algorithm_t** algorithms, size_t* algorithms_length) argument
H A Dandroid_keymaster.cpp112 const keymaster_algorithm_t* algorithms = context_->GetSupportedAlgorithms(&algorithm_count); local
116 response->results = dup_array(algorithms, algorithm_count);
H A Dandroid_keymaster_test_utils.cpp741 keymaster_algorithm_t** algorithms,
743 return unwrap(dev)->get_supported_algorithms(unwrap(dev), algorithms, algorithms_length);
740 get_supported_algorithms(const struct keymaster1_device* dev, keymaster_algorithm_t** algorithms, size_t* algorithms_length) argument

Completed in 178 milliseconds