Lines Matching defs:out

35  *    The word 'cryptographic' can be left out if the rouines from the library
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);
461 int dump_cert_text (BIO *out, X509 *x)
466 BIO_puts(out,"subject=");
467 BIO_puts(out,p);
471 BIO_puts(out,"\nissuer=");
472 BIO_puts(out,p);
473 BIO_puts(out,"\n");
1405 void print_name(BIO *out, const char *title, X509_NAME *nm, unsigned long lflags)
1411 if(title) BIO_puts(out, title);
1418 BIO_puts(out, buf);
1419 BIO_puts(out, "\n");
1422 if(mline) BIO_puts(out, "\n");
1423 X509_NAME_print_ex(out, nm, indent, lflags);
1424 BIO_puts(out, "\n");
1653 BIO *out = NULL;
1681 out=BIO_new(BIO_s_file());
1682 if (out == NULL)
1687 if (BIO_write_filename(out,buf[0]) <= 0)
1698 i2a_ASN1_INTEGER(out,ai);
1699 BIO_puts(out,"\n");
1707 if (out != NULL) BIO_free_all(out);
1906 BIO *out = BIO_new(BIO_s_file());
1909 if (out == NULL)
1940 if (BIO_write_filename(out,buf[0]) <= 0)
1946 j=TXT_DB_write(out,db->db);
1949 BIO_free(out);
1951 out = BIO_new(BIO_s_file());
1955 if (BIO_write_filename(out,buf[1]) <= 0)
1961 BIO_printf(out,"unique_subject = %s\n",
1963 BIO_free(out);
2414 int bio_to_mem(unsigned char **out, int maxlen, BIO *in)
2441 ret = BIO_get_mem_data(mem, (char **)out);
2465 static void nodes_print(BIO *out, const char *name,
2470 BIO_printf(out, "%s Policies:", name);
2473 BIO_puts(out, "\n");
2477 X509_POLICY_NODE_print(out, node, 2);
2481 BIO_puts(out, " <empty>\n");
2484 void policies_print(BIO *out, X509_STORE_CTX *ctx)
2489 if (out == NULL)
2491 out = BIO_new_fp(stderr, BIO_NOCLOSE);
2497 BIO_printf(out, "Require explicit Policy: %s\n",
2500 nodes_print(out, "Authority", X509_policy_tree_get0_policies(tree));
2501 nodes_print(out, "User", X509_policy_tree_get0_user_policies(tree));
2503 BIO_free(out);
2670 void jpake_client_auth(BIO *out, BIO *conn, const char *secret)
2675 BIO_puts(out, "Authenticating with JPAKE\n");
2689 BIO_puts(out, "JPAKE authentication succeeded, setting PSK\n");
2699 void jpake_server_auth(BIO *out, BIO *conn, const char *secret)
2704 BIO_puts(out, "Authenticating with JPAKE\n");
2718 BIO_puts(out, "JPAKE authentication succeeded, setting PSK\n");
2742 unsigned char *out;
2749 out = OPENSSL_malloc(strlen(in) + 1);
2750 if (!out)
2759 OPENSSL_free(out);
2762 out[start] = i - start;
2766 out[i+1] = in[i];
2770 return out;