This commit is contained in:
Steven Fackler 2016-10-15 12:31:30 -07:00
parent 4d567358a1
commit ea8cbbe9dc
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ impl PKey {
} }
} }
/// Create a new `PKey` containing an HAMC key. /// Create a new `PKey` containing an HMAC key.
pub fn hmac(key: &[u8]) -> Result<PKey, ErrorStack> { pub fn hmac(key: &[u8]) -> Result<PKey, ErrorStack> {
unsafe { unsafe {
assert!(key.len() <= c_int::max_value() as usize); assert!(key.len() <= c_int::max_value() as usize);