Searched refs:algorithms (Results 1 – 3 of 3) sorted by relevance
/system/keymaster/ |
D | google_keymaster_messages_test.cpp | 86 keymaster_algorithm_t algorithms[] = {KM_ALGORITHM_RSA, KM_ALGORITHM_DSA, KM_ALGORITHM_ECDSA}; in TEST() local 88 rsp.algorithms = dup_array(algorithms); in TEST() 89 rsp.algorithms_length = array_length(algorithms); in TEST() 92 EXPECT_EQ(array_length(algorithms), deserialized->algorithms_length); in TEST() 93 EXPECT_EQ(0, memcmp(deserialized->algorithms, algorithms, array_size(algorithms))); in TEST()
|
D | google_keymaster_messages.cpp | 49 return append_uint32_array_to_buf(buf, end, algorithms, algorithms_length); in NonErrorSerialize() 53 delete[] algorithms; in NonErrorDeserialize() 54 algorithms = NULL; in NonErrorDeserialize() 58 algorithms = deserialized_algorithms.release(); in NonErrorDeserialize()
|
/system/keymaster/include/keymaster/ |
D | google_keymaster_messages.h | 56 SupportedAlgorithmsResponse() : algorithms(NULL), algorithms_length(0) {} in SupportedAlgorithmsResponse() 57 ~SupportedAlgorithmsResponse() { delete[] algorithms; } in ~SupportedAlgorithmsResponse() 63 keymaster_algorithm_t* algorithms; member
|