aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/crypto.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/crypto.h b/include/linux/crypto.h
index b1c7f4187c5b..fc32694287e2 100644
--- a/include/linux/crypto.h
+++ b/include/linux/crypto.h
@@ -624,7 +624,8 @@ static inline int crypto_ablkcipher_decrypt(struct ablkcipher_request *req)
624 return crt->decrypt(req); 624 return crt->decrypt(req);
625} 625}
626 626
627static inline int crypto_ablkcipher_reqsize(struct crypto_ablkcipher *tfm) 627static inline unsigned int crypto_ablkcipher_reqsize(
628 struct crypto_ablkcipher *tfm)
628{ 629{
629 return crypto_ablkcipher_crt(tfm)->reqsize; 630 return crypto_ablkcipher_crt(tfm)->reqsize;
630} 631}
@@ -766,7 +767,7 @@ static inline int crypto_aead_decrypt(struct aead_request *req)
766 return crypto_aead_crt(crypto_aead_reqtfm(req))->decrypt(req); 767 return crypto_aead_crt(crypto_aead_reqtfm(req))->decrypt(req);
767} 768}
768 769
769static inline int crypto_aead_reqsize(struct crypto_aead *tfm) 770static inline unsigned int crypto_aead_reqsize(struct crypto_aead *tfm)
770{ 771{
771 return crypto_aead_crt(tfm)->reqsize; 772 return crypto_aead_crt(tfm)->reqsize;
772} 773}