| /freebsd/crypto/openssl/providers/implementations/digests/ |
| H A D | digestcommon.c | 31 && !OSSL_PARAM_set_int(p, (flags & PROV_DIGEST_FLAG_XOF) != 0)) { in ossl_digest_default_get_params() 37 && !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 | 185 && !OSSL_PARAM_set_int(p, 8 * ossl_slh_dsa_key_get_pub_len(key))) in slh_dsa_get_params() 188 && !OSSL_PARAM_set_int(p, 8 * ossl_slh_dsa_key_get_n(key))) in slh_dsa_get_params() 191 && !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 | 333 && (empty || !OSSL_PARAM_set_int(p, RSA_bits(rsa)))) in rsa_get_params() 336 && (empty || !OSSL_PARAM_set_int(p, RSA_security_bits(rsa)))) in rsa_get_params() 339 && (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 | 303 && !OSSL_PARAM_set_int(p, bits)) in ecx_get_params() 306 && !OSSL_PARAM_set_int(p, secbits)) in ecx_get_params() 309 && !OSSL_PARAM_set_int(p, size)) in ecx_get_params() 323 if (p != NULL && !OSSL_PARAM_set_int(p, approved)) in ecx_get_params()
|
| H A D | mlx_kmgmt.c | 501 if (!OSSL_PARAM_set_int(p, key->minfo->bits)) in mlx_kem_get_params() 507 if (!OSSL_PARAM_set_int(p, key->minfo->secbits)) in mlx_kem_get_params() 513 if (!OSSL_PARAM_set_int(p, key->minfo->ctext_bytes + key->xinfo->pubkey_bytes)) in mlx_kem_get_params()
|
| H A D | ml_kem_kmgmt.c | 571 if (!OSSL_PARAM_set_int(p, v->bits)) in ml_kem_get_params() 576 if (!OSSL_PARAM_set_int(p, v->secbits)) in ml_kem_get_params() 581 if (!OSSL_PARAM_set_int(p, v->ctext_bytes)) in ml_kem_get_params()
|
| H A D | dh_kmgmt.c | 321 && !OSSL_PARAM_set_int(p, DH_bits(dh))) in dh_get_params() 324 && !OSSL_PARAM_set_int(p, DH_security_bits(dh))) in dh_get_params() 327 && !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 | 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 | 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_jitter.c | 236 if (p != NULL && !OSSL_PARAM_set_int(p, s->state)) in jitter_get_ctx_params() 240 if (p != NULL && !OSSL_PARAM_set_int(p, 1024)) in jitter_get_ctx_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/implementations/ciphers/ |
| H A D | ciphercommon.c | 56 && !OSSL_PARAM_set_int(p, (flags & PROV_CIPHER_FLAG_AEAD) != 0)) { in ossl_cipher_generic_get_params() 62 && !OSSL_PARAM_set_int(p, (flags & PROV_CIPHER_FLAG_CUSTOM_IV) != 0)) { in ossl_cipher_generic_get_params() 68 && !OSSL_PARAM_set_int(p, (flags & PROV_CIPHER_FLAG_CTS) != 0)) { in ossl_cipher_generic_get_params() 74 && !OSSL_PARAM_set_int(p, (flags & PROV_CIPHER_FLAG_TLS1_MULTIBLOCK) != 0)) { in ossl_cipher_generic_get_params() 80 && !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/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 | 65 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()
|
| /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()
|