lib/crypto: More at_least decorations
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 10 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | lib/crypto: chacha: Add at_least decoration to fixed-size array paramsinclude/ | +6 | 0 replies | |
| 2/6 | lib/crypto: curve25519: Add at_least decoration to fixed-size array paramsinclude/ | +14 | 0 replies | |
| 3/6 | lib/crypto: md5: Add at_least decoration to fixed-size array paramsinclude/ | +6 | 0 replies | |
| 4/6 | lib/crypto: poly1305: Add at_least decoration to fixed-size array paramsinclude/ | +1 | 0 replies | |
| 5/6 | lib/crypto: sha1: Add at_least decoration to fixed-size array paramsinclude/ | +7 | 0 replies | |
| 6/6 | lib/crypto: sha2: Add at_least decoration to fixed-size array paramsinclude/ | +31 | 0 replies |
Reviews trailers per patch
None of the 6 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Jason A. Donenfeld | Ard Biesheuvel |
|---|---|---|
| Series | A-b | A-b |
| 1/6 | ||
| 2/6 | ||
| 3/6 | ||
| 4/6 | ||
| 5/6 | ||
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/6] lib/crypto: More at_least decorations
This series depends on the 'at_least' macro added by
https://lore.kernel.org/r/[email protected]
It can also be retrieved from
git fetch https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git more-at-least-decorations-v1
Add the at_least (i.e. 'static') decoration to the fixed-size array parameters of more of the crypto library functions. This causes clang to generate a warning if a too-small array of known size is passed.
Eric Biggers (6):
lib/crypto: chacha: Add at_least decoration to fixed-size array params lib/crypto: curve25519: Add at_least decoration to fixed-size array
params
lib/crypto: md5: Add at_least decoration to fixed-size array params lib/crypto: poly1305: Add at_least decoration to fixed-size array
params
lib/crypto: sha1: Add at_least decoration to fixed-size array params lib/crypto: sha2: Add at_least decoration to fixed-size array params
include/crypto/chacha.h | 12 ++++----- include/crypto/curve25519.h | 24 ++++++++++------- include/crypto/md5.h | 11 ++++---- include/crypto/poly1305.h | 2 +- include/crypto/sha1.h | 12 +++++---- include/crypto/sha2.h | 53 ++++++++++++++++++++++--------------- 6 files changed, 65 insertions(+), 49 deletions(-)
base-commit: 86d930bb1c19ec798fd432c5b8f25912373c98b2
Signature · 1 line
2.51.2