Switches to asmcrypto-lite for AES

This commit is contained in:
Mahrud Sayrafi
2018-01-30 05:15:03 -08:00
committed by Sanjana Rajan
parent be2c605e5b
commit aba8a7a647
5 changed files with 14 additions and 1125 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -8,7 +8,7 @@
'use strict';
import aes from'./aes.js';
import aes from './aes.js';
import desModule from './des.js';
import cast5 from './cast5.js';
import twofish from './twofish.js';
@@ -16,9 +16,9 @@ import blowfish from './blowfish.js';
export default {
/** @see module:crypto/cipher/aes */
aes128: aes[128],
aes192: aes[192],
aes256: aes[256],
aes128: aes(128),
aes192: aes(192),
aes256: aes(256),
/** @see module:crypto/cipher/des.originalDes */
des: desModule.originalDes,
/** @see module:crypto/cipher/des.des */
@@ -33,4 +33,4 @@ export default {
idea: function() {
throw new Error('IDEA symmetric-key algorithm not implemented');
}
};
};