/openssl/crypto/ |
H A D | params_from_text.c | 47 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 D | param_build.c | 124 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 D | params.c | 204 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 D | params.h | 32 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 D | core.h | 106 # define OSSL_PARAM_INTEGER 1 macro
|
/openssl/apps/lib/ |
H A D | app_params.c | 24 case OSSL_PARAM_INTEGER: in describe_param_type() 110 case OSSL_PARAM_INTEGER: in print_param_value()
|
/openssl/test/ |
H A D | param_build_test.c | 149 || !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 D | params_test.c | 354 { "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 D | params_api_test.c | 81 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 D | nullprov.c | 26 OSSL_PARAM_DEFN(OSSL_PROV_PARAM_STATUS, OSSL_PARAM_INTEGER, NULL, 0),
|
H A D | baseprov.c | 41 OSSL_PARAM_DEFN(OSSL_PROV_PARAM_STATUS, OSSL_PARAM_INTEGER, NULL, 0),
|
H A D | legacyprov.c | 58 OSSL_PARAM_DEFN(OSSL_PROV_PARAM_STATUS, OSSL_PARAM_INTEGER, NULL, 0),
|
H A D | defltprov.c | 46 OSSL_PARAM_DEFN(OSSL_PROV_PARAM_STATUS, OSSL_PARAM_INTEGER, NULL, 0),
|
/openssl/crypto/evp/ |
H A D | ctrl_params_translate.c | 445 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 D | OSSL_PARAM_BLD.pod | 78 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 D | EVP_PKEY_gettable_params.pod | 40 An L<OSSL_PARAM(3)> of type B<OSSL_PARAM_INTEGER> or
|
H A D | OSSL_PARAM_allocate_from_text.pod | 56 =item B<OSSL_PARAM_INTEGER> and B<OSSL_PARAM_UNSIGNED_INTEGER>
|
H A D | OSSL_PARAM.pod | 157 =item B<OSSL_PARAM_INTEGER> 286 B<OSSL_PARAM_INTEGER>), a I<responder> may choose to return an error
|
H A D | EVP_PKEY_fromdata.pod | 227 case OSSL_PARAM_INTEGER:
|
/openssl/fuzz/ |
H A D | provider.c | 253 case OSSL_PARAM_INTEGER: in free_params() 294 case OSSL_PARAM_INTEGER: in fuzz_params()
|
/openssl/providers/implementations/asymciphers/ |
H A D | rsa_enc.c | 373 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 D | genpkey.c | 67 case OSSL_PARAM_INTEGER: return "int"; in param_datatype_2name()
|
/openssl/providers/implementations/signature/ |
H A D | rsa_sig.c | 1409 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 D | fipsprov.c | 168 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 D | self_test_kats.c | 188 case OSSL_PARAM_INTEGER: { in add_params()
|