mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Use aws-lc-rs as rust-tls provider (#35106)
Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
This commit is contained in:
parent
534e78db53
commit
764feada30
11 changed files with 124 additions and 26 deletions
|
@ -93,7 +93,7 @@ profile_traits = { workspace = true }
|
|||
range = { path = "../range" }
|
||||
ref_filter_map = "1.0.1"
|
||||
regex = { workspace = true }
|
||||
ring = { workspace = true }
|
||||
aws-lc-rs = { workspace = true }
|
||||
script_bindings = { path = "../script_bindings" }
|
||||
script_layout_interface = { workspace = true }
|
||||
script_traits = { workspace = true }
|
||||
|
|
|
@ -12,6 +12,7 @@ use aes::cipher::{BlockDecryptMut, BlockEncryptMut, KeyIvInit, StreamCipher};
|
|||
use aes::{Aes128, Aes192, Aes256};
|
||||
use aes_gcm::{AeadInPlace, AesGcm, KeyInit};
|
||||
use aes_kw::{KekAes128, KekAes192, KekAes256};
|
||||
use aws_lc_rs::{digest, hkdf, hmac, pbkdf2};
|
||||
use base64::prelude::*;
|
||||
use cipher::consts::{U12, U16, U32};
|
||||
use dom_struct::dom_struct;
|
||||
|
@ -20,7 +21,6 @@ use js::jsapi::{JSObject, JS_NewObject};
|
|||
use js::jsval::ObjectValue;
|
||||
use js::rust::MutableHandleObject;
|
||||
use js::typedarray::ArrayBufferU8;
|
||||
use ring::{digest, hkdf, hmac, pbkdf2};
|
||||
use servo_rand::{RngCore, ServoRng};
|
||||
|
||||
use crate::dom::bindings::buffer_source::create_buffer_source;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue