Home
last modified time | relevance | path

Searched refs:algorithms (Results 1 – 12 of 12) sorted by relevance

/system/tpm/trunks/
Dtpm_state_test.cc98 if (data.algorithms.count == kMaxProperties || in FakeGetCapability()
99 data.algorithms.count == property_count) { in FakeGetCapability()
104 data.algorithms.alg_properties[data.algorithms.count].alg = i; in FakeGetCapability()
105 data.algorithms.alg_properties[data.algorithms.count].alg_properties = in FakeGetCapability()
107 data.algorithms.count++; in FakeGetCapability()
Dtpm_state_impl.cc258 i < capability_data.algorithms.count && i < MAX_CAP_ALGS; ++i) { in CacheAlgorithmProperties()
260 capability_data.algorithms.alg_properties[i]; in CacheAlgorithmProperties()
Dtpm_generated.h1105 TPM_ALG_ID algorithms[MAX_ALG_LIST_SIZE]; member
1154 TPML_ALG_PROPERTY algorithms; member
Dtpm_generated.cc3300 if (arraysize(value.algorithms) < value.count) { in Serialize_TPML_ALG()
3304 result = Serialize_TPM_ALG_ID(value.algorithms[i], buffer); in Serialize_TPML_ALG()
3323 if (arraysize(value->algorithms) < value->count) { in Parse_TPML_ALG()
3327 result = Parse_TPM_ALG_ID(buffer, &value->algorithms[i], value_bytes); in Parse_TPML_ALG()
3819 result = Serialize_TPML_ALG_PROPERTY(value.algorithms, buffer); in Serialize_TPMU_CAPABILITIES()
3894 result = Parse_TPML_ALG_PROPERTY(buffer, &value->algorithms, value_bytes); in Parse_TPMU_CAPABILITIES()
/system/keymaster/
Dsoft_keymaster_device.cpp411 keymaster_algorithm_t** algorithms, in get_supported_algorithms() argument
416 if (!algorithms || !algorithms_length) in get_supported_algorithms()
421 return km1_dev->get_supported_algorithms(km1_dev, algorithms, algorithms_length); in get_supported_algorithms()
433 *algorithms = in get_supported_algorithms()
434 reinterpret_cast<keymaster_algorithm_t*>(malloc(*algorithms_length * sizeof(**algorithms))); in get_supported_algorithms()
435 if (!*algorithms) in get_supported_algorithms()
437 std::copy(response.results, response.results + response.results_length, *algorithms); in get_supported_algorithms()
Dandroid_keymaster.cpp112 const keymaster_algorithm_t* algorithms = context_->GetSupportedAlgorithms(&algorithm_count); in SupportedAlgorithms() local
116 response->results = dup_array(algorithms, algorithm_count); in SupportedAlgorithms()
Dandroid_keymaster_test_utils.cpp738 keymaster_algorithm_t** algorithms, in get_supported_algorithms() argument
740 return unwrap(dev)->get_supported_algorithms(unwrap(dev), algorithms, algorithms_length); in get_supported_algorithms()
/system/keymaster/include/keymaster/
Dsoft_keymaster_device.h111 keymaster_algorithm_t** algorithms,
/system/tpm/trunks/generator/
Draw_structures.txt2685 The TCG maintains a registry of all algorithms that have an assigned algorithm ID. That registry is…
2686 definitive list of algorithms that may be supported by a TPM.
2708 The implementation of some algorithms is dependent on the presence of other algorithms. When there …
2972 This would be one of the algorithms specified in
4819 the protection algorithms (hash and symmetric) are
6779 code that limits the algorithms that may be used with the
8623 Some asymmetric algorithms may not support both sign and decrypt being SET in the same key.
9910 A TPMI_ALG_HASH is an interface type of all the hash algorithms implemented on a specific TPM. Table
9911 57 is a list of the hash algorithms that have an algorithm ID assigned by the TCG and does not indi…
9912 the algorithms that will be accepted by a TPM.
[all …]
Draw_structures_fixed.txt2687 The TCG maintains a registry of all algorithms that have an assigned algorithm ID. That registry is…
2688 definitive list of algorithms that may be supported by a TPM.
2710 The implementation of some algorithms is dependent on the presence of other algorithms. When there …
2966 This would be one of the algorithms specified in
4815 the protection algorithms (hash and symmetric) are
6804 code that limits the algorithms that may be used with the
8651 Some asymmetric algorithms may not support both sign and decrypt being SET in the same key.
9938 A TPMI_ALG_HASH is an interface type of all the hash algorithms implemented on a specific TPM. Table
9939 57 is a list of the hash algorithms that have an algorithm ID assigned by the TCG and does not indi…
9940 the algorithms that will be accepted by a TPM.
[all …]
Draw_commands.txt2986 TPM2_PCR_Event() may be executed before the hash algorithms have been tested. However, until
2987 the hash algorithms have been tested, the contents of a PCR may not be used in any command if
3172 This command causes the TPM to perform a test of the selected algorithms.
3175 The toTest list indicates the algorithms that software would like the TPM to test in anticipation of
3184 The TPM will return in toDoList a list of algorithms that are yet to be tested. This list is not th…
3185 algorithms that are scheduled to be tested but the algorithms/functions that have not been tested. …
3186 the algorithms on the toTest list are scheduled to be tested by this command.
3187 Making toTest an empty list allows the determination of the algorithms that remain untested without
3199 If none of the algorithms listed in toTest is in the toDoList, then no tests will be performed.
3249 list of algorithms that should be tested
[all …]
Draw_commands_fixed.txt2986 TPM2_PCR_Event() may be executed before the hash algorithms have been tested. However, until
2987 the hash algorithms have been tested, the contents of a PCR may not be used in any command if
3172 This command causes the TPM to perform a test of the selected algorithms.
3175 The toTest list indicates the algorithms that software would like the TPM to test in anticipation of
3184 The TPM will return in toDoList a list of algorithms that are yet to be tested. This list is not th…
3185 algorithms that are scheduled to be tested but the algorithms/functions that have not been tested. …
3186 the algorithms on the toTest list are scheduled to be tested by this command.
3187 Making toTest an empty list allows the determination of the algorithms that remain untested without
3199 If none of the algorithms listed in toTest is in the toDoList, then no tests will be performed.
3249 list of algorithms that should be tested
[all …]