X-Git-Url: https://www.bearssl.org/gitweb//home/git/?p=BearSSL;a=blobdiff_plain;f=inc%2Fbearssl.h;h=a9f1db7bcbb0d3945630284f05d415b67d5cec41;hp=6258e92605f735869b087f9beee03f31eeea6f89;hb=2e2b17186bf66b19831c0003cacc7afe2dd3dcdf;hpb=90aca31db096a1e509e98c4ad9ee582898f93fd1 diff --git a/inc/bearssl.h b/inc/bearssl.h index 6258e92..a9f1db7 100644 --- a/inc/bearssl.h +++ b/inc/bearssl.h @@ -75,6 +75,16 @@ * total code footprint ligther. * * + * ## `NULL` values + * + * Function parameters with a pointer type shall not be `NULL` unless + * explicitly authorised by the documentation. As an exception, then + * 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 * * BearSSL does not perform dynamic memory allocation. This implies that