Home
last modified time | relevance | path

Searched refs:SupportedResponse (Results 1 – 3 of 3) sorted by relevance

/system/keymaster/include/keymaster/
Dandroid_keymaster_messages.h201 template <typename T> struct SupportedResponse : public KeymasterResponse { struct
202 explicit SupportedResponse(int32_t ver) in SupportedResponse() argument
204 ~SupportedResponse() { delete[] results; } in ~SupportedResponse() argument
239 struct SupportedAlgorithmsResponse : public SupportedResponse<keymaster_algorithm_t> { argument
241 : SupportedResponse<keymaster_algorithm_t>(ver) {}
244 struct SupportedBlockModesResponse : public SupportedResponse<keymaster_block_mode_t> {
246 : SupportedResponse<keymaster_block_mode_t>(ver) {}
249 struct SupportedPaddingModesResponse : public SupportedResponse<keymaster_padding_t> {
251 : SupportedResponse<keymaster_padding_t>(ver) {}
254 struct SupportedDigestsResponse : public SupportedResponse<keymaster_digest_t> {
[all …]
/system/keymaster/tests/
Dandroid_keymaster_messages_test.cpp106 TEST(RoundTrip, SupportedResponse) { in TEST() argument
108 SupportedResponse<keymaster_digest_t> rsp(ver); in TEST()
113 UniquePtr<SupportedResponse<keymaster_digest_t>> deserialized(round_trip(ver, rsp, 20)); in TEST()
726 TEST(GarbageTest, SupportedResponse) { in TEST() argument
727 parse_garbage<SupportedResponse<keymaster_digest_t>>(); in TEST()
/system/keymaster/android_keymaster/
Dandroid_keymaster.cpp79 SupportedResponse<T>* response) { in check_supported()
118 SupportedResponse<T>* response) { in GetSupported()