[PATCH 0/4] crypto: Port ecc.c fixes from kernel
Jonas Rebmann
jre at pengutronix.de
Mon May 18 00:56:12 PDT 2026
We've been working on processes for porting fixes from copied code in
winter and introduced Origin-URL references [1] during those
discussions.
Now thanks to Lukas we're reminded to put this to practice.
This series is a proposal on future standard practice of porting such
patches: Update the Origin-URL in every ported patch, mention the origin
project in the "cherry picked from" line. Handle like a backport for all
other regards.
Note that the most recent ported patch is linux commit c66e0a273f22
("crypto: ecc - Streamline alloc_point and remove
{alloc,free}_digits_space") but Origin-URL is pointing at commit
d6ea871d73ab ("crypto: ecc - Use crypto_stdrng_get_bytes()"), which I
intentionally skipped when porting as not applicable to barebox (we have
a different random bytes API). This is so that the file is now
recognizable as up to date until further updates on linux master.
To establish these processes, we should soon underscore them with some
tooling like Ahmad did in [1].
[1] https://lore.kernel.org/barebox/20251218151807.691382-1-a.fatoum@pengutronix.de/
Signed-off-by: Jonas Rebmann <jre at pengutronix.de>
---
Jonas Rebmann (1):
crypto: ecc: Add Origin-URL to document kernel revision
Lukas Wunner (1):
crypto: ecdsa - Harden against integer overflows in DIV_ROUND_UP()
Stefan Berger (1):
crypto: ecc - Fix off-by-one missing to clear most significant digit
Thorsten Blum (1):
crypto: ecc - Streamline alloc_point and remove {alloc,free}_digits_space
crypto/ecc.c | 32 ++++++++++++--------------------
include/linux/math.h | 12 ++++++++++++
2 files changed, 24 insertions(+), 20 deletions(-)
---
base-commit: c7bdd78be7cc9449a49a429a342c83f8085b1475
change-id: 20260515-barebox-port-ecc-1d6e25c9608c
Best regards,
--
Jonas Rebmann <jre at pengutronix.de>
More information about the barebox
mailing list