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
Showing the changes to scripts (1 of 4 files). Show all
Unified · Split
| @@ -118,7 +118,7 @@ def print_c_struct_u8_array_field(name, value): · 117 unmodified lines | ||
| 118 | 118 | def alg_digest_size_const(alg): |
| 119 | 119 | if alg.startswith('blake2'): |
| 120 | 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 | |
| 123 | 123 | def gen_unkeyed_testvecs(alg): |
| 124 | 124 | print('') |