Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a10e1194 authored by Denis Cheng's avatar Denis Cheng Committed by Herbert Xu
Browse files

[CRYPTO] tcrypt: Use print_hex_dump from linux/kernel.h



These utilities implemented in lib/hexdump.c are more handy, please use this.

Signed-off-by: default avatarDenis Cheng <crquan@gmail.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent d2456c66
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -89,10 +89,9 @@ static char *check[] = {

static void hexdump(unsigned char *buf, unsigned int len)
{
	while (len--)
		printk("%02x", *buf++);

	printk("\n");
	print_hex_dump(KERN_CONT, "", DUMP_PREFIX_OFFSET,
			16, 1,
			buf, len, false);
}

static void tcrypt_complete(struct crypto_async_request *req, int err)