This commit is contained in:
Ryan Kelly 2021-02-03 15:23:54 +11:00
Родитель 51e7fb6238
Коммит 60c17141ff
3 изменённых файлов: 2 добавлений и 3 удалений

Просмотреть файл

@ -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 {

Просмотреть файл

@ -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 {

Просмотреть файл

@ -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)