mbedtls icon indicating copy to clipboard operation
mbedtls copied to clipboard

Use internal headers in library/*

Open hanno-becker opened this issue 4 years ago • 0 comments

Recently, it has been decided that internal headers in Mbed TLS shouldn't reside in include as xxx_internal.h (most notably, ssl_internal.h), but instead as *.h in library/. For example, library/ssl_tls13_keys.h is one of the most recent examples of this related to the prototype.

We should make sure that all internal functions we introduce in the context of the TLS 1.3 prototype are contained in a suitable header in library. As it stands, a lot of SSL related functions have been added to ssl_internal.h, but it would be better to create something like library/ssl_tls13_{generic,client,server}.h or similar.

hanno-becker avatar Jan 08 '21 05:01 hanno-becker