Lines Matching refs:params

19 #include <openssl/params.h>
81 void *params, int params_type,
93 params_type, params, der, derlen)) {
126 void *params, int params_type,
130 key_to_p8info(key, key_nid, params, params_type, k2d);
134 free_asn1_data(params_type, params);
143 void *params, int params_type,
156 params_type, params, der, derlen)) {
446 ASN1_STRING *params = ASN1_STRING_new();
448 if (params == NULL) {
454 params->length = i2d_DHxparams(dh, &params->data);
456 params->length = i2d_DHparams(dh, &params->data);
458 if (params->length <= 0) {
460 ASN1_STRING_free(params);
463 params->type = V_ASN1_SEQUENCE;
465 *pstr = params;
550 ASN1_STRING *params = ASN1_STRING_new();
552 if (params == NULL) {
557 params->length = i2d_DSAparams(dsa, &params->data);
559 if (params->length <= 0) {
561 ASN1_STRING_free(params);
566 *pstr = params;
645 ASN1_STRING *params = ASN1_STRING_new();
647 if (params == NULL) {
652 params->length = i2d_ECParameters(eckey, &params->data);
653 if (params->length <= 0) {
655 ASN1_STRING_free(params);
660 *pstr = params;
673 ASN1_OBJECT *params = NULL;
679 params = OBJ_nid2obj(curve_nid);
680 if (params == NULL)
687 if (OBJ_length(params) == 0) {
690 ASN1_OBJECT_free(params);
693 *pstr = params;
802 * representation, so we don't define ecx_type_specific_[priv,pub,params]_to_der.
824 * Helper functions to prepare RSA-PSS params for encoding. We would
966 static int key2any_set_ctx_params(void *vctx, const OSSL_PARAM params[])
971 OSSL_PARAM_locate_const(params, OSSL_ENCODER_PARAM_CIPHER);
973 OSSL_PARAM_locate_const(params, OSSL_ENCODER_PARAM_PROPERTIES);
975 OSSL_PARAM_locate_const(params, OSSL_ENCODER_PARAM_SAVE_PARAMETERS);
1179 * i2d_{TYPE}PublicKey and i2d_{TYPE}params / i2d_{TYPE}Parameters.
1245 const OSSL_PARAM params[]) \
1250 ctx->provctx, selection, params); \
1303 * i2d_{TYPE}params, as they exist.
1322 * PEM_write_bio_{TYPE}PublicKey, PEM_write_bio_{TYPE}params, as they exist.