()
| 476 | |
| 477 | #[test] |
| 478 | fn test_sizes() { |
| 479 | let x = sha256(80); |
| 480 | println!("sha 80 bytes: {}", x.len()); |
| 481 | let x = sha256(32); |
| 482 | println!("sha 32 bytes: {}", x.len()); |
| 483 | let x = calculate_s(20, 30, 40, vec![7, 18, 3], true, false); |
| 484 | println!("compute s (xor) : {}", x.len()); |
| 485 | let x = calculate_s(20, 30, 40, vec![7, 18, 3], true, true); |
| 486 | println!("compute s (and) : {}", x.len()); |
| 487 | let x = schedule_iteration(16, 128, 128, 300, 400, false, true); |
| 488 | println!("schedule it : {}", x.len()); |
| 489 | let x = ch_calculation(10, 20, 30, 300); |
| 490 | println!("compute ch : {}", x.len()); |
| 491 | let x = maj_calculation(10, 20, 30, 300); |
| 492 | println!("compute maj : {}", x.len()); |
| 493 | } |
| 494 | |
| 495 | #[test] |
| 496 | fn test_shatemp() { |
nothing calls this directly
no test coverage detected