Commit c1b60898 authored by Roman Walch's avatar Roman Walch
Browse files

naming

parent 92799a62
......@@ -12,7 +12,7 @@ Please use the following BibTeX entry to cite our work in academic papers.
```tex
@misc{HashZKP,
title = {Hash functions for Zero-Knowledge applications Zoo},
title = {Hash functions for Zero-Knowledge applications Zoo},
howpublished = {\url{https://extgit.iaik.tugraz.at/krypto/zkfriendlyhashzoo}},
month = aug,
year = 2021,
......
[package]
name = "ZKHash"
name = "zkhash"
version = "0.1.0"
authors = ["Roman Walch <roman.walch@iaik.tugraz.at>"]
description = "Rust implementaiton of the ReinforcedConcrete permutation"
......
use criterion::{black_box, criterion_group, criterion_main, Criterion};
use rand::{thread_rng, Rng};
use ZKHash::fields::{bls12::FpBLS12, utils4};
use zkhash::fields::{bls12::FpBLS12, utils4};
type Scalar = FpBLS12;
......
use criterion::{black_box, criterion_group, criterion_main, Criterion};
use rand::{thread_rng, Rng};
use ZKHash::fields::{bn256::FpBN256, utils4};
use zkhash::fields::{bn256::FpBN256, utils4};
type Scalar = FpBN256;
......
use criterion::{black_box, criterion_group, criterion_main, Criterion};
use rand::{thread_rng, Rng};
use ZKHash::fields::{st::FpST, utils4};
use zkhash::fields::{st::FpST, utils4};
type Scalar = FpST;
......
use criterion::{black_box, criterion_group, criterion_main, Criterion};
use ff::PrimeField;
use rand::{thread_rng, Rng};
use ZKHash::fields::{bls12::FpBLS12, utils};
use zkhash::fields::{bls12::FpBLS12, utils};
type Scalar = FpBLS12;
......
use criterion::{black_box, criterion_group, criterion_main, Criterion};
use ff::PrimeField;
use rand::{thread_rng, Rng};
use ZKHash::fields::{bn256::FpBN256, utils};
use zkhash::fields::{bn256::FpBN256, utils};
type Scalar = FpBN256;
......
use criterion::{black_box, criterion_group, criterion_main, Criterion};
use ff::PrimeField;
use rand::{thread_rng, Rng};
use ZKHash::fields::{st::FpST, utils};
use zkhash::fields::{st::FpST, utils};
type Scalar = FpST;
......
......@@ -9,9 +9,9 @@ use random::thread_rng;
use random::Rng;
use sha2::{Digest, Sha256};
use sha3::Sha3_256;
use ZKHash::pedersen_hash::pedersen_hash::pedersen_hash;
use ZKHash::pedersen_hash::pedersen_hash::Personalization;
use ZKHash::sinsemilla::sinsemilla::{
use zkhash::pedersen_hash::pedersen_hash::pedersen_hash;
use zkhash::pedersen_hash::pedersen_hash::Personalization;
use zkhash::sinsemilla::sinsemilla::{
i2lebsp_k, HashDomain, L_ORCHARD_MERKLE, MERKLE_CRH_PERSONALIZATION,
};
......
use criterion::{black_box, criterion_group, criterion_main, Criterion};
use ZKHash::{
use zkhash::{
feistel_mimc::{feistel_mimc::FeistelMimc, feistel_mimc_instances::FM_BLS_PARAMS},
fields::{bls12::FpBLS12, utils},
poseidon::{poseidon::Poseidon, poseidon_instance_bls12::POSEIDON_BLS_PARAMS},
......
use criterion::{black_box, criterion_group, criterion_main, Criterion};
use ZKHash::{
use zkhash::{
feistel_mimc::{feistel_mimc::FeistelMimc, feistel_mimc_instances::FM_BN_PARAMS},
fields::{bn256::FpBN256, utils},
poseidon::{poseidon::Poseidon, poseidon_instance_bn256::POSEIDON_BN_PARAMS},
......
use criterion::{black_box, criterion_group, criterion_main, Criterion};
use ZKHash::{
use zkhash::{
feistel_mimc::{feistel_mimc::FeistelMimc, feistel_mimc_instances::FM_ST_PARAMS},
fields::{st::FpST, utils},
poseidon::{poseidon::Poseidon, poseidon_instance_st::POSEIDON_ST_PARAMS},
......
use ZKHash::{
use zkhash::{
fields::{bls12::FpBLS12, utils},
reinforced_concrete::{
reinforced_concrete::ReinforcedConcrete, reinforced_concrete_instances::RC_BLS_PARAMS,
......
use ZKHash::{
use zkhash::{
fields::{bn256::FpBN256, utils},
reinforced_concrete::{
reinforced_concrete::ReinforcedConcrete, reinforced_concrete_instances::RC_BN_PARAMS,
......
use ZKHash::{
use zkhash::{
fields::{st::FpST, utils},
reinforced_concrete_st::{
reinforced_concrete_st::ReinforcedConcreteSt,
......
//! # ZKHash
//! # zkhash
//!
//! A pure Rust implementation of the ReinforcedConcrete Permutation
#![cfg_attr(feature = "asm", feature(asm))]
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment