Lines Matching refs:peek_read
77 return Encrypt(peer_public_value.peek_read(), peer_public_value.available_read(),
106 z.Reinitialize(output_encrypted_key->peek_read(), output_encrypted_key->available_read());
110 actual_secret.write(z.peek_read(), z.available_read());
111 actual_secret.write(shared_secret.peek_read(), shared_secret.available_read());
113 if (!kdf_->Init(actual_secret.peek_read(), actual_secret.available_read(), nullptr /* salt */,
130 return Decrypt(private_key, encrypted_key.peek_read(), encrypted_key.available_read(),
161 z.Reinitialize(public_value.peek_read(), public_value.available_read());
165 actual_secret.write(z.peek_read(), z.available_read());
166 actual_secret.write(shared_secret.peek_read(), shared_secret.available_read());
168 if (!kdf_->Init(actual_secret.peek_read(), actual_secret.available_read(), nullptr /* salt */,