Make bignum non-public #8155
Labels
api-break
This issue/PR breaks the API and must wait for a new major version
component-crypto
Crypto primitives and low-level interfaces
enhancement
size-m
Estimated task size: medium (~1w)
Remove
bignum.h
from the public interface.This probably requires defining a simple replacement interface for importing/exporting bignums to replace APIs that currently expose
mbedtls_mpi
. Structs with private fields of typembedtls_mpi
will need to reference an internal bignum header to get this type.bignum.h
from the public include folderasn1.h
,asn1write.h
:mbedtls_asn1_get_mpi
,mbedtls_asn1_write_mpi
- move to replacement interface → Make ASN.1 integer writing independent of MPI type #9372 and Make ASN.1 integer parsing independent of MPI type #9373MBEDTLS_PK_DEBUG_MPI
mbedtls_mpi
struct fields, only for DHM in TLS 1.2 which is being removedx509_crt.h
:removembedtls_x509write_crt_set_serial()
(functionality covered bymbedtls_x509write_crt_set_serial_raw
)Other consequences:
The text was updated successfully, but these errors were encountered: