OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:output_clear_key
(Results
1 - 4
of
4
) sorted by null
/system/keymaster/
kem.h
40
virtual bool Encrypt(const Buffer& peer_public_value, Buffer*
output_clear_key
,
43
Buffer*
output_clear_key
, Buffer* output_encrypted_key) = 0;
ecies_kem_test.cpp
57
Buffer
output_clear_key
;
local
59
ASSERT_TRUE(kem->Encrypt(peer_public_value, &
output_clear_key
, &output_encrypted_key));
60
ASSERT_EQ(kKeyLen,
output_clear_key
.available_read());
67
EXPECT_EQ(0, memcmp(
output_clear_key
.peek_read(), decrypted_clear_key.peek_read(),
68
output_clear_key
.available_read()));
ecies_kem.h
42
bool Encrypt(const Buffer& peer_public_value, Buffer*
output_clear_key
,
45
Buffer*
output_clear_key
, Buffer* output_encrypted_key) override;
ecies_kem.cpp
75
bool EciesKem::Encrypt(const Buffer& peer_public_value, Buffer*
output_clear_key
,
78
output_clear_key
, output_encrypted_key);
83
Buffer*
output_clear_key
, Buffer* output_encrypted_key) {
118
output_clear_key
->Reinitialize(key_bytes_to_generate_);
119
if (!kdf_->GenerateKey(nullptr /* info */, 0 /* info length */,
output_clear_key
->peek_write(),
124
output_clear_key
->advance_write(key_bytes_to_generate_);
Completed in 608 milliseconds