Searched refs:EciesKem (Results 1 – 3 of 3) sorted by relevance
/system/keymaster/include/keymaster/km_openssl/ |
D | ecies_kem.h | 36 class EciesKem : public Kem { 38 virtual ~EciesKem() override {} in ~EciesKem() 39 EciesKem(const AuthorizationSet& kem_description, keymaster_error_t* error);
|
/system/keymaster/km_openssl/ |
D | ecies_kem.cpp | 24 EciesKem::EciesKem(const AuthorizationSet& kem_description, keymaster_error_t* error) { in EciesKem() function in keymaster::EciesKem 75 bool EciesKem::Encrypt(const Buffer& peer_public_value, Buffer* output_clear_key, in Encrypt() 82 bool EciesKem::Encrypt(const uint8_t* peer_public_value, size_t peer_public_value_len, in Encrypt() 129 bool EciesKem::Decrypt(EC_KEY* private_key, const Buffer& encrypted_key, Buffer* output_key) { in Decrypt() 135 bool EciesKem::Decrypt(EC_KEY* private_key, const uint8_t* encrypted_key, size_t encrypted_key_len, in Decrypt()
|
/system/keymaster/tests/ |
D | ecies_kem_test.cpp | 40 TEST(EciesKem, TestConsistency) { in TEST() argument 49 EciesKem* kem = new EciesKem(kem_description, &error); in TEST()
|