Home
last modified time | relevance | path

Searched refs:curve_sz (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.1/drivers/crypto/hisilicon/hpre/
Dhpre_crypto.c1310 unsigned int sz, shift, curve_sz; in hpre_ecdh_set_param() local
1317 curve_sz = hpre_ecdh_get_curvesz(ctx->curve_id); in hpre_ecdh_set_param()
1318 if (!curve_sz || params->key_size > curve_sz) in hpre_ecdh_set_param()
1334 ret = hpre_ecdh_fill_curve(ctx, params, curve_sz); in hpre_ecdh_set_param()
1448 unsigned int curve_sz = hpre_ecdh_get_curvesz(ctx->curve_id); in hpre_ecdh_cb() local
1465 memmove(p, p + ctx->key_sz - curve_sz, curve_sz); in hpre_ecdh_cb()
1466 memmove(p + curve_sz, p + areq->dst_len - curve_sz, curve_sz); in hpre_ecdh_cb()