Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 75984
b: refs/heads/master
c: aedb30d
h: refs/heads/master
v: v3
  • Loading branch information
Herbert Xu committed Jan 10, 2008
1 parent 39c560b commit d15bcfe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3a282bd2e77966e7361fffbd5d1cea6eb0499b6c
refs/heads/master: aedb30dc49eeecd48558b601c47e0b3f9e42c602
6 changes: 3 additions & 3 deletions trunk/crypto/aead.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ static unsigned int crypto_aead_ctxsize(struct crypto_alg *alg, u32 type,
return alg->cra_ctxsize;
}

static int no_givdecrypt(struct aead_givcrypt_request *req)
static int no_givcrypt(struct aead_givcrypt_request *req)
{
return -ENOSYS;
}
Expand All @@ -93,8 +93,8 @@ static int crypto_init_aead_ops(struct crypto_tfm *tfm, u32 type, u32 mask)
crt->setkey = setkey;
crt->encrypt = alg->encrypt;
crt->decrypt = alg->decrypt;
crt->givencrypt = alg->givencrypt;
crt->givdecrypt = alg->givdecrypt ?: no_givdecrypt;
crt->givencrypt = alg->givencrypt ?: no_givcrypt;
crt->givdecrypt = alg->givdecrypt ?: no_givcrypt;
crt->ivsize = alg->ivsize;
crt->authsize = alg->maxauthsize;

Expand Down

0 comments on commit d15bcfe

Please sign in to comment.