openpgpjs/test/crypto/index.js
Dan Ristea 07bedf3392 Add symmetric encryption and MAC support
To enable stored messages to be protected using symmetric key encryption and validated
using message authentication codes, this set of changes adds support for storing
symmetric key material as Secret Key Packets, symmetric key encrypted session keys as
Public Key Encrypted Session Key Packets, and MAC tags as Signature Packets.

Co-authored-by: Konstantinos Andrikopoulos <kandrikopoulos@proton.ch>
Co-authored-by: Daniel Huigens <d.huigens@protonmail.com>
2025-02-05 14:22:31 +01:00

36 lines
865 B
JavaScript

import testBigInteger from './biginteger';
import testCipher from './cipher';
import testHash from './hash';
import testCrypto from './crypto';
import testElliptic from './elliptic';
import testBrainpoolRFC7027 from './brainpool_rfc7027';
import testECDH from './ecdh';
import testPKCS5 from './pkcs5';
import testAESKW from './aes_kw';
import testHKDF from './hkdf';
import testHMAC from './hmac';
import testGCM from './gcm';
import testEAX from './eax';
import testOCB from './ocb';
import testRSA from './rsa';
import testValidate from './validate';
export default () => describe('Crypto', function () {
testBigInteger();
testCipher();
testHash();
testCrypto();
testElliptic();
testBrainpoolRFC7027();
testECDH();
testPKCS5();
testAESKW();
testHKDF();
testHMAC();
testGCM();
testEAX();
testOCB();
testRSA();
testValidate();
});