Home
last modified time | relevance | path

Searched refs:public_value (Results 1 – 6 of 6) sorted by relevance

/system/keymaster/km_openssl/
Decies_kem.cpp96 if (!key_exchange_->public_value(output_encrypted_key)) { in Encrypt()
150 Buffer public_value; in Decrypt() local
151 if (!key_exchange_->public_value(&public_value)) { in Decrypt()
161 z.Reinitialize(public_value.peek_read(), public_value.available_read()); in Decrypt()
Dnist_curve_key_exchange.cpp123 bool NistCurveKeyExchange::public_value(Buffer* public_value) const { in public_value() function in keymaster::NistCurveKeyExchange
125 return public_value->Reinitialize(public_key_.get(), public_key_len_); in public_value()
/system/keymaster/include/keymaster/km_openssl/
Dkey_exchange.h47 virtual bool public_value(Buffer* public_value) const = 0;
Dnist_curve_key_exchange.h56 bool public_value(Buffer* public_value) const override;
/system/keymaster/tests/
Dnist_curve_key_exchange_test.cpp53 ASSERT_TRUE(alice_keyex->public_value(&alice_public_value)); in TEST()
55 ASSERT_TRUE(bob_keyex->public_value(&bob_public_value)); in TEST()
Decies_kem_test.cpp56 ASSERT_TRUE(key_exchange->public_value(&peer_public_value)); in TEST()