X-Git-Url: https://bearssl.org/gitweb//home/git/?p=BearSSL;a=blobdiff_plain;f=inc%2Fbearssl.h;h=34367894f04a7c8cbe9baeb9a1b7ed0f1a9e005d;hp=6258e92605f735869b087f9beee03f31eeea6f89;hb=127fb4a31d24e58fa8e04a154c6e87a2cb28245b;hpb=e683ebfe1962ef5b00a972761984674528922a4a;ds=sidebyside diff --git a/inc/bearssl.h b/inc/bearssl.h index 6258e92..3436789 100644 --- a/inc/bearssl.h +++ b/inc/bearssl.h @@ -72,7 +72,17 @@ * does not include much failsafes or error reporting when the problem * does not arise from external transient conditions, and can be fixed * only in the application code. This is done so in order to make the - * total code footprint ligther. + * total code footprint lighter. + * + * + * ## `NULL` values + * + * Function parameters with a pointer type shall not be `NULL` unless + * explicitly authorised by the documentation. As an exception, when + * the pointer aims at a sequence of bytes and is accompanied with + * a length parameter, and the length is zero (meaning that there is + * no byte at all to retrieve), then the pointer may be `NULL` even if + * not explicitly allowed. * * * ## Memory Allocation @@ -117,6 +127,7 @@ #include "bearssl_rand.h" #include "bearssl_prf.h" #include "bearssl_block.h" +#include "bearssl_aead.h" #include "bearssl_rsa.h" #include "bearssl_ec.h" #include "bearssl_ssl.h"