diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2007-08-29 19:02:04 +0800 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 16:55:42 -0700 |
commit | b16c3a2e2c0307f5370b2b5e18bcbe1437b5f3d8 (patch) | |
tree | d955dde777301254729287cc10061e65506977e0 /include/linux/crypto.h | |
parent | 5fa0fea27461f5ff7fad07687618db08272e9502 (diff) | |
download | op-kernel-dev-b16c3a2e2c0307f5370b2b5e18bcbe1437b5f3d8.zip op-kernel-dev-b16c3a2e2c0307f5370b2b5e18bcbe1437b5f3d8.tar.gz |
[CRYPTO] api: Fixed crypto_*_reqsize return type
This patch changes the return type of crypto_*_reqsize from int to
unsigned int which matches what the underlying type is (and should
be).
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/linux/crypto.h')
-rw-r--r-- | include/linux/crypto.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/crypto.h b/include/linux/crypto.h index b1c7f41..fc32694 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) return crt->decrypt(req); } -static inline int crypto_ablkcipher_reqsize(struct crypto_ablkcipher *tfm) +static inline unsigned int crypto_ablkcipher_reqsize( + struct crypto_ablkcipher *tfm) { return crypto_ablkcipher_crt(tfm)->reqsize; } @@ -766,7 +767,7 @@ static inline int crypto_aead_decrypt(struct aead_request *req) return crypto_aead_crt(crypto_aead_reqtfm(req))->decrypt(req); } -static inline int crypto_aead_reqsize(struct crypto_aead *tfm) +static inline unsigned int crypto_aead_reqsize(struct crypto_aead *tfm) { return crypto_aead_crt(tfm)->reqsize; } |