Home
last modified time | relevance | path

Searched refs:OSSL_PARAM_INTEGER (Results 1 – 25 of 28) sorted by relevance

12

/openssl/crypto/
H A Dparams_from_text.c47 case OSSL_PARAM_INTEGER: in prepare_from_text()
73 if (p->data_type == OSSL_PARAM_INTEGER && BN_is_negative(*tmpbn) in prepare_from_text()
90 if (p->data_type == OSSL_PARAM_INTEGER && buf_bits % 8 == 0) in prepare_from_text()
143 case OSSL_PARAM_INTEGER: in construct_from_text()
161 if (paramdef->data_type == OSSL_PARAM_INTEGER in construct_from_text()
H A Dparam_build.c124 return param_push_num(bld, key, &num, sizeof(num), OSSL_PARAM_INTEGER); in OSSL_PARAM_BLD_push_int()
137 return param_push_num(bld, key, &num, sizeof(num), OSSL_PARAM_INTEGER); in OSSL_PARAM_BLD_push_long()
150 return param_push_num(bld, key, &num, sizeof(num), OSSL_PARAM_INTEGER); in OSSL_PARAM_BLD_push_int32()
163 return param_push_num(bld, key, &num, sizeof(num), OSSL_PARAM_INTEGER); in OSSL_PARAM_BLD_push_int64()
184 OSSL_PARAM_INTEGER); in OSSL_PARAM_BLD_push_time_t()
200 || type == OSSL_PARAM_INTEGER)) in push_BN()
238 OSSL_PARAM_INTEGER); in OSSL_PARAM_BLD_push_BN()
248 OSSL_PARAM_INTEGER); in OSSL_PARAM_BLD_push_BN_pad()
H A Dparams.c204 if (p->data_type == OSSL_PARAM_INTEGER) in general_get_int()
220 if (p->data_type == OSSL_PARAM_INTEGER) in general_set_int()
238 if (p->data_type == OSSL_PARAM_INTEGER) in general_get_uint()
254 if (p->data_type == OSSL_PARAM_INTEGER) in general_set_uint()
402 if (p->data_type == OSSL_PARAM_INTEGER) { in OSSL_PARAM_get_int32()
477 if (p->data_type == OSSL_PARAM_INTEGER) { in OSSL_PARAM_set_int32()
712 if (p->data_type == OSSL_PARAM_INTEGER) { in OSSL_PARAM_get_int64()
779 if (p->data_type == OSSL_PARAM_INTEGER) { in OSSL_PARAM_set_int64()
1081 case OSSL_PARAM_INTEGER: in OSSL_PARAM_get_BN()
1118 if (p->data_type == OSSL_PARAM_INTEGER) in OSSL_PARAM_set_BN()
[all …]
/openssl/include/openssl/
H A Dparams.h32 OSSL_PARAM_DEFN((key), OSSL_PARAM_INTEGER, (addr), sizeof(int))
37 OSSL_PARAM_DEFN((key), OSSL_PARAM_INTEGER, (addr), sizeof(long int))
42 OSSL_PARAM_DEFN((key), OSSL_PARAM_INTEGER, (addr), sizeof(int32_t))
47 OSSL_PARAM_DEFN((key), OSSL_PARAM_INTEGER, (addr), sizeof(int64_t))
54 OSSL_PARAM_DEFN((key), OSSL_PARAM_INTEGER, (addr), sizeof(time_t))
H A Dcore.h106 # define OSSL_PARAM_INTEGER 1 macro
/openssl/apps/lib/
H A Dapp_params.c24 case OSSL_PARAM_INTEGER: in describe_param_type()
110 case OSSL_PARAM_INTEGER: in print_param_value()
/openssl/test/
H A Dparam_build_test.c149 || !TEST_uint_eq(p->data_type, OSSL_PARAM_INTEGER) in template_public_test()
156 || !TEST_uint_eq(p->data_type, OSSL_PARAM_INTEGER) in template_public_test()
162 || !TEST_uint_eq(p->data_type, OSSL_PARAM_INTEGER) in template_public_test()
169 || !TEST_uint_eq(p->data_type, OSSL_PARAM_INTEGER) in template_public_test()
176 || !TEST_uint_eq(p->data_type, OSSL_PARAM_INTEGER) in template_public_test()
211 || !TEST_uint_eq(p->data_type, OSSL_PARAM_INTEGER) in template_public_test()
373 || !TEST_uint_eq(p->data_type, OSSL_PARAM_INTEGER) in template_private_test()
H A Dparams_test.c354 { "p1", OSSL_PARAM_INTEGER, &app_p1, sizeof(app_p1), 0 },
557 OSSL_PARAM_DEFN("short", OSSL_PARAM_INTEGER, NULL, sizeof(int16_t)),
560 OSSL_PARAM_DEFN("num", OSSL_PARAM_INTEGER, NULL, 0),
H A Dparams_api_test.c81 case OSSL_PARAM_INTEGER: in test_param_type_null()
125 const int signd = param->data_type == OSSL_PARAM_INTEGER; in test_param_type_extra()
534 OSSL_PARAM param = OSSL_PARAM_DEFN("bn", OSSL_PARAM_INTEGER, NULL, 0); in test_param_signed_bignum()
/openssl/providers/
H A Dnullprov.c26 OSSL_PARAM_DEFN(OSSL_PROV_PARAM_STATUS, OSSL_PARAM_INTEGER, NULL, 0),
H A Dbaseprov.c41 OSSL_PARAM_DEFN(OSSL_PROV_PARAM_STATUS, OSSL_PARAM_INTEGER, NULL, 0),
H A Dlegacyprov.c58 OSSL_PARAM_DEFN(OSSL_PROV_PARAM_STATUS, OSSL_PARAM_INTEGER, NULL, 0),
H A Ddefltprov.c46 OSSL_PARAM_DEFN(OSSL_PROV_PARAM_STATUS, OSSL_PARAM_INTEGER, NULL, 0),
/openssl/crypto/evp/
H A Dctrl_params_translate.c445 case OSSL_PARAM_INTEGER: in default_fixup_args()
618 case OSSL_PARAM_INTEGER: in default_fixup_args()
668 case OSSL_PARAM_INTEGER: in default_fixup_args()
1311 case OSSL_PARAM_INTEGER: in fix_rsa_padding_mode()
1810 if (ctx->params->data_type != OSSL_PARAM_INTEGER) in get_payload_int()
2159 OSSL_PKEY_PARAM_DH_GENERATOR, OSSL_PARAM_INTEGER, NULL },
2201 OSSL_EXCHANGE_PARAM_EC_ECDH_COFACTOR_MODE, OSSL_PARAM_INTEGER,
2242 OSSL_EXCHANGE_PARAM_EC_ECDH_COFACTOR_MODE, OSSL_PARAM_INTEGER,
2342 OSSL_SIGNATURE_PARAM_PSS_SALTLEN, OSSL_PARAM_INTEGER, NULL },
2393 OSSL_KDF_PARAM_MODE, OSSL_PARAM_INTEGER, fix_hkdf_mode },
[all …]
/openssl/doc/man3/
H A DOSSL_PARAM_BLD.pod78 get the OSSL_PARAM type B<OSSL_PARAM_INTEGER> params.
86 When the I<bn> is negative, its OSSL_PARAM type becomes B<OSSL_PARAM_INTEGER>.
98 When the I<bn> is negative, its OSSL_PARAM type becomes B<OSSL_PARAM_INTEGER>.
H A DEVP_PKEY_gettable_params.pod40 An L<OSSL_PARAM(3)> of type B<OSSL_PARAM_INTEGER> or
H A DOSSL_PARAM_allocate_from_text.pod56 =item B<OSSL_PARAM_INTEGER> and B<OSSL_PARAM_UNSIGNED_INTEGER>
H A DOSSL_PARAM.pod157 =item B<OSSL_PARAM_INTEGER>
286 B<OSSL_PARAM_INTEGER>), a I<responder> may choose to return an error
H A DEVP_PKEY_fromdata.pod227 case OSSL_PARAM_INTEGER:
/openssl/fuzz/
H A Dprovider.c253 case OSSL_PARAM_INTEGER: in free_params()
294 case OSSL_PARAM_INTEGER: in fuzz_params()
/openssl/providers/implementations/asymciphers/
H A Drsa_enc.c373 case OSSL_PARAM_INTEGER: /* Support for legacy pad mode number */ in rsa_get_ctx_params()
505 case OSSL_PARAM_INTEGER: /* Support for legacy pad mode number */ in rsa_set_ctx_params()
/openssl/apps/
H A Dgenpkey.c67 case OSSL_PARAM_INTEGER: return "int"; in param_datatype_2name()
/openssl/providers/implementations/signature/
H A Drsa_sig.c1409 case OSSL_PARAM_INTEGER: in rsa_get_ctx_params()
1447 if (p->data_type == OSSL_PARAM_INTEGER) { in rsa_get_ctx_params()
1590 case OSSL_PARAM_INTEGER: /* Support for legacy pad mode number */ in rsa_set_ctx_params()
1676 case OSSL_PARAM_INTEGER: /* Support for legacy pad mode number */ in rsa_set_ctx_params()
/openssl/providers/fips/
H A Dfipsprov.c168 OSSL_PARAM_DEFN(OSSL_PROV_PARAM_STATUS, OSSL_PARAM_INTEGER, NULL, 0), in fips_gettable_params()
171 OSSL_PARAM_DEFN(OSSL_PROV_PARAM_##paramname, OSSL_PARAM_INTEGER, NULL, 0), in fips_gettable_params()
H A Dself_test_kats.c188 case OSSL_PARAM_INTEGER: { in add_params()

Completed in 78 milliseconds

12