Skip to content

Commit f81232f

Browse files
zonyitoobriansmith
authored andcommittedDec 27, 2019
Add HKDF HMAC-SHA1 for lagacy use
1 parent a5d3f2c commit f81232f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎src/hkdf.rs

+4
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ impl Algorithm {
3232
}
3333
}
3434

35+
/// HKDF using HMAC-SHA-1. Obsolete.
36+
pub static HKDF_SHA1_FOR_LEGACY_USE_ONLY: Algorithm =
37+
Algorithm(hmac::HMAC_SHA1_FOR_LEGACY_USE_ONLY);
38+
3539
/// HKDF using HMAC-SHA-256.
3640
pub static HKDF_SHA256: Algorithm = Algorithm(hmac::HMAC_SHA256);
3741

0 commit comments

Comments
 (0)
Please sign in to comment.