Searched refs:size (Results 1 – 9 of 9) sorted by relevance
/library/ |
A D | x509write_csr.c | 135 size_t size, in x509write_csr_der_internal() argument 150 c = buf + size; in x509write_csr_der_internal() 249 c2 = buf + size; in x509write_csr_der_internal() 276 size_t size) in mbedtls_x509write_csr_der() argument 285 ret = x509write_csr_der_internal(ctx, buf, size, in mbedtls_x509write_csr_der() 297 int mbedtls_x509write_csr_pem(mbedtls_x509write_csr *ctx, unsigned char *buf, size_t size) in mbedtls_x509write_csr_pem() argument 302 if ((ret = mbedtls_x509write_csr_der(ctx, buf, size)) < 0) { in mbedtls_x509write_csr_pem() 307 buf + size - ret, in mbedtls_x509write_csr_pem() 308 ret, buf, size, &olen)) != 0) { in mbedtls_x509write_csr_pem()
|
A D | x509.c | 807 size_t n = size; in mbedtls_oid_get_numeric_string() 810 if (size > INT_MAX) { in mbedtls_oid_get_numeric_string() 892 n = size; in mbedtls_x509_dn_gets() 1014 n = size; in mbedtls_x509_serial_gets() 1046 size_t n = size; in mbedtls_x509_sig_alg_gets() 1573 size_t n = *size; in mbedtls_x509_info_subject_alt_name() 1756 *size = n; in mbedtls_x509_info_subject_alt_name() 1780 size_t n = *size; in mbedtls_x509_info_cert_type() 1793 *size = n; in mbedtls_x509_info_cert_type() 1810 size_t n = *size; in mbedtls_x509_info_key_usage() [all …]
|
A D | x509_internal.h | 46 int mbedtls_x509_sig_alg_gets(char *buf, size_t size, const mbedtls_x509_buf *sig_oid, 59 unsigned char *sig, size_t size, 73 int mbedtls_x509_info_subject_alt_name(char **buf, size_t *size, 77 int mbedtls_x509_info_cert_type(char **buf, size_t *size, 79 int mbedtls_x509_info_key_usage(char **buf, size_t *size,
|
A D | x509write_crt.c | 357 const char *t, size_t size) in x509_write_time() argument 368 size - 2)); in x509_write_time() 375 size)); in x509_write_time() 385 unsigned char *buf, size_t size) in mbedtls_x509write_crt_der() argument 405 c = buf + size; in mbedtls_x509write_crt_der() 587 c2 = buf + size; in mbedtls_x509write_crt_der() 618 unsigned char *buf, size_t size) in mbedtls_x509write_crt_pem() argument 623 if ((ret = mbedtls_x509write_crt_der(crt, buf, size)) < 0) { in mbedtls_x509write_crt_pem() 628 buf + size - ret, ret, in mbedtls_x509write_crt_pem() 629 buf, size, &olen)) != 0) { in mbedtls_x509write_crt_pem()
|
A D | x509_create.c | 335 const char *oid_str, size_t size) in mbedtls_oid_from_numeric_string() argument 339 const char *str_bound = oid_str + size; in mbedtls_oid_from_numeric_string() 347 for (size_t i = 0; i < size; i++) { in mbedtls_oid_from_numeric_string() 648 unsigned char *sig, size_t size, in mbedtls_x509_write_sig() argument 655 if (*p < start || (size_t) (*p - start) < size) { in mbedtls_x509_write_sig() 659 len = size; in mbedtls_x509_write_sig()
|
A D | x509_crt.c | 1686 static int x509_info_ext_key_usage(char **buf, size_t *size, in x509_info_ext_key_usage() argument 1691 size_t n = *size; in x509_info_ext_key_usage() 1709 *size = n; in x509_info_ext_key_usage() 1715 static int x509_info_cert_policies(char **buf, size_t *size, in x509_info_cert_policies() argument 1720 size_t n = *size; in x509_info_cert_policies() 1738 *size = n; in x509_info_cert_policies() 1758 n = size; in mbedtls_x509_crt_info() 1764 return (int) (size - n); in mbedtls_x509_crt_info() 1884 return (int) (size - n); in mbedtls_x509_crt_info() 1905 size_t n = size; in mbedtls_x509_crt_verify_info() [all …]
|
A D | x509_csr.c | 527 int mbedtls_x509_csr_info(char *buf, size_t size, const char *prefix, in mbedtls_x509_csr_info() argument 536 n = size; in mbedtls_x509_csr_info() 600 return (int) (size - n); in mbedtls_x509_csr_info()
|
A D | x509_crl.c | 587 int mbedtls_x509_crl_info(char *buf, size_t size, const char *prefix, in mbedtls_x509_crl_info() argument 596 n = size; in mbedtls_x509_crl_info() 654 return (int) (size - n); in mbedtls_x509_crl_info()
|
A D | ssl_tls.c | 2132 size_t size; in mbedtls_ssl_get_mode_from_ciphersuite() local 2134 0, &alg, &type, &size); in mbedtls_ssl_get_mode_from_ciphersuite()
|
Completed in 40 milliseconds