Lines Matching refs:cur_sz
1256 static void fill_curve_param(void *addr, u64 *param, unsigned int cur_sz, u8 ndigits) in fill_curve_param() argument
1258 unsigned int sz = cur_sz - (ndigits - 1) * sizeof(u64); in fill_curve_param()
1267 hpre_key_to_big_end((u8 *)addr, cur_sz); in fill_curve_param()
1271 unsigned int cur_sz) in hpre_ecdh_fill_curve() argument
1275 void *p = ctx->ecdh.p + ctx->key_sz - cur_sz; in hpre_ecdh_fill_curve()
1276 void *a = ctx->ecdh.p + shifta - cur_sz; in hpre_ecdh_fill_curve()
1277 void *b = ctx->ecdh.p + shiftb - cur_sz; in hpre_ecdh_fill_curve()
1278 void *x = ctx->ecdh.g + ctx->key_sz - cur_sz; in hpre_ecdh_fill_curve()
1279 void *y = ctx->ecdh.g + shifta - cur_sz; in hpre_ecdh_fill_curve()
1290 fill_curve_param(p, curve->p, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve()
1291 fill_curve_param(a, curve->a, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve()
1292 fill_curve_param(b, curve->b, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve()
1293 fill_curve_param(x, curve->g.x, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve()
1294 fill_curve_param(y, curve->g.y, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve()
1295 fill_curve_param(n, curve->n, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve()
1297 if (params->key_size == cur_sz && memcmp(params->key, n, cur_sz) >= 0) { in hpre_ecdh_fill_curve()