Home
last modified time | relevance | path

Searched refs:der_len (Results 1 – 6 of 6) sorted by relevance

/openthread-latest/third_party/mbedtls/repo/library/
Dpsa_util.c434 unsigned char *der, size_t der_size, size_t *der_len) in mbedtls_ecdsa_raw_to_der() argument
476 *der_len = len; in mbedtls_ecdsa_raw_to_der()
504 static int convert_der_to_raw_single_int(unsigned char *der, size_t der_len, in convert_der_to_raw_single_int() argument
512 ret = mbedtls_asn1_get_tag(&p, p + der_len, &unpadded_len, in convert_der_to_raw_single_int()
550 int mbedtls_ecdsa_der_to_raw(size_t bits, const unsigned char *der, size_t der_len, in mbedtls_ecdsa_der_to_raw() argument
566 ret = mbedtls_asn1_get_tag(&p, der + der_len, &data_len, in mbedtls_ecdsa_der_to_raw()
592 if ((size_t) (p - der) != der_len) { in mbedtls_ecdsa_der_to_raw()
Dpem.c495 const unsigned char *der_data, size_t der_len, in mbedtls_pem_write_buffer() argument
502 mbedtls_base64_encode(NULL, 0, &use_len, der_data, der_len); in mbedtls_pem_write_buffer()
516 der_len)) != 0) { in mbedtls_pem_write_buffer()
/openthread-latest/third_party/mbedtls/repo/include/mbedtls/
Dpsa_util.h166 unsigned char *der, size_t der_size, size_t *der_len);
181 int mbedtls_ecdsa_der_to_raw(size_t bits, const unsigned char *der, size_t der_len,
Dpem.h152 const unsigned char *der_data, size_t der_len,
/openthread-latest/third_party/mbedtls/repo/tests/suites/
Dtest_suite_x509write.function157 int der_len = -1;
252 der_len = mbedtls_x509write_csr_der(&req, buf, sizeof(buf),
255 TEST_ASSERT(der_len >= 0);
257 if (der_len == 0) {
265 der_len /= 2;
267 der_len -= 1;
269 ret = mbedtls_x509write_csr_der(&req, buf, (size_t) (der_len),
363 int der_len = -1;
566 der_len = mbedtls_x509write_crt_der(&crt, buf, sizeof(buf),
569 TEST_ASSERT(der_len >= 0);
[all …]
/openthread-latest/third_party/mbedtls/repo/docs/architecture/psa-migration/
Dpsa-legacy-bridges.md335 unsigned char *der, size_t der_size, size_t *der_len);
337 const unsigned char *der, size_t der_len,