Skip to content

Commit be716c1

Browse files
committed
Merge publish script changes.
2 parents 82d3d09 + 8de784e commit be716c1

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

kryptnostic-api/publish.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ if( ( (branch.equals("develop") || branch.equals("master") || branch.contains("r
3636
signing {
3737
sign configurations.pom
3838
}
39-
39+
4040
publishing {
4141
repositories {
4242
maven {

kryptnostic-core/publish.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,4 +108,4 @@ if( ( (branch.equals("develop") || branch.equals("master") || branch.contains("r
108108
}
109109
}
110110
}
111-
}
111+
}

kryptnostic-core/src/test/java/com/kryptnostic/crypto/EncryptedSearchPrivateKeyTests.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ public void testQueryHasherPairGeneration() throws SingularMatrixException {
5555
BitVector encryptedSearchHash = privateKey.prepareSearchToken( fhePublicKey, term );
5656

5757
EnhancedBitMatrix expectedMatrix = EnhancedBitMatrix.squareMatrixfromBitVector( globalHash.apply( searchHash ) );
58+
5859
BitVector expected = BitVectors.fromMatrix( expectedMatrix.multiply( expectedMatrix ) );
5960

6061
Pair<SimplePolynomialFunction, SimplePolynomialFunction> p = privateKey.getQueryHasherPair(
@@ -76,6 +77,7 @@ public void testQueryHasherPairGeneration() throws SingularMatrixException {
7677
logger.info( "Evaluation took: {} ms", s.elapsed( TimeUnit.MILLISECONDS ) );
7778

7879
EnhancedBitMatrix intermediateL = EnhancedBitMatrix.squareMatrixfromBitVector( hL.apply( encryptedSearchHash ) );
80+
7981
EnhancedBitMatrix intermediateR = EnhancedBitMatrix.squareMatrixfromBitVector( hR.apply( encryptedSearchHash ) );
8082

8183
EnhancedBitMatrix documentKey = privateKey.newObjectKey();
@@ -95,5 +97,4 @@ public void testQueryHasherPairGeneration() throws SingularMatrixException {
9597
expectedMatrix ) );
9698
Assert.assertEquals( expected, actual );
9799
}
98-
99100
}

0 commit comments

Comments
 (0)