Lines Matching refs:buflen
1075 size_t buflen, in x509_crt_parse_der_core() argument
1098 len = buflen; in x509_crt_parse_der_core()
1315 size_t buflen, in mbedtls_x509_crt_parse_der_internal() argument
1350 ret = x509_crt_parse_der_core(crt, buf, buflen, make_copy, cb, p_ctx); in mbedtls_x509_crt_parse_der_internal()
1368 size_t buflen) in mbedtls_x509_crt_parse_der_nocopy() argument
1370 return mbedtls_x509_crt_parse_der_internal(chain, buf, buflen, 0, NULL, NULL); in mbedtls_x509_crt_parse_der_nocopy()
1375 size_t buflen, in mbedtls_x509_crt_parse_der_with_ext_cb() argument
1380 return mbedtls_x509_crt_parse_der_internal(chain, buf, buflen, make_copy, cb, p_ctx); in mbedtls_x509_crt_parse_der_with_ext_cb()
1385 size_t buflen) in mbedtls_x509_crt_parse_der() argument
1387 return mbedtls_x509_crt_parse_der_internal(chain, buf, buflen, 1, NULL, NULL); in mbedtls_x509_crt_parse_der()
1396 size_t buflen) in mbedtls_x509_crt_parse() argument
1415 if (buflen != 0 && buf[buflen - 1] == '\0' && in mbedtls_x509_crt_parse()
1421 return mbedtls_x509_crt_parse_der(chain, buf, buflen); in mbedtls_x509_crt_parse()
1424 return mbedtls_x509_crt_parse_der(chain, buf, buflen); in mbedtls_x509_crt_parse()
1433 while (buflen > 1) { in mbedtls_x509_crt_parse()
1447 buflen -= use_len; in mbedtls_x509_crt_parse()
1457 buflen -= use_len; in mbedtls_x509_crt_parse()
1470 ret = mbedtls_x509_crt_parse_der(chain, pem.buf, pem.buflen); in mbedtls_x509_crt_parse()