We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba35f39 commit c01530dCopy full SHA for c01530d
1 file changed
src/hmac.rs
@@ -46,6 +46,7 @@ pub const fn hmac_alg_to_hash_alg(alg: &HmacAlgorithm) -> HashAlgorithm {
46
}
47
48
49
+#[must_use]
50
pub const fn hmac_alg_to_prf_oid(alg: &HmacAlgorithm) -> SECOidTag::Type {
51
match alg {
52
HmacAlgorithm::HMAC_SHA2_256 => SECOidTag::SEC_OID_HMAC_SHA256,
0 commit comments