Home
last modified time | relevance | path

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

/system/keymaster/
Decies_kem_test.cpp58 Buffer output_encrypted_key; in TEST() local
59 ASSERT_TRUE(kem->Encrypt(peer_public_value, &output_clear_key, &output_encrypted_key)); in TEST()
61 ASSERT_EQ(peer_public_value.available_read(), output_encrypted_key.available_read()); in TEST()
65 kem->Decrypt(key_exchange->private_key(), output_encrypted_key, &decrypted_clear_key)); in TEST()
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()
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;