fast_pair_key_pair.cc 697 B

123456789101112131415161718192021
  1. // Copyright 2021 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #include "ash/quick_pair/fast_pair_handshake/fast_pair_key_pair.h"
  5. namespace ash {
  6. namespace quick_pair {
  7. namespace fast_pair_encryption {
  8. KeyPair::KeyPair(std::array<uint8_t, kPrivateKeyByteSize> private_key,
  9. std::array<uint8_t, kPublicKeyByteSize> public_key)
  10. : private_key(std::move(private_key)), public_key(std::move(public_key)) {}
  11. KeyPair::KeyPair(const KeyPair&) = default;
  12. KeyPair::KeyPair(KeyPair&&) = default;
  13. } // namespace fast_pair_encryption
  14. } // namespace quick_pair
  15. } // namespace ash