Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move docs for sealed sender v1/v2 to the appropriate method docstrings #366

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion rust/protocol/src/kdf.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright 2020 Signal Messenger, LLC.
// Copyright 2020-2021 Signal Messenger, LLC.
// SPDX-License-Identifier: AGPL-3.0-only
//

Expand All @@ -8,6 +8,9 @@ use crate::{Result, SignalProtocolError};
use hmac::{Hmac, Mac, NewMac};
use sha2::Sha256;

/// Implement the HMAC-based key derivation function from [RFC 5489].
///
/// [RFC 5489]: https://datatracker.ietf.org/doc/html/rfc5869
#[derive(Clone, Copy, Debug)]
pub struct HKDF {
iteration_start_offset: u8,
Expand Down
Loading