1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-14 20:20:35 +00:00

Remove unused file

This commit is contained in:
Carles Fernandez 2023-06-07 18:12:27 +02:00
parent ddbbcd8d97
commit 94d1df62c0
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D
4 changed files with 14 additions and 18 deletions

View File

@ -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
)

View File

@ -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

View File

@ -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);

View File

@ -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"