/freebsd/crypto/openssl/crypto/ffc/ |
H A D | ffc_backend.c | 30 prm = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_GROUP_NAME); in ossl_ffc_params_fromdata() 47 param_p = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_FFC_P); in ossl_ffc_params_fromdata() 48 param_g = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_FFC_G); in ossl_ffc_params_fromdata() 49 param_q = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_FFC_Q); in ossl_ffc_params_fromdata() 56 prm = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_FFC_GINDEX); in ossl_ffc_params_fromdata() 62 prm = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_FFC_PCOUNTER); in ossl_ffc_params_fromdata() 68 prm = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_FFC_COFACTOR); in ossl_ffc_params_fromdata() 71 prm = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_FFC_H); in ossl_ffc_params_fromdata() 77 prm = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_FFC_SEED); in ossl_ffc_params_fromdata() 84 prm = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_FFC_VALIDATE_PQ); in ossl_ffc_params_fromdata() [all …]
|
/freebsd/crypto/openssl/crypto/rsa/ |
H A D | rsa_acvp_test_params.c | 33 p = OSSL_PARAM_locate_const(src, settable[0].key); in ossl_rsa_acvp_test_gen_params_new() 45 p = OSSL_PARAM_locate_const(src, s->key); in ossl_rsa_acvp_test_gen_params_new() 94 if ((p = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_RSA_TEST_XP1)) != NULL in ossl_rsa_acvp_test_set_params() 97 if ((p = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_RSA_TEST_XP2)) != NULL in ossl_rsa_acvp_test_set_params() 100 if ((p = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_RSA_TEST_XP)) != NULL in ossl_rsa_acvp_test_set_params() 103 if ((p = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_RSA_TEST_XQ1)) != NULL in ossl_rsa_acvp_test_set_params() 106 if ((p = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_RSA_TEST_XQ2)) != NULL in ossl_rsa_acvp_test_set_params() 109 if ((p = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_RSA_TEST_XQ)) != NULL in ossl_rsa_acvp_test_set_params()
|
H A D | rsa_backend.c | 48 p = OSSL_PARAM_locate_const(params, names[i]); in DEFINE_STACK_OF() 74 param_n = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_RSA_N); in ossl_rsa_fromdata() 75 param_e = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_RSA_E); in ossl_rsa_fromdata() 77 param_d = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_RSA_D); in ossl_rsa_fromdata() 231 OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_RSA_DIGEST_PROPS); in ossl_rsa_pss_params_30_fromdata() 233 OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_RSA_DIGEST); in ossl_rsa_pss_params_30_fromdata() 235 OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_RSA_MASKGENFUNC); in ossl_rsa_pss_params_30_fromdata() 237 OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_RSA_MGF1_DIGEST); in ossl_rsa_pss_params_30_fromdata() 239 OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_RSA_PSS_SALTLEN); in ossl_rsa_pss_params_30_fromdata()
|
/freebsd/crypto/openssl/test/ |
H A D | keymgmt_internal_test.c | 109 if (!TEST_ptr(p = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_RSA_N)) in export_cb() 111 || !TEST_ptr(p = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_RSA_E)) in export_cb() 113 || !TEST_ptr(p = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_RSA_D)) in export_cb() 117 if (!TEST_ptr(p = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_RSA_FACTOR1)) in export_cb() 119 || !TEST_ptr(p = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_RSA_FACTOR2)) in export_cb() 121 || !TEST_ptr(p = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_RSA_FACTOR3)) in export_cb() 125 if (!TEST_ptr(p = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_RSA_EXPONENT1)) in export_cb() 127 || !TEST_ptr(p = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_RSA_EXPONENT2)) in export_cb() 129 || !TEST_ptr(p = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_RSA_EXPONENT3)) in export_cb() 133 if (!TEST_ptr(p = OSSL_PARAM_locate_const(param in export_cb() [all...] |
H A D | provider_status_test.c | 60 p = OSSL_PARAM_locate_const(params, OSSL_PROV_PARAM_SELF_TEST_PHASE); in self_test_events() 65 p = OSSL_PARAM_locate_const(params, OSSL_PROV_PARAM_SELF_TEST_DESC); in self_test_events() 70 p = OSSL_PARAM_locate_const(params, OSSL_PROV_PARAM_SELF_TEST_TYPE); in self_test_events() 115 || !TEST_ptr(p = OSSL_PARAM_locate_const(gettable, OSSL_PROV_PARAM_NAME)) in get_provider_params() 116 || !TEST_ptr(p = OSSL_PARAM_locate_const(gettable, OSSL_PROV_PARAM_VERSION)) in get_provider_params() 117 || !TEST_ptr(p = OSSL_PARAM_locate_const(gettable, OSSL_PROV_PARAM_STATUS)) in get_provider_params() 118 || !TEST_ptr(p = OSSL_PARAM_locate_const(gettable, OSSL_PROV_PARAM_BUILDINFO))) in get_provider_params()
|
/freebsd/crypto/openssl/providers/implementations/keymgmt/ |
H A D | dh_kmgmt.c | 372 p = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_ENCODED_PUBLIC_KEY); in dh_set_params() 533 p = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_FFC_TYPE); in dh_gen_common_set_params() 542 p = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_GROUP_NAME); in dh_gen_common_set_params() 555 if ((p = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_FFC_PBITS)) != NULL in dh_gen_common_set_params() 558 p = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_DH_PRIV_LEN); in dh_gen_common_set_params() 607 p = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_FFC_GINDEX); in dhx_gen_set_params() 610 p = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_FFC_PCOUNTER); in dhx_gen_set_params() 613 p = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_FFC_H); in dhx_gen_set_params() 616 p = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_FFC_SEED); in dhx_gen_set_params() 621 if ((p = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_FFC_QBITS)) != NULL in dhx_gen_set_params() [all …]
|
H A D | dsa_kmgmt.c | 472 p = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_FFC_TYPE); in dsa_gen_set_params() 480 p = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_FFC_GINDEX); in dsa_gen_set_params() 484 p = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_FFC_PCOUNTER); in dsa_gen_set_params() 488 p = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_FFC_H); in dsa_gen_set_params() 492 p = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_FFC_SEED); in dsa_gen_set_params() 497 if ((p = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_FFC_PBITS)) != NULL in dsa_gen_set_params() 500 if ((p = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_FFC_QBITS)) != NULL in dsa_gen_set_params() 503 p = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_FFC_DIGEST); in dsa_gen_set_params() 512 p = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_FFC_DIGEST_PROPS); in dsa_gen_set_params()
|
/freebsd/crypto/openssl/providers/common/ |
H A D | provider_util.c | 57 p = OSSL_PARAM_locate_const(params, OSSL_ALG_PARAM_PROPERTIES); in load_common() 70 p = OSSL_PARAM_locate_const(params, OSSL_ALG_PARAM_ENGINE); in load_common() 104 p = OSSL_PARAM_locate_const(params, OSSL_ALG_PARAM_CIPHER); in ossl_prov_cipher_load_from_params() 189 p = OSSL_PARAM_locate_const(params, OSSL_ALG_PARAM_DIGEST); in ossl_prov_digest_load_from_params() 238 if ((p = OSSL_PARAM_locate_const(params, in ossl_prov_set_macctx() 246 if ((p = OSSL_PARAM_locate_const(params, in ossl_prov_set_macctx() 254 if ((p = OSSL_PARAM_locate_const(params, OSSL_ALG_PARAM_ENGINE)) in ossl_prov_set_macctx() 301 && (p = OSSL_PARAM_locate_const(params, OSSL_ALG_PARAM_MAC)) != NULL) { in ossl_prov_macctx_load_from_params() 306 if ((p = OSSL_PARAM_locate_const(params, in ossl_prov_macctx_load_from_params()
|
/freebsd/crypto/openssl/crypto/ec/ |
H A D | ec_backend.c | 183 param_p = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_EC_P); in ec_group_explicit_todata() 184 param_a = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_EC_A); in ec_group_explicit_todata() 185 param_b = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_EC_B); in ec_group_explicit_todata() 209 param = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_EC_ORDER); in ec_group_explicit_todata() 224 param = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_EC_FIELD_TYPE); in ec_group_explicit_todata() 234 param = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_EC_GENERATOR); in ec_group_explicit_todata() 257 param = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_EC_COFACTOR); in ec_group_explicit_todata() 269 param = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_EC_SEED); in ec_group_explicit_todata() 412 OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_PUB_KEY); in ossl_ec_key_fromdata() 415 OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_PRIV_KEY); in ossl_ec_key_fromdata() [all …]
|
/freebsd/crypto/openssl/providers/implementations/ciphers/ |
H A D | cipher_aes_cbc_hmac_sha.c | 100 p = OSSL_PARAM_locate_const(params, OSSL_CIPHER_PARAM_AEAD_MAC_KEY); in aes_set_ctx_params() 110 p = OSSL_PARAM_locate_const(params, in aes_set_ctx_params() 126 p = OSSL_PARAM_locate_const(params, OSSL_CIPHER_PARAM_TLS1_MULTIBLOCK_AAD); in aes_set_ctx_params() 128 const OSSL_PARAM *p1 = OSSL_PARAM_locate_const(params, in aes_set_ctx_params() 151 p = OSSL_PARAM_locate_const(params, OSSL_CIPHER_PARAM_TLS1_MULTIBLOCK_ENC); in aes_set_ctx_params() 153 const OSSL_PARAM *p1 = OSSL_PARAM_locate_const(params, in aes_set_ctx_params() 155 const OSSL_PARAM *pin = OSSL_PARAM_locate_const(params, in aes_set_ctx_params() 174 p = OSSL_PARAM_locate_const(params, OSSL_CIPHER_PARAM_AEAD_TLS1_AAD); in aes_set_ctx_params() 184 p = OSSL_PARAM_locate_const(params, OSSL_CIPHER_PARAM_KEYLEN); in aes_set_ctx_params() 198 p = OSSL_PARAM_locate_const(params, OSSL_CIPHER_PARAM_TLS_VERSION); in aes_set_ctx_params()
|
H A D | cipher_rc4_hmac_md5.c | 159 p = OSSL_PARAM_locate_const(params, OSSL_CIPHER_PARAM_KEYLEN); in rc4_hmac_md5_set_ctx_params() 171 p = OSSL_PARAM_locate_const(params, OSSL_CIPHER_PARAM_IVLEN); in rc4_hmac_md5_set_ctx_params() 183 p = OSSL_PARAM_locate_const(params, OSSL_CIPHER_PARAM_AEAD_TLS1_AAD); in rc4_hmac_md5_set_ctx_params() 196 p = OSSL_PARAM_locate_const(params, OSSL_CIPHER_PARAM_AEAD_MAC_KEY); in rc4_hmac_md5_set_ctx_params() 204 p = OSSL_PARAM_locate_const(params, OSSL_CIPHER_PARAM_TLS_VERSION); in rc4_hmac_md5_set_ctx_params()
|
H A D | cipher_chacha20_poly1305.c | 173 p = OSSL_PARAM_locate_const(params, OSSL_CIPHER_PARAM_KEYLEN); in chacha20_poly1305_set_ctx_params() 184 p = OSSL_PARAM_locate_const(params, OSSL_CIPHER_PARAM_IVLEN); in chacha20_poly1305_set_ctx_params() 196 p = OSSL_PARAM_locate_const(params, OSSL_CIPHER_PARAM_AEAD_TAG); in chacha20_poly1305_set_ctx_params() 216 p = OSSL_PARAM_locate_const(params, OSSL_CIPHER_PARAM_AEAD_TLS1_AAD); in chacha20_poly1305_set_ctx_params() 230 p = OSSL_PARAM_locate_const(params, OSSL_CIPHER_PARAM_AEAD_TLS1_IV_FIXED); in chacha20_poly1305_set_ctx_params()
|
/freebsd/crypto/openssl/providers/implementations/kdfs/ |
H A D | x942kdf.c | 482 p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_SECRET); in x942kdf_set_ctx_params() 484 p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_KEY); in x942kdf_set_ctx_params() 488 p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_X942_ACVPINFO); in x942kdf_set_ctx_params() 493 p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_X942_PARTYUINFO); in x942kdf_set_ctx_params() 495 p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_UKM); in x942kdf_set_ctx_params() 500 p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_X942_PARTYVINFO); in x942kdf_set_ctx_params() 505 p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_X942_USE_KEYBITS); in x942kdf_set_ctx_params() 509 p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_X942_SUPP_PUBINFO); in x942kdf_set_ctx_params() 516 p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_X942_SUPP_PRIVINFO); in x942kdf_set_ctx_params() 521 p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_CEK_ALG); in x942kdf_set_ctx_params() [all …]
|
H A D | kbkdf.c | 300 p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_MODE); in kbkdf_set_ctx_params() 312 p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_KEY); in kbkdf_set_ctx_params() 316 p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_SALT); in kbkdf_set_ctx_params() 320 p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_INFO); in kbkdf_set_ctx_params() 324 p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_SEED); in kbkdf_set_ctx_params() 328 p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_KBKDF_USE_L); in kbkdf_set_ctx_params() 332 p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_KBKDF_USE_SEPARATOR); in kbkdf_set_ctx_params()
|
H A D | scrypt.c | 194 if ((p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_PASSWORD)) != NULL) in kdf_scrypt_set_ctx_params() 198 if ((p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_SALT)) != NULL) in kdf_scrypt_set_ctx_params() 202 if ((p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_SCRYPT_N)) in kdf_scrypt_set_ctx_params() 211 if ((p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_SCRYPT_R)) in kdf_scrypt_set_ctx_params() 218 if ((p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_SCRYPT_P)) in kdf_scrypt_set_ctx_params() 225 if ((p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_SCRYPT_MAXMEM)) in kdf_scrypt_set_ctx_params() 232 p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_PROPERTIES); in kdf_scrypt_set_ctx_params()
|
H A D | hkdf.c | 201 if ((p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_MODE)) != NULL) { in hkdf_common_set_ctx_params() 227 if ((p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_KEY)) != NULL) { in hkdf_common_set_ctx_params() 235 if ((p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_SALT)) != NULL) { in hkdf_common_set_ctx_params() 266 for (; p != NULL; p = OSSL_PARAM_locate_const(p + 1, OSSL_KDF_PARAM_INFO)) { in setinfo_fromparams() 295 if ((p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_INFO)) != NULL) { in kdf_hkdf_set_ctx_params() 741 if ((p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_PREFIX)) != NULL) { in kdf_tls1_3_set_ctx_params() 749 if ((p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_LABEL)) != NULL) { in kdf_tls1_3_set_ctx_params() 759 if ((p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_DATA)) != NULL in kdf_tls1_3_set_ctx_params()
|
H A D | sshkdf.c | 147 if ((p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_KEY)) != NULL) in kdf_sshkdf_set_ctx_params() 151 if ((p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_SSHKDF_XCGHASH)) in kdf_sshkdf_set_ctx_params() 156 if ((p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_SSHKDF_SESSION_ID)) in kdf_sshkdf_set_ctx_params() 161 if ((p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_SSHKDF_TYPE)) in kdf_sshkdf_set_ctx_params()
|
H A D | pbkdf2.c | 183 if ((p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_PKCS5)) != NULL) { in kdf_pbkdf2_set_ctx_params() 189 if ((p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_PASSWORD)) != NULL) in kdf_pbkdf2_set_ctx_params() 193 if ((p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_SALT)) != NULL) { in kdf_pbkdf2_set_ctx_params() 203 if ((p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_ITER)) != NULL) { in kdf_pbkdf2_set_ctx_params()
|
H A D | pkcs12kdf.c | 236 if ((p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_PASSWORD)) != NULL) in kdf_pkcs12_set_ctx_params() 240 if ((p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_SALT)) != NULL) in kdf_pkcs12_set_ctx_params() 244 if ((p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_PKCS12_ID)) != NULL) in kdf_pkcs12_set_ctx_params() 248 if ((p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_ITER)) != NULL) in kdf_pkcs12_set_ctx_params()
|
/freebsd/crypto/openssl/providers/implementations/asymciphers/ |
H A D | rsa_enc.c | 437 p = OSSL_PARAM_locate_const(params, OSSL_ASYM_CIPHER_PARAM_OAEP_DIGEST); in rsa_set_ctx_params() 443 p = OSSL_PARAM_locate_const(params, in rsa_set_ctx_params() 458 p = OSSL_PARAM_locate_const(params, OSSL_ASYM_CIPHER_PARAM_PAD_MODE); in rsa_set_ctx_params() 500 p = OSSL_PARAM_locate_const(params, OSSL_ASYM_CIPHER_PARAM_MGF1_DIGEST); in rsa_set_ctx_params() 506 p = OSSL_PARAM_locate_const(params, in rsa_set_ctx_params() 523 p = OSSL_PARAM_locate_const(params, OSSL_ASYM_CIPHER_PARAM_OAEP_LABEL); in rsa_set_ctx_params() 535 p = OSSL_PARAM_locate_const(params, OSSL_ASYM_CIPHER_PARAM_TLS_CLIENT_VERSION); in rsa_set_ctx_params() 544 p = OSSL_PARAM_locate_const(params, OSSL_ASYM_CIPHER_PARAM_TLS_NEGOTIATED_VERSION); in rsa_set_ctx_params()
|
/freebsd/crypto/openssl/providers/implementations/exchange/ |
H A D | dh_exch.c | 322 p = OSSL_PARAM_locate_const(params, OSSL_EXCHANGE_PARAM_KDF_TYPE); in dh_set_ctx_params() 335 p = OSSL_PARAM_locate_const(params, OSSL_EXCHANGE_PARAM_KDF_DIGEST); in dh_set_ctx_params() 344 p = OSSL_PARAM_locate_const(params, in dh_set_ctx_params() 362 p = OSSL_PARAM_locate_const(params, OSSL_EXCHANGE_PARAM_KDF_OUTLEN); in dh_set_ctx_params() 371 p = OSSL_PARAM_locate_const(params, OSSL_EXCHANGE_PARAM_KDF_UKM); in dh_set_ctx_params() 388 p = OSSL_PARAM_locate_const(params, OSSL_EXCHANGE_PARAM_PAD); in dh_set_ctx_params() 395 p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_CEK_ALG); in dh_set_ctx_params()
|
H A D | ecdh_exch.c | 240 p = OSSL_PARAM_locate_const(params, OSSL_EXCHANGE_PARAM_EC_ECDH_COFACTOR_MODE); in ecdh_set_ctx_params() 253 p = OSSL_PARAM_locate_const(params, OSSL_EXCHANGE_PARAM_KDF_TYPE); in ecdh_set_ctx_params() 267 p = OSSL_PARAM_locate_const(params, OSSL_EXCHANGE_PARAM_KDF_DIGEST); in ecdh_set_ctx_params() 276 p = OSSL_PARAM_locate_const(params, in ecdh_set_ctx_params() 294 p = OSSL_PARAM_locate_const(params, OSSL_EXCHANGE_PARAM_KDF_OUTLEN); in ecdh_set_ctx_params() 303 p = OSSL_PARAM_locate_const(params, OSSL_EXCHANGE_PARAM_KDF_UKM); in ecdh_set_ctx_params()
|
/freebsd/crypto/openssl/providers/implementations/macs/ |
H A D | blake2_mac_impl.c | 197 if ((p = OSSL_PARAM_locate_const(params, OSSL_MAC_PARAM_SIZE)) != NULL) { in blake2_mac_set_ctx_params() 209 if ((p = OSSL_PARAM_locate_const(params, OSSL_MAC_PARAM_KEY)) != NULL in blake2_mac_set_ctx_params() 213 if ((p = OSSL_PARAM_locate_const(params, OSSL_MAC_PARAM_CUSTOM)) in blake2_mac_set_ctx_params() 226 if ((p = OSSL_PARAM_locate_const(params, OSSL_MAC_PARAM_SALT)) != NULL) { in blake2_mac_set_ctx_params()
|
H A D | siphash_prov.c | 204 if ((p = OSSL_PARAM_locate_const(params, OSSL_MAC_PARAM_SIZE)) != NULL) { in siphash_set_params() 210 if ((p = OSSL_PARAM_locate_const(params, OSSL_MAC_PARAM_C_ROUNDS)) != NULL in siphash_set_params() 213 if ((p = OSSL_PARAM_locate_const(params, OSSL_MAC_PARAM_D_ROUNDS)) != NULL in siphash_set_params() 216 if ((p = OSSL_PARAM_locate_const(params, OSSL_MAC_PARAM_KEY)) != NULL) in siphash_set_params()
|
/freebsd/crypto/openssl/providers/implementations/rands/ |
H A D | test_rng.c | 181 p = OSSL_PARAM_locate_const(params, OSSL_RAND_PARAM_STRENGTH); in test_rng_set_ctx_params() 185 p = OSSL_PARAM_locate_const(params, OSSL_RAND_PARAM_TEST_ENTROPY); in test_rng_set_ctx_params() 196 p = OSSL_PARAM_locate_const(params, OSSL_RAND_PARAM_TEST_NONCE); in test_rng_set_ctx_params() 205 p = OSSL_PARAM_locate_const(params, OSSL_RAND_PARAM_MAX_REQUEST); in test_rng_set_ctx_params()
|