Home
last modified time | relevance | path

Searched refs:mbedtls_pk_load_file (Results 1 – 14 of 14) sorted by relevance

/aosp_15_r20/external/mbedtls/tests/suites/
H A Dtest_suite_pkwrite.function84 /* Note: if mbedtls_pk_load_file() successfully reads the file, then
86 TEST_EQUAL(mbedtls_pk_load_file(key_file, &check_buf, &check_buf_len), 0);
92 * Unfortunately mbedtls_pk_load_file() loads files in binary format,
184 TEST_EQUAL(mbedtls_pk_load_file(pub_key_file, &pub_key_raw,
H A Dtest_suite_pkcs7.function48 res = mbedtls_pk_load_file(pkcs7_file, &pkcs7_buf, &buflen);
110 res = mbedtls_pk_load_file(pkcs7_file, &pkcs7_buf, &buflen);
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/tests/suites/
H A Dtest_suite_pkwrite.function83 /* Note: if mbedtls_pk_load_file() successfully reads the file, then
85 TEST_EQUAL(mbedtls_pk_load_file(key_file, &check_buf, &check_buf_len), 0);
91 * Unfortunately mbedtls_pk_load_file() loads files in binary format,
187 TEST_EQUAL(mbedtls_pk_load_file(pub_key_file, &pub_key_raw,
H A Dtest_suite_pkcs7.function49 res = mbedtls_pk_load_file(pkcs7_file, &pkcs7_buf, &buflen);
111 res = mbedtls_pk_load_file(pkcs7_file, &pkcs7_buf, &buflen);
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/library/
H A Dpkparse.c1298 int mbedtls_pk_load_file(const char *path, unsigned char **buf, size_t *n) in mbedtls_pk_load_file() function
1355 if ((ret = mbedtls_pk_load_file(path, &buf, &n)) != 0) { in mbedtls_pk_parse_keyfile()
1380 if ((ret = mbedtls_pk_load_file(path, &buf, &n)) != 0) { in mbedtls_pk_parse_public_keyfile()
H A Dpk_internal.h204 int mbedtls_pk_load_file(const char *path, unsigned char **buf, size_t *n);
H A Dx509_csr.c510 if ((ret = mbedtls_pk_load_file(path, &buf, &n)) != 0) { in mbedtls_x509_csr_parse_file()
H A Dx509_crl.c573 if ((ret = mbedtls_pk_load_file(path, &buf, &n)) != 0) { in mbedtls_x509_crl_parse_file()
H A Dx509_crt.c1512 if ((ret = mbedtls_pk_load_file(path, &buf, &n)) != 0) { in mbedtls_x509_crt_parse_file()
/aosp_15_r20/external/mbedtls/library/
H A Dpkparse.c65 int mbedtls_pk_load_file(const char *path, unsigned char **buf, size_t *n) in mbedtls_pk_load_file() function
122 if ((ret = mbedtls_pk_load_file(path, &buf, &n)) != 0) { in mbedtls_pk_parse_keyfile()
147 if ((ret = mbedtls_pk_load_file(path, &buf, &n)) != 0) { in mbedtls_pk_parse_public_keyfile()
H A Dx509_csr.c445 if ((ret = mbedtls_pk_load_file(path, &buf, &n)) != 0) { in mbedtls_x509_csr_parse_file()
H A Dx509_crl.c572 if ((ret = mbedtls_pk_load_file(path, &buf, &n)) != 0) { in mbedtls_x509_crl_parse_file()
H A Dx509_crt.c1511 if ((ret = mbedtls_pk_load_file(path, &buf, &n)) != 0) { in mbedtls_x509_crt_parse_file()
/aosp_15_r20/external/mbedtls/include/mbedtls/
H A Dpk.h1057 int mbedtls_pk_load_file(const char *path, unsigned char **buf, size_t *n);