History

Merge tag 'libcrypto-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux

Pull crypto library fixes from Eric Biggers: - A couple more fixes for the lib/crypto KUnit tests - Fix missing MMU protection for the AES S-box * tag 'libcrypto-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux: lib/crypto: aes: Fix missing MMU protection for AES S-box MAINTAINERS: add test vector generation scripts to "CRYPTO LIBRARY" lib/crypto: tests: Fix syntax error for old python versions lib/crypto: tests: polyval_kunit: Increase iterations for preparekey in IRQs

Linus Torvalds committed 10 months ago

Commit 71432032 parents 9c7ef20 74d74bb4 files · +5 −4Browse files

Showing the changes to scripts (1 of 4 files). Show all

Unified · Split

scripts/crypto/gen-hash-testvecs.py+1−1
@@ -118,7 +118,7 @@ def print_c_struct_u8_array_field(name, value): · 117 unmodified lines
118def alg_digest_size_const(alg):118def alg_digest_size_const(alg):
119 if alg.startswith('blake2'):119 if alg.startswith('blake2'):
120 return f'{alg.upper()}_HASH_SIZE'120 return f'{alg.upper()}_HASH_SIZE'
121 return f'{alg.upper().replace('-', '_')}_DIGEST_SIZE'121 return f"{alg.upper().replace('-', '_')}_DIGEST_SIZE"
122 122
123def gen_unkeyed_testvecs(alg):123def gen_unkeyed_testvecs(alg):
124 print('')124 print('')

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t