
The changes do not affect the public API: `RandomBuffer` was used internally for secure randomness generation before `crypto.getRandomValues` was made available to WebWorkers, requiring generating randomness in the main thread. As a result of the change, the internal `getRandomBytes()` and some functions that use it are no longer async.
15 lines
377 B
JavaScript
15 lines
377 B
JavaScript
module.exports = () => describe('Crypto', function () {
|
|
require('./cipher')();
|
|
require('./hash')();
|
|
require('./crypto.js')();
|
|
require('./elliptic.js')();
|
|
require('./ecdh.js')();
|
|
require('./pkcs5.js')();
|
|
require('./aes_kw.js')();
|
|
require('./gcm.js')();
|
|
require('./eax.js')();
|
|
require('./ocb.js')();
|
|
require('./rsa.js')();
|
|
require('./validate.js')();
|
|
});
|