Lines Matching refs:p
22 int ossl_param_build_set_int(OSSL_PARAM_BLD *bld, OSSL_PARAM *p, in DEFINE_SPECIAL_STACK_OF_CONST()
27 p = OSSL_PARAM_locate(p, key); in DEFINE_SPECIAL_STACK_OF_CONST()
28 if (p != NULL) in DEFINE_SPECIAL_STACK_OF_CONST()
29 return OSSL_PARAM_set_int(p, num); in DEFINE_SPECIAL_STACK_OF_CONST()
33 int ossl_param_build_set_long(OSSL_PARAM_BLD *bld, OSSL_PARAM *p, in ossl_param_build_set_long() argument
38 p = OSSL_PARAM_locate(p, key); in ossl_param_build_set_long()
39 if (p != NULL) in ossl_param_build_set_long()
40 return OSSL_PARAM_set_long(p, num); in ossl_param_build_set_long()
44 int ossl_param_build_set_utf8_string(OSSL_PARAM_BLD *bld, OSSL_PARAM *p, in ossl_param_build_set_utf8_string() argument
49 p = OSSL_PARAM_locate(p, key); in ossl_param_build_set_utf8_string()
50 if (p != NULL) in ossl_param_build_set_utf8_string()
51 return OSSL_PARAM_set_utf8_string(p, buf); in ossl_param_build_set_utf8_string()
55 int ossl_param_build_set_octet_string(OSSL_PARAM_BLD *bld, OSSL_PARAM *p, in ossl_param_build_set_octet_string() argument
63 p = OSSL_PARAM_locate(p, key); in ossl_param_build_set_octet_string()
64 if (p != NULL) in ossl_param_build_set_octet_string()
65 return OSSL_PARAM_set_octet_string(p, data, data_len); in ossl_param_build_set_octet_string()
69 int ossl_param_build_set_bn_pad(OSSL_PARAM_BLD *bld, OSSL_PARAM *p, in ossl_param_build_set_bn_pad() argument
74 p = OSSL_PARAM_locate(p, key); in ossl_param_build_set_bn_pad()
75 if (p != NULL) { in ossl_param_build_set_bn_pad()
76 if (sz > p->data_size) { in ossl_param_build_set_bn_pad()
80 p->data_size = sz; in ossl_param_build_set_bn_pad()
81 return OSSL_PARAM_set_BN(p, bn); in ossl_param_build_set_bn_pad()
86 int ossl_param_build_set_bn(OSSL_PARAM_BLD *bld, OSSL_PARAM *p, in ossl_param_build_set_bn() argument
92 p = OSSL_PARAM_locate(p, key); in ossl_param_build_set_bn()
93 if (p != NULL) in ossl_param_build_set_bn()
94 return OSSL_PARAM_set_BN(p, bn) > 0; in ossl_param_build_set_bn()
103 OSSL_PARAM *p; in ossl_param_build_set_multi_key_bn() local
117 p = OSSL_PARAM_locate(params, names[i]); in ossl_param_build_set_multi_key_bn()
118 if (p != NULL && bn != NULL) { in ossl_param_build_set_multi_key_bn()
119 if (!OSSL_PARAM_set_BN(p, bn)) in ossl_param_build_set_multi_key_bn()