Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

Pull crypto library fix from Eric Biggers:
"Fix missing zeroization of the ChaCha state"

* tag 'libcrypto-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux:
lib/crypto: chacha: Zeroize permuted_state before it leaves scope

+4
+4
lib/crypto/chacha-block-generic.c
··· 87 87 &out[i * sizeof(u32)]); 88 88 89 89 state->x[12]++; 90 + 91 + chacha_zeroize_state(&permuted_state); 90 92 } 91 93 EXPORT_SYMBOL(chacha_block_generic); 92 94 ··· 112 110 113 111 memcpy(&out[0], &permuted_state.x[0], 16); 114 112 memcpy(&out[4], &permuted_state.x[12], 16); 113 + 114 + chacha_zeroize_state(&permuted_state); 115 115 } 116 116 EXPORT_SYMBOL(hchacha_block_generic);