Lines Matching refs:param

249 static void free_params(OSSL_PARAM *param)  in free_params()  argument
251 for (; param != NULL && param->key != NULL; param++) { in free_params()
252 switch (param->data_type) { in free_params()
256 if (param->data != NULL) { in free_params()
257 OPENSSL_free(param->data); in free_params()
264 static OSSL_PARAM *fuzz_params(OSSL_PARAM *param, const uint8_t **buf, size_t *len) in fuzz_params() argument
270 for (p = param; p != NULL && p->key != NULL; p++) in fuzz_params()
276 for (; param != NULL && param->key != NULL; param++) { in fuzz_params()
293 switch (param->data_type) { in fuzz_params()
295 if (strcmp(param->key, OSSL_KDF_PARAM_ITER) == 0) { in fuzz_params()
298 } else if (strcmp(param->key, OSSL_KDF_PARAM_SCRYPT_N) == 0) { in fuzz_params()
301 } else if (strcmp(param->key, OSSL_KDF_PARAM_SCRYPT_R) == 0) { in fuzz_params()
304 } else if (strcmp(param->key, OSSL_KDF_PARAM_SCRYPT_P) == 0) { in fuzz_params()
312 *p = *param; in fuzz_params()
317 if (strcmp(param->key, OSSL_KDF_PARAM_ITER) == 0) { in fuzz_params()
320 } else if (strcmp(param->key, OSSL_KDF_PARAM_SCRYPT_N) == 0) { in fuzz_params()
323 } else if (strcmp(param->key, OSSL_KDF_PARAM_SCRYPT_R) == 0) { in fuzz_params()
326 } else if (strcmp(param->key, OSSL_KDF_PARAM_SCRYPT_P) == 0) { in fuzz_params()
334 *p = *param; in fuzz_params()
344 *p = *param; in fuzz_params()
351 *p = *param; in fuzz_params()
359 *p = *param; in fuzz_params()
367 *p = *param; in fuzz_params()
375 *p = *param; in fuzz_params()
390 static int do_evp_cipher(const EVP_CIPHER *evp_cipher, const OSSL_PARAM param[]) in do_evp_cipher() argument
401 if (!EVP_CIPHER_CTX_set_params(ctx, param)) { in do_evp_cipher()