Home
last modified time | relevance | path

Searched refs:OSSL_PARAM_set_int (Results 1 – 25 of 46) sorted by relevance

12

/freebsd/crypto/openssl/providers/implementations/digests/
H A Ddigestcommon.c31 && !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 Dfuzz_rand.c82 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 Dtemplate_kmgmt.c262 && !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 Dslh_dsa_kmgmt.c185 && !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 Dml_dsa_kmgmt.c331 && !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 Drsa_kmgmt.c333 && (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 Ddsa_kmgmt.c319 && !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 Dec_kmgmt.c645 && !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 Decx_kmgmt.c303 && !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 Dmlx_kmgmt.c501 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 Dml_kem_kmgmt.c571 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 Ddh_kmgmt.c321 && !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 Dtest_rng.c189 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 Dseed_src.c150 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 Dfips_crng_test.c374 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 Dseed_src_jitter.c236 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 Dfake_random.c102 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 Dciphercommon.c56 && !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 Dcipher_tdes_common.c196 if (p != NULL && !OSSL_PARAM_set_int(p, decrypt_only)) { in ossl_tdes_get_params()
/freebsd/crypto/openssl/providers/
H A Dnullprov.c49 if (p != NULL && !OSSL_PARAM_set_int(p, ossl_prov_is_running())) in null_get_params()
H A Dbaseprov.c65 if (p != NULL && !OSSL_PARAM_set_int(p, ossl_prov_is_running())) in base_get_params()
/freebsd/crypto/openssl/providers/fips/
H A Dfipsindicator.c98 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 Dhmac_prov.c292 && !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 Dparam_build_set.c29 return OSSL_PARAM_set_int(p, num); in DEFINE_SPECIAL_STACK_OF_CONST()
/freebsd/crypto/openssl/providers/implementations/exchange/
H A Decx_exch.c197 if (p != NULL && !OSSL_PARAM_set_int(p, approved)) in ecx_get_ctx_params()

12