Fix tiny_keccak

This commit is contained in:
Sergey Pepyakin 2019-09-28 18:46:56 +02:00
parent 59ab1c8d78
commit c1d2281c4e
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ pub extern "C" fn prepare_tiny_keccak() -> *const TinyKeccakTestData {
}
#[no_mangle]
pub extern "C" fn bench_tiny_keccak(test_data: *const TinyKeccakTestData) {
pub extern "C" fn bench_tiny_keccak(test_data: *mut TinyKeccakTestData) {
unsafe {
let mut keccak = Keccak::new_keccak256();
keccak.update((*test_data).data);