OSDN Git Service

crypto: tool: getstat: convert user space example to the new crypto_user_stat uapi
authorCorentin Labbe <clabbe@baylibre.com>
Thu, 29 Nov 2018 14:42:20 +0000 (14:42 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 7 Dec 2018 06:15:00 +0000 (14:15 +0800)
commit76d09ea7c22f2cabf1f66ffc287c23b19b120be9
tree1e6b0998c77f23183cc2a10369be43a0b6f11c73
parent7f0a9d5c9d1ba8ab3e5b144e52553744dc0d7471
crypto: tool: getstat: convert user space example to the new crypto_user_stat uapi

This patch converts the getstat example tool to the recent changes done in crypto_user_stat
- changed all stats to u64
- separated struct stats for each crypto alg

Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
tools/crypto/getstat.c