Lines Matching refs:stdout
86 fprintf(stdout, "Generating RSA key, this may take some time...\n"); in generate_rsa_key_long()
112 fprintf(stdout, "Generating RSA key, this may take some time...\n"); in generate_rsa_key_short()
191 fprintf(stdout, "\nNumber of bits: %d\n\n", bits); in dump_key()
192 fprintf(stdout, "Public values:\n"); in dump_key()
193 fprintf(stdout, " n = 0x"); in dump_key()
194 BN_print_fp(stdout, n); in dump_key()
195 fprintf(stdout, "\n"); in dump_key()
197 fprintf(stdout, " e = 0x"); in dump_key()
198 BN_print_fp(stdout, e); in dump_key()
199 fprintf(stdout, "\n\n"); in dump_key()
201 fprintf(stdout, "Private values:\n"); in dump_key()
202 fprintf(stdout, " d = 0x"); in dump_key()
203 BN_print_fp(stdout, d); in dump_key()
204 fprintf(stdout, "\n"); in dump_key()
206 fprintf(stdout, " p = 0x"); in dump_key()
207 BN_print_fp(stdout, p); in dump_key()
208 fprintf(stdout, "\n"); in dump_key()
210 fprintf(stdout, " q = 0x"); in dump_key()
211 BN_print_fp(stdout, q); in dump_key()
212 fprintf(stdout, "\n\n"); in dump_key()
215 if (PEM_write_PUBKEY(stdout, pkey) == 0) { in dump_key()
225 if (PEM_write_PrivateKey(stdout, pkey, NULL, NULL, 0, NULL, NULL) == 0) { in dump_key()