Lines Matching refs:buflen
256 const unsigned char *buf, size_t buflen ) in mbedtls_x509_crl_parse_der() argument
297 if( ( p = mbedtls_calloc( 1, buflen ) ) == NULL ) in mbedtls_x509_crl_parse_der()
300 memcpy( p, buf, buflen ); in mbedtls_x509_crl_parse_der()
303 crl->raw.len = buflen; in mbedtls_x509_crl_parse_der()
305 end = p + buflen; in mbedtls_x509_crl_parse_der()
490 int mbedtls_x509_crl_parse( mbedtls_x509_crl *chain, const unsigned char *buf, size_t buflen ) in mbedtls_x509_crl_parse() argument
507 if( buflen == 0 || buf[buflen - 1] != '\0' ) in mbedtls_x509_crl_parse()
522 buflen -= use_len; in mbedtls_x509_crl_parse()
526 pem.buf, pem.buflen ) ) != 0 ) in mbedtls_x509_crl_parse()
541 while( is_pem && buflen > 1 ); in mbedtls_x509_crl_parse()
547 return( mbedtls_x509_crl_parse_der( chain, buf, buflen ) ); in mbedtls_x509_crl_parse()