Privatize functions and some types/macros in cipher mode headers #275
No reviewers
Labels
No labels
api-break
approved
bug
component-docs
component-platform
component-test
dependencies
deprecation
DO-NOT-MERGE
enhancement
good first issue
help wanted
needs-adoption
needs-backports
needs-ci
needs-design-approval
needs-info
needs-preceding-pr
needs-review
needs-reviewer
needs-work
priority-high
priority-low
priority-medium
priority-scheduled
priority-very-high
resolved-after-1.1
single-reviewer
size-l
size-m
size-optimisation
size-s
size-xs
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-Mbed-TLS/TF-PSA-Crypto!275
Loading…
Reference in a new issue
No description provided.
Delete branch "privatize-cipher-mode-functions"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Privatizes all functions in the following files by guarding them with
MBEDTLS_DECLARE_PRIVATE_IDENTIFIERSccm.hcmac.hgcm.hn.b.
block_cipher.his specified in the issue, but does not have any types/macros that can be privatized (and does not contain any functions at all).Also privatizes the following macros, including unlinking them from the Doxygen to avoid CI errors where applicable:
MBEDTLS_CCM_<EN/DE>CRYPTMBEDTLS_CCM_STAR_<EN/DE>CRYPTMBEDTLS_AES_BLOCK_SIZEMBEDTLS_DES3_BLOCK_SIZEMBEDTLS_CMAC_MAX_BLOCK_SIZEMBEDTLS_GCM_<EN/DE>CRYPTPrivatizes the types:
mbedts_cmac_context_tDoes not privatize the types/macros:
mbedtls_ccm_contextMBEDTLS_CIPHER_BLKSIZE_MAX(deprecated anyway)MBEDTLS_GCM_HTABLE_SIZEmbedtls_gcm_contextResolves https://github.com/Mbed-TLS/TF-PSA-Crypto/issues/226
PR checklist
MBEDTLS_DECLARE_PRIVATE_IDENTIFIERS@ -44,10 +44,12 @@#include "mbedtls/block_cipher.h"Can we add the /* MBEDTLS_DECLARE_PRIVATE_IDENTIFIERS */ comment onto here?
@ -30,8 +30,10 @@Can we add the /* MBEDTLS_DECLARE_PRIVATE_IDENTIFIERS */ comment onto here?