ecdsa: Use ecc_digits_from_bytes to simplify code
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | crypto: ecdsa - Use ecc_digits_from_bytes to create hash digits arraycrypto/ | +4 | 3 replies | |
| 2/2 | crypto: ecdsa - Use ecc_digits_from_bytes to convert signaturecrypto/ | +2 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Jarkko Sakkinen |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] ecdsa: Use ecc_digits_from_bytes to simplify code
Simplify two functions that were using temporary byte arrays for converting too-short input byte arrays to digits. Use ecc_digits_from_bytes since this function can now handle an input byte array that provides less bytes than what a coordinate of a curve requires - the function provides zeros for the missing (leading) bytes.
See: c6ab5c915da4 ("crypto: ecc - Prevent ecc_digits_from_bytes from reading too many bytes")
Regards,
Stefan
Stefan Berger (2):
crypto: ecdsa - Use ecc_digits_from_bytes to create hash digits array
crypto: ecdsa - Use ecc_digits_from_bytes to convert signature
crypto/ecdsa.c | 29 ++++++----------------------- 1 file changed, 6 insertions(+), 23 deletions(-)
Signature · 1 line
2.43.0