Searched refs:curve_sz (Results 1 – 1 of 1) sorted by relevance
1334 unsigned int sz, shift, curve_sz; in hpre_ecdh_set_param() local1341 curve_sz = hpre_ecdh_get_curvesz(ctx->curve_id); in hpre_ecdh_set_param()1342 if (!curve_sz || params->key_size > curve_sz) in hpre_ecdh_set_param()1358 ret = hpre_ecdh_fill_curve(ctx, params, curve_sz); in hpre_ecdh_set_param()1404 unsigned int sz, sz_shift, curve_sz; in hpre_ecdh_set_secret() local1418 curve_sz = hpre_ecdh_get_curvesz(ctx->curve_id); in hpre_ecdh_set_secret()1419 if (!curve_sz) { in hpre_ecdh_set_secret()1424 params.key_size = curve_sz - 1; in hpre_ecdh_set_secret()1478 unsigned int curve_sz = hpre_ecdh_get_curvesz(ctx->curve_id); in hpre_ecdh_cb() local1495 memmove(p, p + ctx->key_sz - curve_sz, curve_sz); in hpre_ecdh_cb()[all …]