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 'v7.1-p3' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6

Pull crypto fix from Herbert Xu:

- Reject algorithms with authsizes that are too short in authencesn

* tag 'v7.1-p3' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6:
crypto: authencesn - reject short ahash digests during instance creation

+5
+5
crypto/authencesn.c
··· 390 390 auth = crypto_spawn_ahash_alg(&ctx->auth); 391 391 auth_base = &auth->base; 392 392 393 + if (auth->digestsize > 0 && auth->digestsize < 4) { 394 + err = -EINVAL; 395 + goto err_free_inst; 396 + } 397 + 393 398 err = crypto_grab_skcipher(&ctx->enc, aead_crypto_instance(inst), 394 399 crypto_attr_alg_name(tb[2]), 0, mask); 395 400 if (err)