blob: 3e9e8355f85f093512bee65318c840b16775d4e6 [file] [log] [blame]
// Copyright 2019 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef BIOD_BIOD_CRYPTO_H_
#define BIOD_BIOD_CRYPTO_H_
#include <string>
#include <vector>
#include <brillo/secure_blob.h>
namespace biod {
class BiodCrypto {
public:
static bool ComputeValidationValue(const brillo::SecureVector& secret,
const std::string& user_id,
std::vector<uint8_t>* out);
};
} // namespace biod
#endif // BIOD_BIOD_CRYPTO_H_