Home
last modified time | relevance | path

Searched refs:len1 (Results 1 – 3 of 3) sorted by relevance

/mbedtls-3.5.0/library/
Dpkcs7.c186 size_t len1 = 0; in pkcs7_get_certificates() local
190 ret = mbedtls_asn1_get_tag(p, end, &len1, MBEDTLS_ASN1_CONSTRUCTED in pkcs7_get_certificates()
199 end_set = *p + len1; in pkcs7_get_certificates()
219 if ((ret = mbedtls_x509_crt_parse_der(certs, start, len1)) < 0) { in pkcs7_get_certificates()
Decjpake.c1046 const unsigned char *xm1, size_t len1, in ecjpake_test_load() argument
1051 MBEDTLS_MPI_CHK(mbedtls_mpi_read_binary(&ctx->xm1, xm1, len1)); in ecjpake_test_load()
/mbedtls-3.5.0/tests/suites/
Dtest_suite_ssl.function2257 size_t len0, len1, len2;
2288 TEST_ASSERT(mbedtls_ssl_session_save(&session, buf1, len0, &len1)
2290 TEST_ASSERT(len0 == len1);
2294 TEST_ASSERT(mbedtls_ssl_session_load(&session, buf1, len1) == 0);
2303 TEST_ASSERT(len1 == len2);
2304 TEST_ASSERT(memcmp(buf1, buf2, len1) == 0);