blob: b7c53341667a7d729163f189a937fc572819155a [file] [log] [blame]
// Copyright 2019 The ChromiumOS Authors
// 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_