Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 327664
b: refs/heads/master
c: d348f69
h: refs/heads/master
v: v3
  • Loading branch information
Johannes Berg committed Aug 20, 2012
1 parent 12af1a4 commit 1e154a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 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: 8b3d1cc213f96bfffb5b7808d859b9ad26149e82
refs/heads/master: d348f69f59af769c405c2f43a2d326d7123ef75a
6 changes: 1 addition & 5 deletions trunk/net/mac80211/aes_cmac.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,10 @@ static void gf_mulx(u8 *pad)
static void aes_128_cmac_vector(struct crypto_cipher *tfm, size_t num_elem,
const u8 *addr[], const size_t *len, u8 *mac)
{
u8 scratch[2 * AES_BLOCK_SIZE];
u8 *cbc, *pad;
u8 cbc[AES_BLOCK_SIZE], pad[AES_BLOCK_SIZE];
const u8 *pos, *end;
size_t i, e, left, total_len;

cbc = scratch;
pad = scratch + AES_BLOCK_SIZE;

memset(cbc, 0, AES_BLOCK_SIZE);

total_len = 0;
Expand Down

0 comments on commit 1e154a6

Please sign in to comment.