Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 108346
b: refs/heads/master
c: 318e531
h: refs/heads/master
v: v3
  • Loading branch information
Herbert Xu committed Aug 13, 2008
1 parent c4b7df5 commit 09b792c
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: dbaaba1d0abf6871c7db6e3d15a46206bc386db1
refs/heads/master: 318e5313923197e71a94f7b18835151649384b7f
18 changes: 18 additions & 0 deletions trunk/include/crypto/hash.h
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,24 @@ static inline int crypto_ahash_digest(struct ahash_request *req)
return crt->digest(req);
}

static inline int crypto_ahash_init(struct ahash_request *req)
{
struct ahash_tfm *crt = crypto_ahash_crt(crypto_ahash_reqtfm(req));
return crt->init(req);
}

static inline int crypto_ahash_update(struct ahash_request *req)
{
struct ahash_tfm *crt = crypto_ahash_crt(crypto_ahash_reqtfm(req));
return crt->update(req);
}

static inline int crypto_ahash_final(struct ahash_request *req)
{
struct ahash_tfm *crt = crypto_ahash_crt(crypto_ahash_reqtfm(req));
return crt->final(req);
}

static inline void ahash_request_set_tfm(struct ahash_request *req,
struct crypto_ahash *tfm)
{
Expand Down

0 comments on commit 09b792c

Please sign in to comment.