diff options
-rw-r--r-- | crypto/ablkcipher.c | 4 | ||||
-rw-r--r-- | crypto/aead.c | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/crypto/ablkcipher.c b/crypto/ablkcipher.c index d1df528c8fa3..3bcb099b4a85 100644 --- a/crypto/ablkcipher.c +++ b/crypto/ablkcipher.c | |||
@@ -109,6 +109,8 @@ static void crypto_ablkcipher_show(struct seq_file *m, struct crypto_alg *alg) | |||
109 | struct ablkcipher_alg *ablkcipher = &alg->cra_ablkcipher; | 109 | struct ablkcipher_alg *ablkcipher = &alg->cra_ablkcipher; |
110 | 110 | ||
111 | seq_printf(m, "type : ablkcipher\n"); | 111 | seq_printf(m, "type : ablkcipher\n"); |
112 | seq_printf(m, "async : %s\n", alg->cra_flags & CRYPTO_ALG_ASYNC ? | ||
113 | "yes" : "no"); | ||
112 | seq_printf(m, "blocksize : %u\n", alg->cra_blocksize); | 114 | seq_printf(m, "blocksize : %u\n", alg->cra_blocksize); |
113 | seq_printf(m, "min keysize : %u\n", ablkcipher->min_keysize); | 115 | seq_printf(m, "min keysize : %u\n", ablkcipher->min_keysize); |
114 | seq_printf(m, "max keysize : %u\n", ablkcipher->max_keysize); | 116 | seq_printf(m, "max keysize : %u\n", ablkcipher->max_keysize); |
@@ -158,6 +160,8 @@ static void crypto_givcipher_show(struct seq_file *m, struct crypto_alg *alg) | |||
158 | struct ablkcipher_alg *ablkcipher = &alg->cra_ablkcipher; | 160 | struct ablkcipher_alg *ablkcipher = &alg->cra_ablkcipher; |
159 | 161 | ||
160 | seq_printf(m, "type : givcipher\n"); | 162 | seq_printf(m, "type : givcipher\n"); |
163 | seq_printf(m, "async : %s\n", alg->cra_flags & CRYPTO_ALG_ASYNC ? | ||
164 | "yes" : "no"); | ||
161 | seq_printf(m, "blocksize : %u\n", alg->cra_blocksize); | 165 | seq_printf(m, "blocksize : %u\n", alg->cra_blocksize); |
162 | seq_printf(m, "min keysize : %u\n", ablkcipher->min_keysize); | 166 | seq_printf(m, "min keysize : %u\n", ablkcipher->min_keysize); |
163 | seq_printf(m, "max keysize : %u\n", ablkcipher->max_keysize); | 167 | seq_printf(m, "max keysize : %u\n", ablkcipher->max_keysize); |
diff --git a/crypto/aead.c b/crypto/aead.c index f5b1add31976..3a6f3f52c7c7 100644 --- a/crypto/aead.c +++ b/crypto/aead.c | |||
@@ -115,6 +115,8 @@ static void crypto_aead_show(struct seq_file *m, struct crypto_alg *alg) | |||
115 | struct aead_alg *aead = &alg->cra_aead; | 115 | struct aead_alg *aead = &alg->cra_aead; |
116 | 116 | ||
117 | seq_printf(m, "type : aead\n"); | 117 | seq_printf(m, "type : aead\n"); |
118 | seq_printf(m, "async : %s\n", alg->cra_flags & CRYPTO_ALG_ASYNC ? | ||
119 | "yes" : "no"); | ||
118 | seq_printf(m, "blocksize : %u\n", alg->cra_blocksize); | 120 | seq_printf(m, "blocksize : %u\n", alg->cra_blocksize); |
119 | seq_printf(m, "ivsize : %u\n", aead->ivsize); | 121 | seq_printf(m, "ivsize : %u\n", aead->ivsize); |
120 | seq_printf(m, "maxauthsize : %u\n", aead->maxauthsize); | 122 | seq_printf(m, "maxauthsize : %u\n", aead->maxauthsize); |
@@ -169,6 +171,8 @@ static void crypto_nivaead_show(struct seq_file *m, struct crypto_alg *alg) | |||
169 | struct aead_alg *aead = &alg->cra_aead; | 171 | struct aead_alg *aead = &alg->cra_aead; |
170 | 172 | ||
171 | seq_printf(m, "type : nivaead\n"); | 173 | seq_printf(m, "type : nivaead\n"); |
174 | seq_printf(m, "async : %s\n", alg->cra_flags & CRYPTO_ALG_ASYNC ? | ||
175 | "yes" : "no"); | ||
172 | seq_printf(m, "blocksize : %u\n", alg->cra_blocksize); | 176 | seq_printf(m, "blocksize : %u\n", alg->cra_blocksize); |
173 | seq_printf(m, "ivsize : %u\n", aead->ivsize); | 177 | seq_printf(m, "ivsize : %u\n", aead->ivsize); |
174 | seq_printf(m, "maxauthsize : %u\n", aead->maxauthsize); | 178 | seq_printf(m, "maxauthsize : %u\n", aead->maxauthsize); |