Skip to content

Commit

Permalink
Fix check to only run aes_init once
Browse files Browse the repository at this point in the history
  • Loading branch information
twiss committed Mar 29, 2018
1 parent 3adb482 commit 9dcaf4c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/aes/aes.asm.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,8 @@ export var AES_asm = function () {
aes_dec[t][s] = (aes_dec[t - 1][s] >>> 8) | (aes_dec[t - 1][s] << 24);
}
}

aes_init_done = true;
}

/**
Expand Down

0 comments on commit 9dcaf4c

Please sign in to comment.