Lines Matching refs:data

852     char *data = fdevent_load_file(fn, &dlen, NULL, malloc, free);  in mod_mbedtls_x509_crl_parse_file()  local
853 if (NULL == data) return rc; in mod_mbedtls_x509_crl_parse_file()
855 rc = mbedtls_x509_crl_parse(chain, (unsigned char *)data, (size_t)dlen+1); in mod_mbedtls_x509_crl_parse_file()
857 if (dlen) ck_memzero(data, (size_t)dlen); in mod_mbedtls_x509_crl_parse_file()
858 free(data); in mod_mbedtls_x509_crl_parse_file()
920 char *data = fdevent_load_file(fn, &dlen, NULL, malloc, free); in mod_mbedtls_x509_crt_parse_acme() local
921 if (NULL == data) return rc; in mod_mbedtls_x509_crt_parse_acme()
930 (unsigned char *)data, NULL, 0, &use_len); in mod_mbedtls_x509_crt_parse_acme()
945 if (dlen) ck_memzero(data, (size_t)dlen); in mod_mbedtls_x509_crt_parse_acme()
946 free(data); in mod_mbedtls_x509_crt_parse_acme()
959 char *data = fdevent_load_file(fn, &dlen, NULL, malloc, free); in mod_mbedtls_x509_crt_parse_file() local
960 if (NULL == data) return rc; in mod_mbedtls_x509_crt_parse_file()
962 rc = mbedtls_x509_crt_parse(chain, (unsigned char *)data, (size_t)dlen+1); in mod_mbedtls_x509_crt_parse_file()
964 if (dlen) ck_memzero(data, (size_t)dlen); in mod_mbedtls_x509_crt_parse_file()
965 free(data); in mod_mbedtls_x509_crt_parse_file()
976 char *data = fdevent_load_file(fn, &dlen, NULL, malloc, free); in mod_mbedtls_pk_parse_keyfile() local
977 if (NULL == data) return rc; in mod_mbedtls_pk_parse_keyfile()
981 rc = mbedtls_pk_parse_key(ctx, (unsigned char *)data, (size_t)dlen+1, in mod_mbedtls_pk_parse_keyfile()
986 rc = mbedtls_pk_parse_key(ctx, (unsigned char *)data, (size_t)dlen+1, in mod_mbedtls_pk_parse_keyfile()
991 if (dlen) ck_memzero(data, (size_t)dlen); in mod_mbedtls_pk_parse_keyfile()
992 free(data); in mod_mbedtls_pk_parse_keyfile()
1340 data_string *ds = (data_string *)s->ssl_conf_cmd->data[i]; in mod_mbedtls_ssl_conf_cmd()
2054 char *data = local_send_buffer; in connection_write_cq_ssl() local
2060 if (0 != chunkqueue_peek_data(cq, &data, &data_len, errh)) return -1; in connection_write_cq_ssl()
2089 wr = mbedtls_ssl_write(ssl, (const unsigned char *)data, wr_len); in connection_write_cq_ssl()
2095 data += wr; in connection_write_cq_ssl()