-
Notifications
You must be signed in to change notification settings - Fork 6
bpf: Use sha1() instead of sha1_transform() in bpf_prog_calc_tag() #5723
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: bpf-next_base
Are you sure you want to change the base?
bpf: Use sha1() instead of sha1_transform() in bpf_prog_calc_tag() #5723
Conversation
Upstream branch: fa47913 |
Upstream branch: fa47913 |
fa64158
to
ca9bd12
Compare
76d91e7
to
304a099
Compare
88bd43a
to
fa50325
Compare
Upstream branch: c93c59b |
304a099
to
08e4efe
Compare
fa50325
to
5cf9e1c
Compare
Upstream branch: bf0c2a8 |
08e4efe
to
68ff179
Compare
5cf9e1c
to
2c853dd
Compare
Upstream branch: 2caa6b8 |
68ff179
to
dd8b8a0
Compare
2c853dd
to
5e1a4c1
Compare
Upstream branch: 0786654 |
dd8b8a0
to
19cfd9a
Compare
5e1a4c1
to
91606c1
Compare
Upstream branch: dc0fe95 |
19cfd9a
to
998bb88
Compare
91606c1
to
9e5d665
Compare
Upstream branch: c80d797 |
998bb88
to
cdc25c8
Compare
9e5d665
to
f86fd37
Compare
Upstream branch: abdaf49 |
cdc25c8
to
9dfc8d4
Compare
f86fd37
to
2842450
Compare
Upstream branch: 3ec8560 |
Now that there's a proper SHA-1 library API, just use that instead of the low-level SHA-1 compression function. This eliminates the need for bpf_prog_calc_tag() to implement the SHA-1 padding itself. No functional change; the computed tags remain the same. Signed-off-by: Eric Biggers <[email protected]> Acked-by: Eduard Zingerman <[email protected]>
9dfc8d4
to
8ea1b9f
Compare
Pull request for series with
subject: bpf: Use sha1() instead of sha1_transform() in bpf_prog_calc_tag()
version: 1
url: https://patchwork.kernel.org/project/netdevbpf/list/?series=990217