diff --git a/src/aes128gcm.rs b/src/aes128gcm.rs index c1254a9..34d7dc0 100644 --- a/src/aes128gcm.rs +++ b/src/aes128gcm.rs @@ -27,7 +27,7 @@ const ECE_AES128GCM_NONCE_INFO: &str = "Content-Encoding: nonce\0"; // As for now it makes it easier to Ctrl + F into ecec :) /// Web Push encryption structure for the AES128GCM encoding scheme ([RFC8591](https://tools.ietf.org/html/rfc8291)) -/// +/// /// This structure is meant for advanced use. For simple encryption/decryption, use the top-level [`encrypt`](crate::encrypt) and [`decrypt`](crate::decrypt) functions. pub struct Aes128GcmEceWebPush; impl Aes128GcmEceWebPush { diff --git a/src/aesgcm.rs b/src/aesgcm.rs index ffde70c..4118606 100644 --- a/src/aesgcm.rs +++ b/src/aesgcm.rs @@ -88,7 +88,7 @@ impl AesGcmEncryptedBlock { } } /// Web Push encryption structure for the legacy AESGCM encoding scheme ([Web Push Encryption Draft 4](https://tools.ietf.org/html/draft-ietf-webpush-encryption-04)) -/// +/// /// This structure is meant for advanced use. For simple encryption/decryption, use the top-level [`encrypt_aesgcm`](crate::legacy::encrypt_aesgcm) and [`decrypt_aesgcm`](crate::legacy::decrypt_aesgcm) functions. pub struct AesGcmEceWebPush; impl AesGcmEceWebPush { diff --git a/src/legacy.rs b/src/legacy.rs index aa75e8b..72854cb 100644 --- a/src/legacy.rs +++ b/src/legacy.rs @@ -177,7 +177,6 @@ mod aesgcm_tests { ); } - #[test] fn test_decrypt_ietf_rfc() { // Test data from [IETF Web Push Encryption Draft 5](https://tools.ietf.org/html/draft-ietf-webpush-encryption-04#section-5)