Home
last modified time | relevance | path

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

/system/keymaster/tests/
Decies_kem_test.cpp57 Buffer output_encrypted_key; in TEST() local
58 ASSERT_TRUE(kem->Encrypt(peer_public_value, &output_clear_key, &output_encrypted_key)); in TEST()
60 ASSERT_EQ(peer_public_value.available_read(), output_encrypted_key.available_read()); in TEST()
64 kem->Decrypt(key_exchange->private_key(), output_encrypted_key, &decrypted_clear_key)); in TEST()
/system/keymaster/km_openssl/
Decies_kem.cpp76 Buffer* output_encrypted_key) { in Encrypt() argument
78 output_clear_key, output_encrypted_key); in Encrypt()
83 Buffer* output_clear_key, Buffer* output_encrypted_key) { in Encrypt() argument
96 if (!key_exchange_->public_value(output_encrypted_key)) { in Encrypt()
106 z.Reinitialize(output_encrypted_key->peek_read(), output_encrypted_key->available_read()); in Encrypt()
/system/keymaster/include/keymaster/km_openssl/
Dkem.h41 Buffer* output_encrypted_key) = 0;
43 Buffer* output_clear_key, Buffer* output_encrypted_key) = 0;
Decies_kem.h43 Buffer* output_encrypted_key) override;
45 Buffer* output_clear_key, Buffer* output_encrypted_key) override;