Skip to content

Conversation

@dachalco
Copy link
Contributor

Bump up line coverage.
100%: C_VerifyInit, C_DigestInit

Missing single line for C_Verify, specifically iot_pkcs11_mbedtls.c#L4257 which can't be reached unless the mechanism changes during the function call, by some other means. Theoretically unreachable in single-threaded app.

@lundinc2 lundinc2 merged commit 4220ae5 into FreeRTOS:test-coverage Sep 22, 2020
lundinc2 pushed a commit that referenced this pull request Sep 23, 2020
* C_Verify - max coverage excluding unreachable lines(single-threaded)

* C_VerifyInit - 100% Line Coverage

* C_DigestInit - 100% Line coverage
lundinc2 added a commit to lundinc2/corePKCS11 that referenced this pull request Sep 24, 2020
lundinc2 added a commit to lundinc2/corePKCS11 that referenced this pull request Sep 24, 2020
lundinc2 added a commit that referenced this pull request Sep 24, 2020
* Added PKCS #11 source file size estimates.
* Fixed wrong @file in iot_pki_utils.c.
* Moved images folder.
* Added source file sizes.
lundinc2 added a commit to lundinc2/corePKCS11 that referenced this pull request Dec 10, 2020
…low in core_pkcs11.c and a unfreed mutex in core_pkcs11_mbedtls.c
lundinc2 added a commit to lundinc2/corePKCS11 that referenced this pull request Dec 10, 2020
…low in core_pkcs11.c and a unfreed mutex in core_pkcs11_mbedtls.c
lundinc2 added a commit that referenced this pull request Dec 10, 2020
* Clean up PKCS #11 proofs. Fix a possible multiplication overflow in core_pkcs11.c and a unfreed mutex in core_pkcs11_mbedtls.c
aggarw13 pushed a commit that referenced this pull request Jul 30, 2021
This PR makes fixes to doxygen documentation to make a clear distinction between corePKCS11 library and the PKCS #11 standard as well as add mechanism for keeping the configuration-macros up-to-date.
aggarw13 pushed a commit that referenced this pull request Aug 2, 2021
A lot of code between posix/core_pkcs11_pal.c and windows/core_pkcs11_pal.c is duplicated which carries maintenance cost of copying the same code between files when adding features to the corePKCS11 library. Also, there is no mechanism of validating updates to the WinSim FreeRTOS PAL (as GitHub CI checks only validate POSIX builds).

To avoid this inefficiency, this PR commonizes the utility logic of mapping PKCS #11 Labels and Handle objects to storage filenames in new core_pkcs11_pal_utils.[hc] files. This PR also makes hygiene re-arrangement to the source/portable directory for better understandability of the relevance of files.
archigup added a commit that referenced this pull request Aug 11, 2021
Misc improvements and library version number bump.
Fixes file license headers.
Adds CMake variables for PAL files.
Fixes instructions in README.md.
Adds mbedtls_utils.h.
Lowers log level of logs that were incorrectly error level.
Changes the filenames of stored PKCS #11 objects.
Corrects changelog markdown formatting.
Bumps version numbers for release.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants