Lines Matching refs:params
150 const OSSL_PARAM params[])
156 if (!ossl_prov_is_running() || !kdf_hkdf_set_ctx_params(ctx, params))
189 static int hkdf_common_set_ctx_params(KDF_HKDF *ctx, const OSSL_PARAM params[])
195 if (params == NULL)
198 if (!ossl_prov_digest_load_from_params(&ctx->digest, params, libctx))
201 if ((p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_MODE)) != NULL) {
227 if ((p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_KEY)) != NULL) {
235 if ((p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_SALT)) != NULL) {
283 static int kdf_hkdf_set_ctx_params(void *vctx, const OSSL_PARAM params[])
288 if (params == NULL)
291 if (!hkdf_common_set_ctx_params(ctx, params))
295 if ((p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_INFO)) != NULL) {
331 static int kdf_hkdf_get_ctx_params(void *vctx, OSSL_PARAM params[])
336 if ((p = OSSL_PARAM_locate(params, OSSL_KDF_PARAM_SIZE)) != NULL) {
681 const OSSL_PARAM params[])
686 if (!ossl_prov_is_running() || !kdf_tls1_3_set_ctx_params(ctx, params))
717 static int kdf_tls1_3_set_ctx_params(void *vctx, const OSSL_PARAM params[])
722 if (params == NULL)
725 if (!hkdf_common_set_ctx_params(ctx, params))
733 if ((p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_PREFIX)) != NULL) {
741 if ((p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_LABEL)) != NULL) {
751 if ((p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_DATA)) != NULL