tools/testing/crypto: Use vzalloc instead of vmalloc+memset
authorSiddh Raman Pant <code@siddh.me>
Mon, 27 Jun 2022 07:51:48 +0000 (13:21 +0530)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Tue, 5 Jul 2022 12:46:36 +0000 (14:46 +0200)
commit5352ebf735064373dc2dd96b39c0fbf347db0095
tree7ebc682dddc577f12ec1bc0f08019d564d948a9a
parenta111daf0c53ae91e71fd2bfe7497862d14132e3e
tools/testing/crypto: Use vzalloc instead of vmalloc+memset

This fixes the corresponding coccinelle warning.

Signed-off-by: Siddh Raman Pant <code@siddh.me>
Signed-off-by: Harald Freudenberger <freude@linux.ibm.com>
Link: https://lore.kernel.org/r/20220627075148.140705-1-code@siddh.me
[agordeev@linux.ibm.com added Link]
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
tools/testing/crypto/chacha20-s390/test-cipher.c