Lines Matching defs:out
148 * further down help us find out if they are the same or not.
997 * fallen out in favor of { pkcs-1 1 }, i.e. 1.2.840.113549.1.1.1,
1110 static int print_reset_indent(BIO **out, int pop_f_prefix, long saved_indent)
1112 BIO_set_indent(*out, saved_indent);
1114 BIO *next = BIO_pop(*out);
1116 BIO_free(*out);
1117 *out = next;
1122 static int print_set_indent(BIO **out, int *pop_f_prefix, long *saved_indent,
1128 long i = BIO_get_indent(*out);
1131 if (BIO_set_indent(*out, indent) <= 0) {
1136 *out = BIO_push(prefbio, *out);
1139 if (BIO_set_indent(*out, indent) <= 0) {
1140 print_reset_indent(out, *pop_f_prefix, *saved_indent);
1147 static int unsup_alg(BIO *out, const EVP_PKEY *pkey, int indent,
1150 return BIO_indent(out, indent, 128)
1151 && BIO_printf(out, "%s algorithm \"%s\" unsupported\n",
1155 static int print_pkey(const EVP_PKEY *pkey, BIO *out, int indent,
1158 int (*legacy_print)(BIO *out, const EVP_PKEY *pkey,
1167 if (!print_set_indent(&out, &pop_f_prefix, &saved_indent, indent))
1173 ret = OSSL_ENCODER_to_bio(ctx, out);
1181 ret = legacy_print(out, pkey, 0, legacy_pctx);
1183 ret = unsup_alg(out, pkey, 0, "Public Key");
1186 print_reset_indent(&out, pop_f_prefix, saved_indent);
1190 int EVP_PKEY_print_public(BIO *out, const EVP_PKEY *pkey,
1193 return print_pkey(pkey, out, indent, EVP_PKEY_PUBLIC_KEY, NULL,
1198 int EVP_PKEY_print_private(BIO *out, const EVP_PKEY *pkey,
1201 return print_pkey(pkey, out, indent, EVP_PKEY_KEYPAIR, NULL,
1206 int EVP_PKEY_print_params(BIO *out, const EVP_PKEY *pkey,
1209 return print_pkey(pkey, out, indent, EVP_PKEY_KEY_PARAMETERS, NULL,
2239 int *out)
2246 params[0] = OSSL_PARAM_construct_int(key_name, out);
2253 size_t *out)
2260 params[0] = OSSL_PARAM_construct_size_t(key_name, out);