Lines Matching refs:curve_sz
1330 unsigned int sz, shift, curve_sz; in hpre_ecdh_set_param() local
1337 curve_sz = hpre_ecdh_get_curvesz(ctx->curve_id); in hpre_ecdh_set_param()
1338 if (!curve_sz || params->key_size > curve_sz) in hpre_ecdh_set_param()
1354 ret = hpre_ecdh_fill_curve(ctx, params, curve_sz); in hpre_ecdh_set_param()
1400 unsigned int sz, sz_shift, curve_sz; in hpre_ecdh_set_secret() local
1414 curve_sz = hpre_ecdh_get_curvesz(ctx->curve_id); in hpre_ecdh_set_secret()
1415 if (!curve_sz) { in hpre_ecdh_set_secret()
1420 params.key_size = curve_sz - 1; in hpre_ecdh_set_secret()
1474 unsigned int curve_sz = hpre_ecdh_get_curvesz(ctx->curve_id); in hpre_ecdh_cb() local
1491 memmove(p, p + ctx->key_sz - curve_sz, curve_sz); in hpre_ecdh_cb()
1492 memmove(p + curve_sz, p + areq->dst_len - curve_sz, curve_sz); in hpre_ecdh_cb()