Lines Matching refs:p
31 const OSSL_PARAM *p; in prepare_from_text() local
41 p = *paramdef = OSSL_PARAM_locate_const(paramdefs, key); in prepare_from_text()
43 *found = p != NULL; in prepare_from_text()
44 if (p == NULL) in prepare_from_text()
47 switch (p->data_type) { in prepare_from_text()
58 if (p->data_type == OSSL_PARAM_UNSIGNED_INTEGER in prepare_from_text()
74 if (p->data_type == OSSL_PARAM_INTEGER && BN_is_negative(*tmpbn) in prepare_from_text()
91 if (p->data_type == OSSL_PARAM_INTEGER && buf_bits % 8 == 0) in prepare_from_text()
100 if (p->data_size > 0) { in prepare_from_text()
101 if (buf_bits > p->data_size * 8) { in prepare_from_text()
107 *buf_n = p->data_size; in prepare_from_text()
216 int OSSL_PARAM_print_to_bio(const OSSL_PARAM *p, BIO *bio, int print_values) in OSSL_PARAM_print_to_bio() argument
230 for (; p->key != NULL; p++) { in OSSL_PARAM_print_to_bio()
232 ok = BIO_printf(bio, "%s: ", p->key); in OSSL_PARAM_print_to_bio()
246 switch (p->data_type) { in OSSL_PARAM_print_to_bio()
248 if (p->data_size > sizeof(int64_t)) { in OSSL_PARAM_print_to_bio()
249 if (OSSL_PARAM_get_BN(p, &bn)) in OSSL_PARAM_print_to_bio()
254 if (OSSL_PARAM_get_uint64(p, &u)) in OSSL_PARAM_print_to_bio()
261 if (p->data_size > sizeof(int64_t)) { in OSSL_PARAM_print_to_bio()
262 if (OSSL_PARAM_get_BN(p, &bn)) in OSSL_PARAM_print_to_bio()
267 if (OSSL_PARAM_get_int64(p, &i)) in OSSL_PARAM_print_to_bio()
274 ok = BIO_dump(bio, p->data, p->data_size); in OSSL_PARAM_print_to_bio()
277 ok = BIO_dump(bio, (char *)p->data, p->data_size); in OSSL_PARAM_print_to_bio()
281 ok = BIO_dump(bio, (char *)p->data, p->data_size); in OSSL_PARAM_print_to_bio()
286 dok = OSSL_PARAM_get_double(p, &d); in OSSL_PARAM_print_to_bio()
295 p->data_type, p->data_size); in OSSL_PARAM_print_to_bio()