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.

crypto: nx - remove stale comment referring to the blkcipher walk API

These drivers do not use either the deprecated blkcipher or the current
skcipher walk API, so this comment must refer to a previous state of the
driver that no longer exists. So drop the comments.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

authored by

Ard Biesheuvel and committed by
Herbert Xu
809abaef 8160ee7e

-10
-5
drivers/crypto/nx/nx-aes-ccm.c
··· 525 525 return ccm_nx_decrypt(req, req->iv, req->assoclen); 526 526 } 527 527 528 - /* tell the block cipher walk routines that this is a stream cipher by 529 - * setting cra_blocksize to 1. Even using blkcipher_walk_virt_block 530 - * during encrypt/decrypt doesn't solve this problem, because it calls 531 - * blkcipher_walk_done under the covers, which doesn't use walk->blocksize, 532 - * but instead uses this tfm->blocksize. */ 533 528 struct aead_alg nx_ccm_aes_alg = { 534 529 .base = { 535 530 .cra_name = "ccm(aes)",
-5
drivers/crypto/nx/nx-aes-gcm.c
··· 467 467 return gcm_aes_nx_crypt(req, 0, req->assoclen - 8); 468 468 } 469 469 470 - /* tell the block cipher walk routines that this is a stream cipher by 471 - * setting cra_blocksize to 1. Even using blkcipher_walk_virt_block 472 - * during encrypt/decrypt doesn't solve this problem, because it calls 473 - * blkcipher_walk_done under the covers, which doesn't use walk->blocksize, 474 - * but instead uses this tfm->blocksize. */ 475 470 struct aead_alg nx_gcm_aes_alg = { 476 471 .base = { 477 472 .cra_name = "gcm(aes)",