summaryrefslogtreecommitdiff
path: root/ext/crypto/lib.rs
AgeCommit message (Collapse)Author
2021-12-13refactor(ext/crypto): clean up exportKey rust code (#13052)Luca Casonato
2021-12-10refactor(ext/crypto): clean up rust side importKey (#13036)Luca Casonato
This commit cleans up the Rust side of `import_key` by using a bunch of enums instead of structs with "type" and "data" fields. This commit does add some duplicated code for the time being, because a lot of the other ops still need to get the same cleanup treatment.
2021-12-09feat(crypto): support `importKey` in SPKI format (#12921)Yacine Hmito
This commit adds support for `spki` key format for `crypto.subtle.importKey` for the RSA* algorithms.
2021-11-22fix(ext/crypto): don't panic on decryption failure (#12840)Luca Casonato
2021-11-11fix(crypto): handling large key length in HKDF (#12692)upendra1997
2021-11-02chore: update to Rust edition 2021 (#12578)Bartek IwaƄczuk
2021-10-11feat(ext/crypto): support importing raw ECDSA keys (#11871)Divy Srivastava
2021-10-11feat(ext/crypto): implement AES-CBC encryption & decryption (#12123)Divy Srivastava
* initial stuff * stuff * merge stuff * cleanup * fmt * length * update lockfile * decrypt * fixy * clippy hello? * hmm * fixs * fix lint * add AesCbcParams * fixes * fixy * lockfile fixy * fix dumb assertions * re run CI * rerun CI * rerun CI
2021-10-08feat(ext/crypto): implement deriveBits for ECDH (p256) (#11873)Divy Srivastava
2021-10-06fix(ext/crypto): key generation based on AES key length (#12146)Divy Srivastava
2021-10-06feat(ext/crypto): export spki for RSA (#12114)Divy Srivastava
2021-10-05chore: various op cleanup (#12329)Leo K
2021-10-02feat(ext/crypto): decode RSAES-OAEP-params with default values (#12292)Divy Srivastava
2021-10-01fix(ext/crypto): use NotSupportedError for importKey() (#12289)Divy Srivastava
2021-10-01fix(ext/crypto): decode id-RSASSA-PSS with default params (#12147)Divy Srivastava
2021-09-16fix(ext/crypto): use DataError in importKey() (#12071)Divy Srivastava
2021-09-14feat(ext/crypto): import RSA pkcs#8 keys (#11891)Divy Srivastava
2021-09-13feat(ext/crypto): generate ECDH keys (#11870)Luca Casonato
Add support for ECDH algorithm in SubtleCrypto#generateKey.
2021-09-13feat(ext/crypto): export RSA keys as pkcs#8 (#11880)Divy Srivastava
2021-09-11feat(ext/crypto): implement HKDF operations (#11865)Divy Srivastava
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>
2021-09-11feat(ext/crypto): verify ECDSA signatures (#11739)Divy Srivastava
2021-08-31feat(ext/crypto): AES key generation (#11869)Luca Casonato
Support AES-CTR, AES-CBC, AES-GCM, and AES-KW in SubtleCrypto#generateKey.
2021-08-26feat(ext/crypto): implement importKey and deriveBits for PBKDF2 (#11642)Divy Srivastava
2021-08-24feat(ext/crypto): implement encrypt, decrypt & generateKey for RSA-OAEP (#11654)Divy Srivastava
2021-08-11Rename extensions/ directory to ext/ (#11643)Ryan Dahl