Searched refs:output_encrypted_key (Results 1 - 4 of 4) sorted by relevance

/system/keymaster/include/keymaster/km_openssl/
H A Dkem.h41 Buffer* output_encrypted_key) = 0;
43 Buffer* output_clear_key, Buffer* output_encrypted_key) = 0;
H A Decies_kem.h43 Buffer* output_encrypted_key) override;
45 Buffer* output_clear_key, Buffer* output_encrypted_key) override;
/system/keymaster/tests/
H A Decies_kem_test.cpp59 Buffer output_encrypted_key; local
60 ASSERT_TRUE(kem->Encrypt(peer_public_value, &output_clear_key, &output_encrypted_key));
62 ASSERT_EQ(peer_public_value.available_read(), output_encrypted_key.available_read());
66 kem->Decrypt(key_exchange->private_key(), output_encrypted_key, &decrypted_clear_key));
/system/keymaster/km_openssl/
H A Decies_kem.cpp76 Buffer* output_encrypted_key) {
78 output_clear_key, output_encrypted_key);
83 Buffer* output_clear_key, Buffer* output_encrypted_key) {
96 if (!key_exchange_->public_value(output_encrypted_key)) {
106 z.Reinitialize(output_encrypted_key->peek_read(), output_encrypted_key->available_read());
75 Encrypt(const Buffer& peer_public_value, Buffer* output_clear_key, Buffer* output_encrypted_key) argument
82 Encrypt(const uint8_t* peer_public_value, size_t peer_public_value_len, Buffer* output_clear_key, Buffer* output_encrypted_key) argument

Completed in 89 milliseconds