Skip to content

Commit 3ebf7b9

Browse files
committed
Apply fixes
1 parent 2dba183 commit 3ebf7b9

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

crates/bitwarden-crypto/src/keys/fingerprint.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,10 @@ fn derive_fingerprint(fingerprint_parts: Vec<Vec<u8>>) -> PublicKeyFingerprint {
7171
/// concatenation of the bytes, and thus may lead to the same hash for different (N,E) pairs.
7272
///
7373
/// This function hashes each input separately, concatenates the hashes, and then hashes the result.
74+
///
7475
/// Assumption: H is a cryptographic hash function, with respect to:
7576
/// - Second pre-image resistance
77+
///
7678
/// Assumption: H's output has a constant length output HS
7779
///
7880
/// Specifically, the construction is:

crates/bitwarden-crypto/src/signing/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ mod claims;
44
pub use claims::SignedPublicKeyOwnershipClaim;
55
mod namespace;
66
pub use namespace::SigningNamespace;
7-
mod signing;
8-
pub use signing::*;
7+
mod sign;
8+
pub use sign::*;

0 commit comments

Comments
 (0)