pub struct HkdfLabelSha256;Expand description
HKDF Labels with SHA256 which are used in HKDF-Extract-Expand Key through TLS 1.3 Key Schedule
Implementations§
Source§impl HkdfLabelSha256
impl HkdfLabelSha256
pub fn tls13_c_e_traffic(ctx: &[u8; 32]) -> [u8; 54]
pub const fn tls13_res_binder() -> [u8; 20]
Sourcepub fn tls13_derived_secret_sha256() -> [u8; 49]
pub fn tls13_derived_secret_sha256() -> [u8; 49]
Used for “derived” Application keys phase (same as early_secret feeding handshake)
Sourcepub fn tls13_early_secret_sha256() -> [u8; 49]
pub fn tls13_early_secret_sha256() -> [u8; 49]
Early secret has empty SHA256 ctx given no PSK
pub fn tls13_hanshake_finished(hash_len: u8) -> [u8; 18]
pub fn tls13_secret_key(key_len: u8) -> [u8; 13]
pub fn tls13_secret_iv(iv_len: u8) -> [u8; 12]
Sourcepub fn tls13_client_handshake_traffic(ctx: &[u8; 32]) -> [u8; 54]
pub fn tls13_client_handshake_traffic(ctx: &[u8; 32]) -> [u8; 54]
Handshake traffic uses Client+ServerHello Transcript hash for ctx
pub fn tls13_server_handshake_traffic(ctx: &[u8; 32]) -> [u8; 54]
pub fn tls13_client_application_traffic(ctx: &[u8; 32]) -> [u8; 54]
pub fn tls13_server_application_traffic(ctx: &[u8; 32]) -> [u8; 54]
Auto Trait Implementations§
impl Freeze for HkdfLabelSha256
impl RefUnwindSafe for HkdfLabelSha256
impl Send for HkdfLabelSha256
impl Sync for HkdfLabelSha256
impl Unpin for HkdfLabelSha256
impl UnwindSafe for HkdfLabelSha256
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more