Lines Matching refs:der_len
152 int der_len = -1;
228 der_len = mbedtls_x509write_csr_der(&req, buf, sizeof(buf),
231 TEST_ASSERT(der_len >= 0);
233 if (der_len == 0) {
241 der_len /= 2;
243 der_len -= 1;
245 ret = mbedtls_x509write_csr_der(&req, buf, (size_t) (der_len),
347 int der_len = -1;
516 der_len = mbedtls_x509write_crt_der(&crt, buf, sizeof(buf),
519 TEST_ASSERT(der_len >= 0);
521 if (der_len == 0) {
541 for (p = end - der_len; p < end;) {
571 der_len /= 2;
574 der_len -= 1;
576 ret = mbedtls_x509write_crt_der(&crt, buf, (size_t) (der_len),