Compare commits
4 Commits
release@1.
...
release@1.
| Author | SHA1 | Date | |
|---|---|---|---|
|
f2260eff73
|
|||
|
4a5e7b9c11
|
|||
|
14a7a940de
|
|||
|
eca392007c
|
41
LICENSE
41
LICENSE
@@ -1,31 +1,28 @@
|
|||||||
Copyright (C) 2024, Leo Galambos
|
Copyright (C) 2026, Leo Galambos
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
|
||||||
Redistribution and use in source and binary forms, with or without modification,
|
Redistribution and use in source and binary forms, with or without
|
||||||
are permitted provided that the following conditions are met:
|
modification, are permitted provided that the following conditions are met:
|
||||||
|
|
||||||
1. Redistributions of source code must retain the above copyright notice, this
|
1. Redistributions of source code must retain the above copyright notice,
|
||||||
list of conditions and the following disclaimer.
|
this list of conditions and the following disclaimer.
|
||||||
|
|
||||||
2. Redistributions in binary form must reproduce the above copyright notice,
|
2. Redistributions in binary form must reproduce the above copyright notice,
|
||||||
this list of conditions and the following disclaimer in the documentation
|
this list of conditions and the following disclaimer in the documentation
|
||||||
and/or other materials provided with the distribution.
|
and/or other materials provided with the distribution.
|
||||||
|
|
||||||
3. All advertising materials mentioning features or use of this software must
|
3. Neither the name of the copyright holder nor the names of its contributors
|
||||||
display the following acknowledgement:
|
may be used to endorse or promote products derived from this software
|
||||||
This product includes software developed by the Egothor project.
|
without specific prior written permission.
|
||||||
|
|
||||||
4. Neither the name of the copyright holder nor the names of its contributors
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||||
may be used to endorse or promote products derived from this software without
|
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||||
specific prior written permission.
|
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||||
|
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
|
||||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||||
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||||
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||||
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
POSSIBILITY OF SUCH DAMAGE.
|
||||||
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
||||||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
||||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ dependencies {
|
|||||||
// Define dependency versions as constraints
|
// Define dependency versions as constraints
|
||||||
implementation 'org.apache.commons:commons-text:1.15.0'
|
implementation 'org.apache.commons:commons-text:1.15.0'
|
||||||
implementation 'commons-cli:commons-cli:1.11.0'
|
implementation 'commons-cli:commons-cli:1.11.0'
|
||||||
implementation 'org.bouncycastle:bcpkix-jdk18on:1.83'
|
implementation 'org.bouncycastle:bcpkix-jdk18on:1.84'
|
||||||
implementation 'org.egothor:conflux:[1.0,2.0)'
|
implementation 'org.egothor:conflux:[1.0,2.0)'
|
||||||
implementation 'org.apache.commons:commons-imaging:1.0.0-alpha6'
|
implementation 'org.apache.commons:commons-imaging:1.0.0-alpha6'
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -44,12 +44,12 @@ import java.util.Objects;
|
|||||||
import javax.security.auth.DestroyFailedException;
|
import javax.security.auth.DestroyFailedException;
|
||||||
|
|
||||||
import org.bouncycastle.crypto.SecretWithEncapsulation;
|
import org.bouncycastle.crypto.SecretWithEncapsulation;
|
||||||
import org.bouncycastle.pqc.crypto.bike.BIKEKEMExtractor;
|
|
||||||
import org.bouncycastle.pqc.crypto.bike.BIKEKEMGenerator;
|
|
||||||
import org.bouncycastle.pqc.crypto.bike.BIKEPrivateKeyParameters;
|
|
||||||
import org.bouncycastle.pqc.crypto.bike.BIKEPublicKeyParameters;
|
|
||||||
import org.bouncycastle.pqc.crypto.util.PrivateKeyFactory;
|
import org.bouncycastle.pqc.crypto.util.PrivateKeyFactory;
|
||||||
import org.bouncycastle.pqc.crypto.util.PublicKeyFactory;
|
import org.bouncycastle.pqc.crypto.util.PublicKeyFactory;
|
||||||
|
import org.bouncycastle.pqc.legacy.bike.BIKEKEMExtractor;
|
||||||
|
import org.bouncycastle.pqc.legacy.bike.BIKEKEMGenerator;
|
||||||
|
import org.bouncycastle.pqc.legacy.bike.BIKEPrivateKeyParameters;
|
||||||
|
import org.bouncycastle.pqc.legacy.bike.BIKEPublicKeyParameters;
|
||||||
|
|
||||||
import zeroecho.core.CryptoAlgorithm;
|
import zeroecho.core.CryptoAlgorithm;
|
||||||
import zeroecho.core.context.KemContext;
|
import zeroecho.core.context.KemContext;
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ plugins {
|
|||||||
dependencies {
|
dependencies {
|
||||||
testImplementation(project(":lib"))
|
testImplementation(project(":lib"))
|
||||||
testImplementation 'org.egothor:conflux:[1.0,2.0)'
|
testImplementation 'org.egothor:conflux:[1.0,2.0)'
|
||||||
testImplementation("org.bouncycastle:bcpkix-jdk18on:1.81")
|
testImplementation("org.bouncycastle:bcpkix-jdk18on:1.84")
|
||||||
testImplementation(platform("org.junit:junit-bom:5.10.2"))
|
testImplementation(platform("org.junit:junit-bom:5.10.2"))
|
||||||
testImplementation 'org.junit.jupiter:junit-jupiter'
|
testImplementation 'org.junit.jupiter:junit-jupiter'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user