Issue Description
Hey,
I have tried to run the files generated by Makefile.test, namely t_cose_examples and t_cose_test.
While all tests in t_cose_test have passed, none of the tests in t_cose_examples passed.
I did some initial debugging, focusing on the encrypt0_example to find the reason for the failure. It returned error code 95 (T_COSE_ERR_UNPROCESSED_TAG_NUMBERS).
The error was returned from the function t_cose_encrypt_dec_detached_msg in t_cose_encrypt_dec.c, which calls t_cose_encrypt_dec_main_private (also in t_cose_encrypt_dec.c).
That function, in turn, calls t_cose_process_tag_numbers_qcbor1 in t_cose_util.c, and this function raised the error when calling t_cose_process_tag_numbers_qcbor1_t_cose1.
I could not fully understand the reason for this error and would appreciate any help with resolving it.
Thank you in advance!
System Information
- OS: Linux private 6.13.8-arch1-1 (
#1 SMP PREEMPT_DYNAMIC, Sun, 23 Mar 2025 17:17:30 +0000) x86_64 GNU/Linux the
- GCC Version: cc (GCC) 14.2.1 20250207
- OpenSSL Version: 3.4.1 (Library: OpenSSL 3.4.1, 11 Feb 2025)
Build Details
- QCBOR: Built from the current
master branch
- t_cose: Built from the
dev branch
Issue Description
Hey,
I have tried to run the files generated by
Makefile.test, namelyt_cose_examplesandt_cose_test.While all tests in
t_cose_testhave passed, none of the tests int_cose_examplespassed.I did some initial debugging, focusing on the
encrypt0_exampleto find the reason for the failure. It returned error code 95 (T_COSE_ERR_UNPROCESSED_TAG_NUMBERS).The error was returned from the function
t_cose_encrypt_dec_detached_msgint_cose_encrypt_dec.c, which callst_cose_encrypt_dec_main_private(also int_cose_encrypt_dec.c).That function, in turn, calls
t_cose_process_tag_numbers_qcbor1int_cose_util.c, and this function raised the error when callingt_cose_process_tag_numbers_qcbor1_t_cose1.I could not fully understand the reason for this error and would appreciate any help with resolving it.
Thank you in advance!
System Information
#1 SMP PREEMPT_DYNAMIC, Sun, 23 Mar 2025 17:17:30 +0000) x86_64 GNU/Linux theBuild Details
masterbranchdevbranch