Minor fixups and doc updates.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
mod common;
|
||||
use common::hexstr;
|
||||
use emsha::{hmac, sha256, Hash, Result};
|
||||
use emsha::{Hash, Result, hmac, sha256};
|
||||
|
||||
#[test]
|
||||
fn test_hmac_00() -> Result<()> {
|
||||
|
||||
@@ -63,7 +63,6 @@ fn test_golden_tests() -> Result<()> {
|
||||
let mut s: [u8; 64] = [0; 64];
|
||||
|
||||
while i < golden_tests.len() {
|
||||
eprintln!("golden test: {:}", i);
|
||||
h.update(golden_tests[i].input)?;
|
||||
h.finalize(&mut d)?;
|
||||
hexstr(&d, &mut s);
|
||||
|
||||
Reference in New Issue
Block a user