Closed ghost closed 6 years ago
AES-CCM isn't build by default. Take a look to https://github.com/vibornoff/asmcrypto.js/blob/master/Gruntfile.js Once you need non-default features, follow the build process from README.md
Aha, OK. Thanks you very much!
AES-CCM isn't build by default. Take a look to https://github.com/vibornoff/asmcrypto.js/blob/master/Gruntfile.js Once you need non-default features, follow the build process from README.md
Apologies (since you've closed this). I'm not familiar with this build process. Do I need to do more than just add aes-ccm to the defaults array like this?
var defaults = [
'utils',
'globals',
'aes-cbc',
'aes-ccm',
I did this and re-ran npm install but I still don't see CCM in the resultant asmcrypto.js file.
I don't see any further information on the build process in README.MD.
This code:
is causing
I believe I've installed per the instructions and npm test does not generate any errors i.e. all tests pass.
Furthermore, this call works fine:
Is AES_CCM missing from the asmcrypto.js file that the build process generated?
See https://stackoverflow.com/questions/46846476/why-is-asmcrypto-giving-a-runtime-error-when-calling-aes-ccm-encrypt