Lines Matching defs:out
35 * The word 'cryptographic' can be left out if the rouines from the library
50 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
102 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
290 void program_name(char *in, char *out, int size)
331 out[i]=p[i]-'A'+'a';
333 out[i]=p[i];
335 out[n]='\0';
339 void program_name(char *in, char *out, int size)
355 strncpy(out,p,size-1);
358 out[size-1]='\0';
362 out[q-p]='\0';
366 void program_name(char *in, char *out, int size)
375 BUF_strlcpy(out,p,size);
459 int dump_cert_text (BIO *out, X509 *x)
464 BIO_puts(out,"subject=");
465 BIO_puts(out,p);
469 BIO_puts(out,"\nissuer=");
470 BIO_puts(out,p);
471 BIO_puts(out,"\n");
1403 void print_name(BIO *out, const char *title, X509_NAME *nm, unsigned long lflags)
1409 if(title) BIO_puts(out, title);
1416 BIO_puts(out, buf);
1417 BIO_puts(out, "\n");
1420 if(mline) BIO_puts(out, "\n");
1421 X509_NAME_print_ex(out, nm, indent, lflags);
1422 BIO_puts(out, "\n");
1616 BIO_printf(bio_err, "Out of memory\n");
1649 BIO *out = NULL;
1677 out=BIO_new(BIO_s_file());
1678 if (out == NULL)
1683 if (BIO_write_filename(out,buf[0]) <= 0)
1694 i2a_ASN1_INTEGER(out,ai);
1695 BIO_puts(out,"\n");
1703 if (out != NULL) BIO_free_all(out);
1843 fprintf(stderr, "Out of memory\n");
1902 BIO *out = BIO_new(BIO_s_file());
1905 if (out == NULL)
1936 if (BIO_write_filename(out,buf[0]) <= 0)
1942 j=TXT_DB_write(out,db->db);
1945 BIO_free(out);
1947 out = BIO_new(BIO_s_file());
1951 if (BIO_write_filename(out,buf[1]) <= 0)
1957 BIO_printf(out,"unique_subject = %s\n",
1959 BIO_free(out);
2410 int bio_to_mem(unsigned char **out, int maxlen, BIO *in)
2437 ret = BIO_get_mem_data(mem, (char **)out);
2461 static void nodes_print(BIO *out, const char *name,
2466 BIO_printf(out, "%s Policies:", name);
2469 BIO_puts(out, "\n");
2473 X509_POLICY_NODE_print(out, node, 2);
2477 BIO_puts(out, " <empty>\n");
2480 void policies_print(BIO *out, X509_STORE_CTX *ctx)
2485 if (out == NULL)
2487 out = BIO_new_fp(stderr, BIO_NOCLOSE);
2493 BIO_printf(out, "Require explicit Policy: %s\n",
2496 nodes_print(out, "Authority", X509_policy_tree_get0_policies(tree));
2497 nodes_print(out, "User", X509_policy_tree_get0_user_policies(tree));
2499 BIO_free(out);
2666 void jpake_client_auth(BIO *out, BIO *conn, const char *secret)
2671 BIO_puts(out, "Authenticating with JPAKE\n");
2685 BIO_puts(out, "JPAKE authentication succeeded, setting PSK\n");
2695 void jpake_server_auth(BIO *out, BIO *conn, const char *secret)
2700 BIO_puts(out, "Authenticating with JPAKE\n");
2714 BIO_puts(out, "JPAKE authentication succeeded, setting PSK\n");
2738 unsigned char *out;
2745 out = OPENSSL_malloc(strlen(in) + 1);
2746 if (!out)
2755 OPENSSL_free(out);
2758 out[start] = i - start;
2762 out[i+1] = in[i];
2766 return out;