Home
last modified time | relevance | path

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

12

/freebsd/crypto/openssl/crypto/ec/
H A Decx_backend.c74 if (!OSSL_PARAM_get_octet_string(param_priv_key, in ossl_ecx_key_fromdata()
93 && !OSSL_PARAM_get_octet_string(param_pub_key, in ossl_ecx_key_fromdata()
/freebsd/crypto/openssl/providers/implementations/kdfs/
H A Dhkdf.c304 if (!OSSL_PARAM_get_octet_string(p, (void **)&ctx->key, 0, in hkdf_common_set_ctx_params()
312 if (!OSSL_PARAM_get_octet_string(p, (void **)&ctx->salt, 0, in hkdf_common_set_ctx_params()
863 if (!OSSL_PARAM_get_octet_string(p, (void **)&ctx->prefix, 0, in kdf_tls1_3_set_ctx_params()
871 if (!OSSL_PARAM_get_octet_string(p, (void **)&ctx->label, 0, in kdf_tls1_3_set_ctx_params()
879 && !OSSL_PARAM_get_octet_string(p, (void **)&ctx->data, 0, in kdf_tls1_3_set_ctx_params()
H A Dhmacdrbg_kdf.c193 if (!OSSL_PARAM_get_octet_string(p, &ptr, 0, &size)) in hmac_drbg_kdf_set_ctx_params()
204 if (!OSSL_PARAM_get_octet_string(p, &ptr, 0, &size)) in hmac_drbg_kdf_set_ctx_params()
H A Dpvkkdf.c127 if (!OSSL_PARAM_get_octet_string(p, (void **)buffer, 0, buflen)) in pvk_set_membuf()
H A Dpbkdf1.c171 if (!OSSL_PARAM_get_octet_string(p, (void **)buffer, 0, buflen)) in kdf_pbkdf1_set_membuf()
H A Dargon2.c1245 if (!OSSL_PARAM_get_octet_string(p, (void **)&ctx->secret, 0, &buflen)) in kdf_argon2_ctx_set_secret()
1272 if (!OSSL_PARAM_get_octet_string(p, (void **)&ctx->pwd, 0, &buflen)) in kdf_argon2_ctx_set_pwd()
1304 if (!OSSL_PARAM_get_octet_string(p, (void **)&ctx->salt, 0, &buflen)) in kdf_argon2_ctx_set_salt()
1342 if (!OSSL_PARAM_get_octet_string(p, (void **)&ctx->ad, 0, &buflen)) in kdf_argon2_ctx_set_ad()
H A Dpkcs12kdf.c212 if (!OSSL_PARAM_get_octet_string(p, (void **)buffer, 0, buflen)) in pkcs12kdf_set_membuf()
H A Dsshkdf.c124 return OSSL_PARAM_get_octet_string(p, (void **)dst, 0, dst_len); in sshkdf_set_membuf()
H A Dkrb5kdf.c101 return OSSL_PARAM_get_octet_string(p, (void **)dst, 0, dst_len); in krb5kdf_set_membuf()
H A Dpbkdf2.c175 if (!OSSL_PARAM_get_octet_string(p, (void **)buffer, 0, buflen)) in pbkdf2_set_membuf()
H A Dtls1_prf.c346 if (!OSSL_PARAM_get_octet_string(p, (void **)&ctx->sec, 0, &ctx->seclen)) in kdf_tls1_prf_set_ctx_params()
/freebsd/crypto/openssl/providers/implementations/rands/
H A Dtest_rng.c242 if (!OSSL_PARAM_get_octet_string(p, &ptr, 0, &size)) in test_rng_set_ctx_params()
253 if (!OSSL_PARAM_get_octet_string(p, &ptr, 0, &size)) in test_rng_set_ctx_params()
/freebsd/crypto/openssl/providers/implementations/signature/
H A Dml_dsa_sig.c252 if (!OSSL_PARAM_get_octet_string(p, &vp, sizeof(pctx->context_string), in ml_dsa_set_ctx_params()
263 if (!OSSL_PARAM_get_octet_string(p, &vp, sizeof(pctx->test_entropy), in ml_dsa_set_ctx_params()
H A Dslh_dsa_sig.c273 if (!OSSL_PARAM_get_octet_string(p, &vp, sizeof(pctx->context_string), in slh_dsa_set_ctx_params()
284 if (!OSSL_PARAM_get_octet_string(p, &vp, n, &(pctx->add_random_len)) in slh_dsa_set_ctx_params()
/freebsd/crypto/openssl/crypto/slh_dsa/
H A Dslh_dsa_key.c267 if (!OSSL_PARAM_get_octet_string(param_priv, &p, priv_len, &data_len)) in ossl_slh_dsa_key_fromdata()
290 || !OSSL_PARAM_get_octet_string(param_pub, &p, key_len, &data_len) in ossl_slh_dsa_key_fromdata()
/freebsd/crypto/openssl/doc/man3/
H A DOSSL_PARAM_int.pod25 OSSL_PARAM_get_utf8_string, OSSL_PARAM_get_octet_string,
91 int OSSL_PARAM_get_octet_string(const OSSL_PARAM *p, void **val,
262 OSSL_PARAM_get_octet_string() retrieves an OCTET string from the parameter
298 This is different from OSSL_PARAM_get_octet_string(), which copies the
/freebsd/crypto/openssl/providers/implementations/kem/
H A Dml_kem_kem.c121 if (OSSL_PARAM_get_octet_string(p, (void **)&ctx->entropy, in ml_kem_set_ctx_params()
/freebsd/crypto/openssl/include/openssl/
H A Dparams.h137 int OSSL_PARAM_get_octet_string(const OSSL_PARAM *p, void **val, size_t max_len,
/freebsd/crypto/openssl/providers/implementations/keymgmt/
H A Dmlx_kmgmt.c177 if (OSSL_PARAM_get_octet_string(p, &pub, sub_arg->publen, &len) != 1) in export_sub_cb()
192 if (OSSL_PARAM_get_octet_string(p, &prv, sub_arg->prvlen, &len) != 1) in export_sub_cb()
H A Dslh_dsa_kmgmt.c376 if (!OSSL_PARAM_get_octet_string(p, &vp, len, &(gctx->entropy_len))) { in slh_dsa_gen_set_params()
H A Decx_kmgmt.c422 || !OSSL_PARAM_get_octet_string(p, &buf, sizeof(ecxkey->pubkey), in ecx_set_params()
594 if (!OSSL_PARAM_get_octet_string(p, (void **)&gctx->dhkem_ikm, 0, in ecx_gen_set_params()
/freebsd/crypto/openssl/test/
H A Dparams_api_test.c718 if (!TEST_true(OSSL_PARAM_get_octet_string(cp, &vpn, 0, &s)) in test_param_construct()
724 if (!TEST_true(OSSL_PARAM_get_octet_string(cp, &vp, sizeof(buf2), &s)) in test_param_construct()
/freebsd/crypto/openssl/providers/implementations/exchange/
H A Ddh_exch.c427 if (!OSSL_PARAM_get_octet_string(p, &tmp_ukm, 0, &tmp_ukmlen)) in dh_set_ctx_params()
H A Decdh_exch.c347 if (!OSSL_PARAM_get_octet_string(p, &tmp_ukm, 0, &tmp_ukmlen)) in ecdh_set_ctx_params()
/freebsd/crypto/openssl/providers/implementations/ciphers/
H A Dciphercommon_gcm.c266 if (!OSSL_PARAM_get_octet_string(p, &vp, EVP_GCM_TLS_TAG_LEN, &sz)) { in ossl_gcm_set_ctx_params()

12