]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ecryptfs: use kasprintf in ecryptfs_crypto_api_algify_cipher_name
authorThorsten Blum <thorsten.blum@linux.dev>
Mon, 18 May 2026 07:38:45 +0000 (09:38 +0200)
committerTyler Hicks <code@tyhicks.com>
Thu, 4 Jun 2026 19:15:08 +0000 (14:15 -0500)
commit95ce5ffd54cf66098f91892f98606c3bd33846fe
treeddee415430f0a5409746b06838707f3b57901233
parent4d97a37e2cedb008eb39354b2a4e2af9ae8bdbe7
ecryptfs: use kasprintf in ecryptfs_crypto_api_algify_cipher_name

Use kasprintf() to simplify ecryptfs_crypto_api_algify_cipher_name().

Use const char * for the read-only cipher name and chaining modifier
while at it.

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Tyler Hicks <code@tyhicks.com>
fs/ecryptfs/crypto.c