Lines Matching refs:resp_len
125 size_t pkcs7_len, resp_len; in est_load_cacerts() local
153 resp = os_readfile("Cert/est-cacerts.txt", &resp_len); in est_load_cacerts()
160 pkcs7 = base64_decode((unsigned char *) resp, resp_len, &pkcs7_len); in est_load_cacerts()
161 if (pkcs7 && pkcs7_len < resp_len / 2) { in est_load_cacerts()
163 (unsigned int) pkcs7_len, (unsigned int) resp_len); in est_load_cacerts()
169 pkcs7 = os_malloc(resp_len); in est_load_cacerts()
171 os_memcpy(pkcs7, resp, resp_len); in est_load_cacerts()
172 pkcs7_len = resp_len; in est_load_cacerts()
617 size_t resp_len; in est_build_csr() local
623 resp = os_readfile("Cert/est-csrattrs.txt", &resp_len); in est_build_csr()
629 attrs = base64_decode((unsigned char *) resp, resp_len, in est_build_csr()
667 size_t buflen, resp_len, len, pkcs7_len; in est_simple_enroll() local
713 &resp_len); in est_simple_enroll()
726 fwrite(resp, resp_len, 1, f); in est_simple_enroll()
730 pkcs7 = base64_decode((unsigned char *) resp, resp_len, &pkcs7_len); in est_simple_enroll()
733 pkcs7 = os_malloc(resp_len); in est_simple_enroll()
735 os_memcpy(pkcs7, resp, resp_len); in est_simple_enroll()
736 pkcs7_len = resp_len; in est_simple_enroll()