mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-07 06:52:07 +00:00
crypto: user - rename err_cnt parameter
Since now all crypto stats are on their own structures, it is now useless to have the algorithm name in the err_cnt member. Signed-off-by: Corentin Labbe <clabbe@baylibre.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
17c18f9e33
commit
44f13133cb
5 changed files with 58 additions and 58 deletions
|
@ -376,14 +376,14 @@ struct compress_alg {
|
|||
* @encrypt_tlen: total data size handled by encrypt requests
|
||||
* @decrypt_cnt: number of decrypt requests
|
||||
* @decrypt_tlen: total data size handled by decrypt requests
|
||||
* @aead_err_cnt: number of error for AEAD requests
|
||||
* @err_cnt: number of error for AEAD requests
|
||||
*/
|
||||
struct crypto_istat_aead {
|
||||
atomic64_t encrypt_cnt;
|
||||
atomic64_t encrypt_tlen;
|
||||
atomic64_t decrypt_cnt;
|
||||
atomic64_t decrypt_tlen;
|
||||
atomic64_t aead_err_cnt;
|
||||
atomic64_t err_cnt;
|
||||
};
|
||||
|
||||
/*
|
||||
|
@ -394,7 +394,7 @@ struct crypto_istat_aead {
|
|||
* @decrypt_tlen: total data size handled by decrypt requests
|
||||
* @verify_cnt: number of verify operation
|
||||
* @sign_cnt: number of sign requests
|
||||
* @akcipher_err_cnt: number of error for akcipher requests
|
||||
* @err_cnt: number of error for akcipher requests
|
||||
*/
|
||||
struct crypto_istat_akcipher {
|
||||
atomic64_t encrypt_cnt;
|
||||
|
@ -403,7 +403,7 @@ struct crypto_istat_akcipher {
|
|||
atomic64_t decrypt_tlen;
|
||||
atomic64_t verify_cnt;
|
||||
atomic64_t sign_cnt;
|
||||
atomic64_t akcipher_err_cnt;
|
||||
atomic64_t err_cnt;
|
||||
};
|
||||
|
||||
/*
|
||||
|
@ -412,14 +412,14 @@ struct crypto_istat_akcipher {
|
|||
* @encrypt_tlen: total data size handled by encrypt requests
|
||||
* @decrypt_cnt: number of decrypt requests
|
||||
* @decrypt_tlen: total data size handled by decrypt requests
|
||||
* @cipher_err_cnt: number of error for cipher requests
|
||||
* @err_cnt: number of error for cipher requests
|
||||
*/
|
||||
struct crypto_istat_cipher {
|
||||
atomic64_t encrypt_cnt;
|
||||
atomic64_t encrypt_tlen;
|
||||
atomic64_t decrypt_cnt;
|
||||
atomic64_t decrypt_tlen;
|
||||
atomic64_t cipher_err_cnt;
|
||||
atomic64_t err_cnt;
|
||||
};
|
||||
|
||||
/*
|
||||
|
@ -428,26 +428,26 @@ struct crypto_istat_cipher {
|
|||
* @compress_tlen: total data size handled by compress requests
|
||||
* @decompress_cnt: number of decompress requests
|
||||
* @decompress_tlen: total data size handled by decompress requests
|
||||
* @compress_err_cnt: number of error for compress requests
|
||||
* @err_cnt: number of error for compress requests
|
||||
*/
|
||||
struct crypto_istat_compress {
|
||||
atomic64_t compress_cnt;
|
||||
atomic64_t compress_tlen;
|
||||
atomic64_t decompress_cnt;
|
||||
atomic64_t decompress_tlen;
|
||||
atomic64_t compress_err_cnt;
|
||||
atomic64_t err_cnt;
|
||||
};
|
||||
|
||||
/*
|
||||
* struct crypto_istat_hash - statistics for has algorithm
|
||||
* @hash_cnt: number of hash requests
|
||||
* @hash_tlen: total data size hashed
|
||||
* @hash_err_cnt: number of error for hash requests
|
||||
* @err_cnt: number of error for hash requests
|
||||
*/
|
||||
struct crypto_istat_hash {
|
||||
atomic64_t hash_cnt;
|
||||
atomic64_t hash_tlen;
|
||||
atomic64_t hash_err_cnt;
|
||||
atomic64_t err_cnt;
|
||||
};
|
||||
|
||||
/*
|
||||
|
@ -455,13 +455,13 @@ struct crypto_istat_hash {
|
|||
* @setsecret_cnt: number of setsecrey operation
|
||||
* @generate_public_key_cnt: number of generate_public_key operation
|
||||
* @compute_shared_secret_cnt: number of compute_shared_secret operation
|
||||
* @kpp_err_cnt: number of error for KPP requests
|
||||
* @err_cnt: number of error for KPP requests
|
||||
*/
|
||||
struct crypto_istat_kpp {
|
||||
atomic64_t setsecret_cnt;
|
||||
atomic64_t generate_public_key_cnt;
|
||||
atomic64_t compute_shared_secret_cnt;
|
||||
atomic64_t kpp_err_cnt;
|
||||
atomic64_t err_cnt;
|
||||
};
|
||||
|
||||
/*
|
||||
|
@ -469,13 +469,13 @@ struct crypto_istat_kpp {
|
|||
* @generate_cnt: number of RNG generate requests
|
||||
* @generate_tlen: total data size of generated data by the RNG
|
||||
* @seed_cnt: number of times the RNG was seeded
|
||||
* @rng_err_cnt: number of error for RNG requests
|
||||
* @err_cnt: number of error for RNG requests
|
||||
*/
|
||||
struct crypto_istat_rng {
|
||||
atomic64_t generate_cnt;
|
||||
atomic64_t generate_tlen;
|
||||
atomic64_t seed_cnt;
|
||||
atomic64_t rng_err_cnt;
|
||||
atomic64_t err_cnt;
|
||||
};
|
||||
#endif /* CONFIG_CRYPTO_STATS */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue