Lines Matching refs:Buffer
75 bool EciesKem::Encrypt(const Buffer& peer_public_value, Buffer* output_clear_key, in Encrypt()
76 Buffer* output_encrypted_key) { in Encrypt()
83 Buffer* output_clear_key, Buffer* output_encrypted_key) { in Encrypt()
90 Buffer shared_secret; in Encrypt()
101 Buffer z; in Encrypt()
109 Buffer actual_secret(z.available_read() + shared_secret.available_read()); in Encrypt()
129 bool EciesKem::Decrypt(EC_KEY* private_key, const Buffer& encrypted_key, Buffer* output_key) { in Decrypt()
136 Buffer* output_key) { in Decrypt()
144 Buffer shared_secret; in Decrypt()
150 Buffer public_value; in Decrypt()
156 Buffer z; in Decrypt()
164 Buffer actual_secret(z.available_read() + shared_secret.available_read()); in Decrypt()