Skip to content

Commit

Permalink
Add package doc and move LongAESRF to aes package
Browse files Browse the repository at this point in the history
  • Loading branch information
rheitjoh committed Jun 23, 2021
1 parent 6cfbff8 commit 3bd1e03
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
package org.cryptimeleon.math.prf.zn;
package org.cryptimeleon.math.prf.aes;

import org.cryptimeleon.math.misc.ByteArrayImpl;
import org.cryptimeleon.math.prf.PrfKey;
import org.cryptimeleon.math.prf.PrfPreimage;
import org.cryptimeleon.math.prf.PseudorandomFunction;
import org.cryptimeleon.math.prf.aes.AesPseudorandomFunction;
import org.cryptimeleon.math.serialization.Representation;
import org.cryptimeleon.math.serialization.annotations.ReprUtil;
import org.cryptimeleon.math.serialization.annotations.Represented;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/**
* Contains an implementation of an AES-based pseudorandom function.
*/
package org.cryptimeleon.craco.prf.aes;
package org.cryptimeleon.math.prf.aes;
2 changes: 1 addition & 1 deletion src/main/java/org/cryptimeleon/math/prf/package-info.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/**
* Contains basic interfaces related to pseudorandom functions.
*/
package org.cryptimeleon.craco.prf;
package org.cryptimeleon.math.prf;
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import org.cryptimeleon.math.misc.ByteArrayImpl;
import org.cryptimeleon.math.prf.PrfKey;
import org.cryptimeleon.math.prf.aes.AesPseudorandomFunction;
import org.cryptimeleon.math.prf.aes.LongAesPseudoRandomFunction;
import org.cryptimeleon.math.serialization.Representation;
import org.cryptimeleon.math.serialization.StandaloneRepresentable;
import org.cryptimeleon.math.serialization.annotations.ReprUtil;
Expand Down
4 changes: 4 additions & 0 deletions src/main/java/org/cryptimeleon/math/prf/zn/package-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* Contains an implementation of a Hash-then-Prf-to-Zn construction.
*/
package org.cryptimeleon.math.prf.zn;
2 changes: 1 addition & 1 deletion src/test/java/org/cryptimeleon/math/prf/PrfTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import org.cryptimeleon.math.misc.ByteArrayImpl;
import org.cryptimeleon.math.prf.aes.AesPseudorandomFunction;
import org.cryptimeleon.math.prf.zn.LongAesPseudoRandomFunction;
import org.cryptimeleon.math.prf.aes.LongAesPseudoRandomFunction;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import org.cryptimeleon.math.hash.impl.SHA256HashFunction;
import org.cryptimeleon.math.prf.aes.AesPseudorandomFunction;
import org.cryptimeleon.math.prf.zn.HashThenPrfToZn;
import org.cryptimeleon.math.prf.zn.LongAesPseudoRandomFunction;
import org.cryptimeleon.math.prf.aes.LongAesPseudoRandomFunction;
import org.cryptimeleon.math.serialization.standalone.StandaloneReprSubTest;
import org.cryptimeleon.math.structures.rings.zn.Zn;

Expand Down

0 comments on commit 3bd1e03

Please sign in to comment.