Lines Matching refs:params_n

239                        OSSL_PARAM params[], size_t params_sz, size_t *params_n)  in ctrl2params()  argument
246 if (*params_n + sk_OPENSSL_STRING_num(controls) >= params_sz) { in ctrl2params()
263 || !OSSL_PARAM_allocate_from_text(&params[*params_n], in ctrl2params()
271 *params_n += 1; in ctrl2params()
274 params[*params_n] = OSSL_PARAM_construct_end(); in ctrl2params()
281 size_t params_n, size_t params_n_allocstart) in ctrl2params_free() argument
283 while (params_n-- > params_n_allocstart) { in ctrl2params_free()
284 OPENSSL_free(params[params_n].data); in ctrl2params_free()
1467 size_t params_n = 0; in cipher_test_run() local
1488 initparams, OSSL_NELEM(initparams), &params_n)) in cipher_test_run()
1537 ctrl2params_free(initparams, params_n, 0); in cipher_test_run()
1541 ctrl2params_free(initparams, params_n, 0); in cipher_test_run()
1864 size_t params_n = 0; in mac_test_run_mac() local
1891 params[params_n++] = in mac_test_run_mac()
1899 params[params_n++] = in mac_test_run_mac()
1914 params[params_n++] = in mac_test_run_mac()
1919 params[params_n++] = in mac_test_run_mac()
1924 params[params_n++] = in mac_test_run_mac()
1929 params_n_allocstart = params_n; in mac_test_run_mac()
1931 params, OSSL_NELEM(params), &params_n)) in mac_test_run_mac()
2093 ctrl2params_free(params, params_n, params_n_allocstart); in mac_test_run_mac()
2192 size_t params_n = 0, params_n_allocated = 0; in encapsulate() local
2197 params, OSSL_NELEM(params), &params_n)) in encapsulate()
2239 ctrl2params_free(params, params_n, params_n_allocated); in encapsulate()
2253 size_t params_n = 0, params_n_allocated = 0; in decapsulate() local
2257 params, OSSL_NELEM(params), &params_n)) in decapsulate()
2291 ctrl2params_free(params, params_n, params_n_allocated); in decapsulate()
2542 size_t params_n = 0, params_n_allocstart = 0; in pkey_test_run_init() local
2547 params, OSSL_NELEM(params), &params_n)) in pkey_test_run_init()
2574 ctrl2params_free(params, params_n, params_n_allocstart); in pkey_test_run_init()
3440 size_t params_n = 0, params_allocated_n = 0; in rand_test_run() local
3448 params, OSSL_NELEM(params), &params_n)) in rand_test_run()
3451 p = params + params_n; in rand_test_run()
3469 ctrl2params_free(params, params_n, params_allocated_n); in rand_test_run()
3470 params_n = 0; in rand_test_run()
3554 ctrl2params_free(params, params_n, params_allocated_n); in rand_test_run()
3748 size_t params_n = 0, params_allocated_n = 0; in kdf_test_run() local
3753 params, OSSL_NELEM(params), &params_n)) in kdf_test_run()
3791 ctrl2params_free(params, params_n, params_allocated_n); in kdf_test_run()
4105 size_t params_n = 0; in keygen_test_run() local
4132 params, OSSL_NELEM(params), &params_n)) in keygen_test_run()
4178 ctrl2params_free(params, params_n, 0); in keygen_test_run()
4337 size_t params_n = 0, params_allocated_n = 0; in signverify_init() local
4342 params, OSSL_NELEM(params), &params_n)) in signverify_init()
4369 ctrl2params_free(params, params_n, params_allocated_n); in signverify_init()