History

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.

Corentin Labbe committed 7 years ago

Commit 44f13131 parent 17c18f95 files · +58 −58Browse files

Showing the changes to include/uapi/linux (1 of 5 files). Show all

Unified · Split

include/uapi/linux/cryptouser.h+7−7
@@ -82,7 +82,7 @@ struct crypto_stat_aead { · 81 unmodified lines
8282 __u64 stat_encrypt_tlen;
8383 __u64 stat_decrypt_cnt;
8484 __u64 stat_decrypt_tlen;
85− __u64 stat_aead_err_cnt;
85+ __u64 stat_err_cnt;
8686 };
8787
8888 struct crypto_stat_akcipher {
@@ -93,7 +93,7 @@ struct crypto_stat_akcipher { · 4 unmodified lines
9393 __u64 stat_decrypt_tlen;
9494 __u64 stat_verify_cnt;
9595 __u64 stat_sign_cnt;
96− __u64 stat_akcipher_err_cnt;
96+ __u64 stat_err_cnt;
9797 };
9898
9999 struct crypto_stat_cipher {
@@ -102,7 +102,7 @@ struct crypto_stat_cipher { · 2 unmodified lines
102102 __u64 stat_encrypt_tlen;
103103 __u64 stat_decrypt_cnt;
104104 __u64 stat_decrypt_tlen;
105− __u64 stat_cipher_err_cnt;
105+ __u64 stat_err_cnt;
106106 };
107107
108108 struct crypto_stat_compress {
@@ -111,14 +111,14 @@ struct crypto_stat_compress { · 2 unmodified lines
111111 __u64 stat_compress_tlen;
112112 __u64 stat_decompress_cnt;
113113 __u64 stat_decompress_tlen;
114− __u64 stat_compress_err_cnt;
114+ __u64 stat_err_cnt;
115115 };
116116
117117 struct crypto_stat_hash {
118118 char type[CRYPTO_MAX_NAME];
119119 __u64 stat_hash_cnt;
120120 __u64 stat_hash_tlen;
121− __u64 stat_hash_err_cnt;
121+ __u64 stat_err_cnt;
122122 };
123123
124124 struct crypto_stat_kpp {
@@ -126,7 +126,7 @@ struct crypto_stat_kpp { · 1 unmodified line
126126 __u64 stat_setsecret_cnt;
127127 __u64 stat_generate_public_key_cnt;
128128 __u64 stat_compute_shared_secret_cnt;
129− __u64 stat_kpp_err_cnt;
129+ __u64 stat_err_cnt;
130130 };
131131
132132 struct crypto_stat_rng {
@@ -134,7 +134,7 @@ struct crypto_stat_rng { · 1 unmodified line
134134 __u64 stat_generate_cnt;
135135 __u64 stat_generate_tlen;
136136 __u64 stat_seed_cnt;
137− __u64 stat_rng_err_cnt;
137+ __u64 stat_err_cnt;
138138 };
139139
140140 struct crypto_stat_larval {