Lines Matching refs:seed
35 OPENSSL_clear_free(params->seed, params->seedlen); in ossl_ffc_params_cleanup()
41 OPENSSL_free(params->seed); in ossl_ffc_params_cleanup()
84 const unsigned char *seed, size_t seedlen) in ossl_ffc_params_set_seed() argument
86 if (params->seed != NULL) { in ossl_ffc_params_set_seed()
87 if (params->seed == seed) in ossl_ffc_params_set_seed()
89 OPENSSL_free(params->seed); in ossl_ffc_params_set_seed()
92 if (seed != NULL && seedlen > 0) { in ossl_ffc_params_set_seed()
93 params->seed = OPENSSL_memdup(seed, seedlen); in ossl_ffc_params_set_seed()
94 if (params->seed == NULL) in ossl_ffc_params_set_seed()
98 params->seed = NULL; in ossl_ffc_params_set_seed()
140 const unsigned char *seed, in ossl_ffc_params_set_validate_params() argument
143 if (!ossl_ffc_params_set_seed(params, seed, seedlen)) in ossl_ffc_params_set_validate_params()
150 unsigned char **seed, size_t *seedlen, in ossl_ffc_params_get_validate_params() argument
153 if (seed != NULL) in ossl_ffc_params_get_validate_params()
154 *seed = params->seed; in ossl_ffc_params_get_validate_params()
191 OPENSSL_free(dst->seed); in ossl_ffc_params_copy()
193 if (src->seed != NULL) { in ossl_ffc_params_copy()
194 dst->seed = OPENSSL_memdup(src->seed, src->seedlen); in ossl_ffc_params_copy()
195 if (dst->seed == NULL) in ossl_ffc_params_copy()
198 dst->seed = NULL; in ossl_ffc_params_copy()
242 if (ffc->seed != NULL in ossl_ffc_params_todata()
245 ffc->seed, ffc->seedlen)) in ossl_ffc_params_todata()
297 if (ffc->seed != NULL) { in ossl_ffc_params_print()
309 if (BIO_printf(bp, "%02x%s", ffc->seed[i], in ossl_ffc_params_print()