Skip to content

Commit

Permalink
upgrade srtp
Browse files Browse the repository at this point in the history
  • Loading branch information
yngrtc committed Mar 2, 2024
1 parent 12e6a9d commit d819c93
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 12 deletions.
18 changes: 9 additions & 9 deletions srtp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,18 @@ shared = { path = "../shared", package = "shared", default-features = false, fea
rtp = { path = "../rtp", package = "rtp" }
rtcp = { path = "../rtcp", package = "rtcp" }

retty = "0.24.0"
retty = "0.24"
byteorder = "1"
bytes = "1"
thiserror = "1.0"
hmac = { version = "0.12.1", features = ["std", "reset"] }
sha1 = "0.10.5"
ctr = "0.8.0"
aes = "0.7.5"
hmac = { version = "0.12", features = ["std", "reset"] }
sha1 = "0.10"
ctr = "0.9"
aes = "0.8"
subtle = "2.4"
log = "0.4.16"
aead = { version = "0.4.3", features = ["std"] }
aes-gcm = { version = "0.10.1", features = ["std"] }
log = "0.4"
aead = { version = "0.5", features = ["std"] }
aes-gcm = { version = "0.10", features = ["std"] }

[dev-dependencies]
lazy_static = "1.4.0"
lazy_static = "1.4"
4 changes: 3 additions & 1 deletion srtp/src/cipher/cipher_aes_cm_hmac_sha1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ use shared::{
};

use aes::cipher::generic_array::GenericArray;
use aes::cipher::KeyIvInit;
use aes::cipher::StreamCipher;
use aes::cipher::StreamCipherSeek;
use byteorder::{BigEndian, ByteOrder, WriteBytesExt};
use bytes::{BufMut, BytesMut};
use ctr::cipher::{NewCipher, StreamCipher, StreamCipherSeek};
use hmac::{Hmac, Mac};
use sha1::Sha1;
use std::io::BufWriter;
Expand Down
5 changes: 3 additions & 2 deletions srtp/src/key_derivation.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
use aes::cipher::generic_array::GenericArray;
use aes::cipher::NewBlockCipher;
use aes::{Aes128, BlockEncrypt};
use aes::cipher::BlockEncrypt;
use aes::Aes128;
use aes_gcm::KeyInit;

use byteorder::{BigEndian, WriteBytesExt};
use std::io::BufWriter;
Expand Down

0 comments on commit d819c93

Please sign in to comment.