1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-16 05:00:35 +00:00
Commit Graph

1424 Commits

Author SHA1 Message Date
Carles Fernandez
1c26d43e2d Add function to store the public key in a .pem file 2024-07-15 17:20:40 +02:00
cesaaargm
f534ef859c [TAS-212] [TEST] implement tests for DSM-PKR Verification
* VerifyPublicKey, ComputeBaseLeaf, ComputeMerkleRoot
* Refactored verify_dsm_pkr to allow for the new tests
* add  convert_from_hex function in the helper
2024-07-09 17:13:40 +02:00
cesaaargm
aede664b5a [TAS-232 ] [FEAT] verify tag m0
* add new constructor to Tag for Tag0
* minor reporting and comments.
* forgot an include from fix5 merge
* gitignore release folder
2024-07-03 18:45:40 +02:00
cesaaargm
adb3b455ea Merge branch 'osnma-cesare-fix5' of https://github.com/carlesfernandez/gnss-sdr into carlesfernandez-osnma-cesare-fix5 2024-07-02 13:54:34 +02:00
cesaaargm
b77784d1f3 [TAS-227] [BUG] Tag verification fails for .dat files 2024-07-02 13:34:37 +02:00
Carles Fernandez
413e5309ba
Add missing include 2024-06-30 10:10:03 +02:00
Carles Fernandez
22b6d70318
Fix building of benchmarks in some environments 2024-06-30 09:45:51 +02:00
Carles Fernandez
db5466832c
Look for OpenSSL in the first place, fallback to GnuTLS if not found
Fix test building in some environments
2024-06-29 11:11:20 +02:00
cesaaargm
1d815f0bbf [TAS-227] [BUG] Tag verification fails for .dat files (WIP)
WIP
2024-06-27 23:36:40 +02:00
Carles Fernandez
584b95e62e
Fix CMAC-AES implementation in OpenSSL>3.0.0. Add unit test 2024-06-24 14:01:34 +02:00
Carles Fernandez
a704c10044
Add SHA_256 unit test 2024-06-23 13:34:57 +02:00
Carles Fernandez
378820e76b
Add unit test for SHA3-256 hash algorithm 2024-06-23 13:10:38 +02:00
Carles Fernandez
1bc6d466c5
Fix conflict 2024-06-23 11:26:36 +02:00
Carles Fernandez
8dfd341d2c
Fix tests building 2024-06-23 11:10:40 +02:00
cesaaargm
849a900adf [TAS-228] [FEAT] adapt osnma test vector to new navData passing
All tags either verified SUCCESSFULLY or Skipped.
Skipping issue still present.
2024-06-22 14:54:08 +02:00
cesaaargm
ed32e84402 [TAS-221] [BUG] FLX tag verification fails for recorded signals but succeeds for configuration_2 (otv)
Implemented changes to ensure accurate computation of the d_GST_Sf in message receiver. Checked test is not affected by this. Logging improvements have been made.
2024-06-11 18:33:58 +02:00
cesaaargm
4f7a22f35c [TAS-219] Configuration_2, num_of_hashes needed huge
- Confused PK date with recording date, lead to Kroot time to be in the future (impossible)
2024-06-10 19:01:17 +02:00
cesaaargm
6671d9bf7b [TAS-213] implement configuration_2 osnma test vectors
TODO - parametrize test, since now the hardcoded configuration files are to be selected.
2024-06-09 22:22:39 +02:00
cesaaargm
6508e985a1 [TAS-206] [Feature] NavData for ADKD=4 for osnma_test_vector. 2024-06-04 17:35:00 +02:00
cesaaargm
434fff9cbf [TAS-203] bug osnma_test_vector_config_1 II
bug in build_message (PRN_d instead of PRNa)
tags_awaiting_verification increase buffer size
Reporting: modify tag reporting
2024-06-03 19:59:32 +02:00
cesaaargm
b0eb958be0 [TAS-203] bug osnma_test_vector_config_1
adkd dependence on key selection
2024-05-22 21:01:24 +02:00
cesaaargm
163c915c72 [TAS-161] debug tag_verification :: extract build_message, unit test for BuildTagMessageM0 and fix unit test for TagVerification 2024-05-22 16:58:30 +02:00
cesaaargm
d52603aba5 [TAS-161] debug tag_verification :: extract build_message, unit test for BuildTagMessageM0 and fix unit test for TagVerification 2024-05-21 18:08:25 +02:00
cesaaargm
a53b92b861 [TAS-200] gnss_crypto_test :: extend unit test for m0 and adkd4 2024-05-20 15:36:50 +02:00
cesaaargm
585cae0d70 [TAS-201] Update gnss_crypto_test and osnma_msg_receiver_test sections in CMakeLists for abseil 2024-05-20 11:24:31 +02:00
cesaaargm
5cee46aa06 [TAS-199] Add TagVerification test. Bugfix for verify_tag and osnma_helper. 2024-05-19 18:16:52 +02:00
cesaaargm
059e5e98d8 Merge branch 'next' of https://github.com/carlesfernandez/gnss-sdr into osnma-cesare 2024-05-12 12:54:34 +02:00
cesaaargm
a3a5f28e7f [TAS-174] retrieve NavData (W1→W5) directly from osnma test vector file. Add Osnma_Helper class. remove tag.build_message. Ignore W33. Reporting changes. 2024-05-12 11:34:48 +02:00
cesaaargm
c9259d87db Refactored and improved OsnmaMsgReceiverTest
Changes in the osnma receiver initialisation for time synchronisation with the configuration 1.
OsnmaMsgReceiverTest::initializeGoogleLog() implemented recycling code, in the same way as the gnss-sdr receiver upon start.
2024-05-06 17:58:56 +02:00
cesaaargm
38829adaaf GnssCryptoTest :: introduce raw r and s values signature.
This was done after bugfix for verify_signature.
2024-05-06 17:55:11 +02:00
Carles Fernandez
c8c6325535
Add flags for logging configuration 2024-05-01 12:14:06 +02:00
Carles Fernandez
4515e67b3f
Fixes for the embedded Abseil 2024-05-01 08:39:22 +02:00
Carles Fernandez
606454f7d3
Fix for Xcode 2024-04-30 10:35:37 +02:00
Carles Fernandez
95596b8f91
Soft transition from Gflags and Glog to Abseil. Some CI fixes 2024-04-29 08:27:33 +02:00
cesaaargm
e13fc39214 [TAS-177] implement OsnmaTestVectorsSimulation
This commit introduces two new unit tests for the osnma_msg_receiver class: 'TeslaKeyVerification' and 'OsnmaTestVectorsSimulation'. The first test verifies the Tesla key handling within the class. The second test uses real-world test vectors to simulate osnma message receiving and verifies correct parsing and processing of messages.
2024-04-19 17:50:57 +02:00
Carles Fernandez
fd5174e7ec
Remove duplicate libraries warning emitted by Xcode 15 2024-04-13 09:03:46 +02:00
Carles Fernandez
6fc04b34f2
Fix duplicate warning from Xcode 2024-04-12 18:15:33 +02:00
cesaaargm
ff5118db54 [TAS-156] debug verify_tesla_key various bugfixes plus refactor recursive hash computation 2024-04-10 17:51:43 +02:00
cesaaargm
b5765048de [TAS-160] bugfix readMack for tag size 20. Subframe filter if TOW repeated. Unit test for HMAC 256. Update OSNMA tables. 2024-03-16 18:40:02 +01:00
cesaaargm
9488008b89 [TAS-153] Re-design time check requirement and how time is computed
The OSNMA message receiver has been refactored to correct errors. It introduces new functions to process local time verification as well as DSM blocks. Flow of information between these functions is also changed, to improve readabilty and responsibility. Several TODO comments have been addressed as part of the changes. This commit also includes minor changes to the unit tests and system parameters classes.
2024-02-27 19:06:36 +01:00
cesaaargm
11b3a4a817 Fix unknown command line flag 'gtest_color'
Command line parameters are now parsed after initializing gtest.
2024-02-20 15:52:30 +01:00
cesaaargm
80e6d8df18 Add unit tests for GNSS_crypto
Introduced unit tests in `gnss_crypto_test.cc` to verify the functionality set_public_key and verify_signature. The added tests check the correctness of signature verification and public key import processes. Further minor changes
2024-02-20 15:52:19 +01:00
cesaaargm
b32d512972
Merge branch 'carlesfernandez:next' into osnma-cesare 2024-02-06 20:51:37 +01:00
Carles Fernandez
ec180d8525
Fix clang-format job 2024-01-26 10:28:10 +01:00
cesaaargm
1263af9ec1
Merge branch 'carlesfernandez:next' into osnma-cesare 2024-01-25 16:19:15 +01:00
Carles Fernandez
fe5523c565
Fix spelling errors detected by lintian 2024-01-23 14:42:46 +01:00
Carles Fernandez
a50a59fe1b
Remove RemoveDuplicates.cmake 2024-01-23 11:03:03 +01:00
cesaaargm
27a7274e1a
Merge branch 'carlesfernandez:next' into osnma-cesare 2024-01-20 22:05:02 +01:00
Cesare G. Martínez
13cc59c5fa [TAS-117] implement first test 2024-01-20 10:18:18 +01:00
Carles Fernandez
e9cea61b87
Fix building of benchmarks with Xcode 2024-01-14 08:41:03 +01:00