Carles Fernandez
39f94dcbe6
Code cleaning
2024-07-23 12:15:43 +02:00
Carles Fernandez
1a2cbe4506
Code cleaning
2024-07-20 21:25:53 +02:00
Carles Fernandez
d687193156
Improve consistency of public API member function names in Gnss_Crypto
2024-07-18 10:49:52 +02:00
Carles Fernandez
659ef2f0a8
Improve code formatting
2024-07-18 07:53:53 +02:00
Carles Fernandez
fcb20cb914
Add ECDSA P-521 signature verification algorithm
2024-07-17 19:53:21 +02:00
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
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
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
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
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
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
Cesare G. Martínez
13cc59c5fa
[TAS-117] implement first test
2024-01-20 10:18:18 +01:00
Carles Fernandez
a2f8758ac7
Do not use __VOLK_VOLATILE in neon tests
...
and other minor chores
2023-12-21 17:56:32 +01:00
Carles Fernandez
4916c6c8e8
Fix member initializations, potential data race conditions, and minor performance issues detected by Coverity Scan
...
Never throw from main
2023-12-21 13:57:41 +01:00
Carles Fernandez
e286a0d807
Fix more defects detected by Coverity Scan
2023-12-03 14:33:23 +01:00
Carles Fernandez
e836d8f471
Fix more defects detected by Coverity Scan
2023-12-03 10:10:40 +01:00
Carles Fernandez
4b60f8a7f2
Fix performance inefficiencies detected by Coverity Scan
2023-12-01 10:19:39 +01:00
Carles Fernandez
bd1f9e5ad9
Fix performance inefficiencies detected by Coverity Scan
2023-11-30 09:48:04 +01:00
Carles Fernandez
cfb6f283d4
Fix some performance inefficiencies detected by Coverity Scan
2023-11-27 13:41:55 +01:00
Carles Fernandez
b751b4b8a1
Remove useless casts
2023-11-15 14:23:30 +01:00
Carles Fernandez
dd4478135a
Remove useless casts
2023-11-15 14:21:07 +01:00
Carles Fernandez
955770eb11
Fix performance inefficiency detected by Coverity Scan
2023-11-05 10:13:11 +01:00