| /freebsd/crypto/openssl/providers/implementations/digests/ |
| H A D | digestcommon.c | 32 && !OSSL_PARAM_set_int(p, (flags & PROV_DIGEST_FLAG_XOF) != 0)) { in ossl_digest_default_get_params() 38 && !OSSL_PARAM_set_int(p, (flags & PROV_DIGEST_FLAG_ALGID_ABSENT) != 0)) { in ossl_digest_default_get_params()
|
| /freebsd/crypto/openssl/fuzz/ |
| H A D | fuzz_rand.c | 82 if (p != NULL && !OSSL_PARAM_set_int(p, *(int *)vrng)) in fuzz_rand_get_ctx_params() 86 if (p != NULL && !OSSL_PARAM_set_int(p, 500)) in fuzz_rand_get_ctx_params()
|
| /freebsd/crypto/openssl/providers/implementations/keymgmt/ |
| H A D | template_kmgmt.c | 262 && !OSSL_PARAM_set_int(p, 0)) in template_get_params() 265 && !OSSL_PARAM_set_int(p, 0)) in template_get_params() 268 && !OSSL_PARAM_set_int(p, 0)) in template_get_params()
|
| H A D | slh_dsa_kmgmt.c | 186 && !OSSL_PARAM_set_int(p, 8 * ossl_slh_dsa_key_get_pub_len(key))) in slh_dsa_get_params() 189 && !OSSL_PARAM_set_int(p, 8 * ossl_slh_dsa_key_get_n(key))) in slh_dsa_get_params() 192 && !OSSL_PARAM_set_int(p, ossl_slh_dsa_key_get_sig_len(key))) in slh_dsa_get_params()
|
| H A D | ml_dsa_kmgmt.c | 331 && !OSSL_PARAM_set_int(p, 8 * ossl_ml_dsa_key_get_pub_len(key))) in ml_dsa_get_params() 334 && !OSSL_PARAM_set_int(p, ossl_ml_dsa_key_get_collision_strength_bits(key))) in ml_dsa_get_params() 337 && !OSSL_PARAM_set_int(p, ossl_ml_dsa_key_get_sig_len(key))) in ml_dsa_get_params()
|
| H A D | rsa_kmgmt.c | 337 && (empty || !OSSL_PARAM_set_int(p, RSA_bits(rsa)))) in rsa_get_params() 340 && (empty || !OSSL_PARAM_set_int(p, RSA_security_bits(rsa)))) in rsa_get_params() 343 && (empty || !OSSL_PARAM_set_int(p, RSA_size(rsa)))) in rsa_get_params()
|
| H A D | dsa_kmgmt.c | 319 && !OSSL_PARAM_set_int(p, DSA_bits(dsa))) in dsa_get_params() 322 && !OSSL_PARAM_set_int(p, DSA_security_bits(dsa))) in dsa_get_params() 325 && !OSSL_PARAM_set_int(p, DSA_size(dsa))) in dsa_get_params()
|
| H A D | ec_kmgmt.c | 645 && !OSSL_PARAM_set_int(p, ECDSA_size(eck))) in common_get_params() 648 && !OSSL_PARAM_set_int(p, EC_GROUP_order_bits(ecg))) in common_get_params() 684 if (!OSSL_PARAM_set_int(p, sec_bits)) in common_get_params() 694 || !OSSL_PARAM_set_int(p, explicitparams)) in common_get_params() 716 if (!OSSL_PARAM_set_int(p, ecdh_cofactor_mode)) in common_get_params()
|
| H A D | ecx_kmgmt.c | 116 return p == NULL || OSSL_PARAM_set_int(p, ecx_key_type_is_ed(gctx->type)); in x448_new_key() 318 && !OSSL_PARAM_set_int(p, bits)) in ecx_get_params() 321 && !OSSL_PARAM_set_int(p, secbits)) in ecx_get_params() 324 && !OSSL_PARAM_set_int(p, size)) in ecx_get_params() 338 if (p != NULL && !OSSL_PARAM_set_int(p, approved)) in ed_get_params()
|
| H A D | mlx_kmgmt.c | 508 if (!OSSL_PARAM_set_int(p, key->minfo->bits)) in mlx_kem_get_params() 514 if (!OSSL_PARAM_set_int(p, key->minfo->secbits)) in mlx_kem_get_params() 520 if (!OSSL_PARAM_set_int(p, key->minfo->ctext_bytes + key->xinfo->pubkey_bytes)) in mlx_kem_get_params() 710 if (!OSSL_PARAM_set_int(p, approved)) in mlx_kem_gen()
|
| H A D | ml_kem_kmgmt.c | 578 if (!OSSL_PARAM_set_int(p, v->bits)) in ml_kem_get_params() 583 if (!OSSL_PARAM_set_int(p, v->secbits)) in ml_kem_get_params() 588 if (!OSSL_PARAM_set_int(p, v->ctext_bytes)) in ml_kem_get_params()
|
| H A D | dh_kmgmt.c | 322 && !OSSL_PARAM_set_int(p, DH_bits(dh))) in dh_get_params() 325 && !OSSL_PARAM_set_int(p, DH_security_bits(dh))) in dh_get_params() 328 && !OSSL_PARAM_set_int(p, DH_size(dh))) in dh_get_params()
|
| /freebsd/crypto/openssl/providers/implementations/rands/ |
| H A D | test_rng.c | 189 if (p != NULL && !OSSL_PARAM_set_int(p, t->state)) in test_rng_get_ctx_params() 193 if (p != NULL && !OSSL_PARAM_set_int(p, t->strength)) in test_rng_get_ctx_params() 206 if (p != NULL && !OSSL_PARAM_set_int(p, 0)) in test_rng_get_ctx_params()
|
| H A D | fips_crng_test.c | 374 if (p != NULL && !OSSL_PARAM_set_int(p, crngt->state)) in crng_test_get_ctx_params() 378 if (p != NULL && !OSSL_PARAM_set_int(p, 1024)) in crng_test_get_ctx_params() 386 if (p != NULL && !OSSL_PARAM_set_int(p, 0)) in crng_test_get_ctx_params()
|
| H A D | seed_src.c | 150 if (p != NULL && !OSSL_PARAM_set_int(p, s->state)) in seed_src_get_ctx_params() 154 if (p != NULL && !OSSL_PARAM_set_int(p, 1024)) in seed_src_get_ctx_params()
|
| H A D | seed_src_jitter.c | 237 if (p != NULL && !OSSL_PARAM_set_int(p, s->state)) in jitter_get_ctx_params() 241 if (p != NULL && !OSSL_PARAM_set_int(p, 1024)) in jitter_get_ctx_params()
|
| /freebsd/crypto/openssl/providers/implementations/ciphers/ |
| H A D | ciphercommon.c | 57 && !OSSL_PARAM_set_int(p, (flags & PROV_CIPHER_FLAG_AEAD) != 0)) { in ossl_cipher_generic_get_params() 63 && !OSSL_PARAM_set_int(p, (flags & PROV_CIPHER_FLAG_CUSTOM_IV) != 0)) { in ossl_cipher_generic_get_params() 69 && !OSSL_PARAM_set_int(p, (flags & PROV_CIPHER_FLAG_CTS) != 0)) { in ossl_cipher_generic_get_params() 75 && !OSSL_PARAM_set_int(p, (flags & PROV_CIPHER_FLAG_TLS1_MULTIBLOCK) != 0)) { in ossl_cipher_generic_get_params() 81 && !OSSL_PARAM_set_int(p, (flags & PROV_CIPHER_FLAG_RAND_KEY) != 0)) { in ossl_cipher_generic_get_params()
|
| H A D | cipher_tdes_common.c | 196 if (p != NULL && !OSSL_PARAM_set_int(p, decrypt_only)) { in ossl_tdes_get_params()
|
| /freebsd/crypto/openssl/test/testutil/ |
| H A D | fake_random.c | 102 if (p != NULL && !OSSL_PARAM_set_int(p, frng->state)) in fake_rand_get_ctx_params() 106 if (p != NULL && !OSSL_PARAM_set_int(p, 256)) in fake_rand_get_ctx_params()
|
| /freebsd/crypto/openssl/providers/ |
| H A D | nullprov.c | 49 if (p != NULL && !OSSL_PARAM_set_int(p, ossl_prov_is_running())) in null_get_params()
|
| H A D | baseprov.c | 61 if (p != NULL && !OSSL_PARAM_set_int(p, ossl_prov_is_running())) in base_get_params()
|
| /freebsd/crypto/openssl/providers/fips/ |
| H A D | fipsindicator.c | 98 return p == NULL || OSSL_PARAM_set_int(p, ind->approved); in ossl_FIPS_IND_get_ctx_param() 107 return p == NULL || OSSL_PARAM_set_int(p, condition && (ind == NULL || ind->approved)); in ossl_FIPS_IND_callback() 127 return p == NULL || OSSL_PARAM_set_int(p, 1);
|
| /freebsd/crypto/openssl/providers/implementations/macs/ |
| H A D | hmac_prov.c | 292 && !OSSL_PARAM_set_int(p, hmac_block_size(macctx))) in hmac_get_ctx_params() 302 if (!OSSL_PARAM_set_int(p, approved)) in hmac_get_ctx_params()
|
| /freebsd/crypto/openssl/crypto/ |
| H A D | param_build_set.c | 29 return OSSL_PARAM_set_int(p, num); in DEFINE_SPECIAL_STACK_OF_CONST()
|
| /freebsd/crypto/openssl/providers/implementations/exchange/ |
| H A D | ecx_exch.c | 197 if (p != NULL && !OSSL_PARAM_set_int(p, approved)) in ecx_get_ctx_params()
|