mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-14 12:10:34 +00:00
Remove unused file
This commit is contained in:
parent
ddbbcd8d97
commit
94d1df62c0
@ -29,7 +29,6 @@ set(SYSTEM_PARAMETERS_SOURCES
|
||||
glonass_gnav_utc_model.cc
|
||||
glonass_gnav_navigation_message.cc
|
||||
reed_solomon.cc
|
||||
osnma_data.cc
|
||||
osnma_dsm_reader.cc
|
||||
)
|
||||
|
||||
|
@ -44,6 +44,18 @@ Gnss_Crypto::Gnss_Crypto(const std::string& filePath)
|
||||
}
|
||||
|
||||
|
||||
bool Gnss_Crypto::have_public_key() const
|
||||
{
|
||||
return !d_PublicKey.empty();
|
||||
}
|
||||
|
||||
|
||||
void Gnss_Crypto::set_public_key(const std::vector<uint8_t>& publickey)
|
||||
{
|
||||
d_PublicKey = publickey;
|
||||
}
|
||||
|
||||
|
||||
std::vector<uint8_t> Gnss_Crypto::computeSHA256(const std::vector<uint8_t>& input)
|
||||
{
|
||||
std::vector<uint8_t> output(32); // SHA256 hash size
|
||||
|
@ -34,6 +34,8 @@ class Gnss_Crypto
|
||||
public:
|
||||
Gnss_Crypto() = default;
|
||||
explicit Gnss_Crypto(const std::string& filePath);
|
||||
bool have_public_key() const;
|
||||
void set_public_key(const std::vector<uint8_t>& publickey);
|
||||
std::vector<uint8_t> computeSHA256(const std::vector<uint8_t>& input);
|
||||
std::vector<uint8_t> computeSHA3_256(const std::vector<uint8_t>& input);
|
||||
std::vector<uint8_t> computeHMAC_SHA_256(const std::vector<uint8_t>& key, const std::vector<uint8_t>& input);
|
||||
|
@ -1,17 +0,0 @@
|
||||
/*!
|
||||
* \file osnma_data.cc
|
||||
* \brief Class for Galileo OSNMA data storage
|
||||
* \author Carles Fernandez-Prades, 2020-2023 cfernandez(at)cttc.es
|
||||
*
|
||||
* -----------------------------------------------------------------------------
|
||||
*
|
||||
* GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
|
||||
* This file is part of GNSS-SDR.
|
||||
*
|
||||
* Copyright (C) 2010-2023 (see AUTHORS file for a list of contributors)
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
*
|
||||
* -----------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
#include "osnma_data.h"
|
Loading…
Reference in New Issue
Block a user