Lines Matching refs:buflen
296 const unsigned char *buf, size_t buflen ) in mbedtls_x509_crl_parse_der() argument
337 if( buflen == 0 ) in mbedtls_x509_crl_parse_der()
340 p = mbedtls_calloc( 1, buflen ); in mbedtls_x509_crl_parse_der()
344 memcpy( p, buf, buflen ); in mbedtls_x509_crl_parse_der()
347 crl->raw.len = buflen; in mbedtls_x509_crl_parse_der()
349 end = p + buflen; in mbedtls_x509_crl_parse_der()
534 int mbedtls_x509_crl_parse( mbedtls_x509_crl *chain, const unsigned char *buf, size_t buflen ) in mbedtls_x509_crl_parse() argument
551 if( buflen == 0 || buf[buflen - 1] != '\0' ) in mbedtls_x509_crl_parse()
566 buflen -= use_len; in mbedtls_x509_crl_parse()
570 pem.buf, pem.buflen ) ) != 0 ) in mbedtls_x509_crl_parse()
586 while( is_pem && buflen > 1 ); in mbedtls_x509_crl_parse()
592 return( mbedtls_x509_crl_parse_der( chain, buf, buflen ) ); in mbedtls_x509_crl_parse()