Skip to content

Commit 0e53ada

Browse files
authored
Merge pull request #28 from OpenCryptoProject/devel (Release 2.0)
Release 2.0 Really major update of the JCMathLib, making it working with range of modern cards, adding new operations and significantly improving performance of existing ones. The tests were independently verified on Linux and Windows OSes with several different physical readers. Thank you @dufkan, this is major contrbution !
2 parents e0d9077 + 0757c18 commit 0e53ada

File tree

428 files changed

+5538
-41833
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

428 files changed

+5538
-41833
lines changed
File renamed without changes.
File renamed without changes.

.github/workflows/ant.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.

.github/workflows/gradle.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Unit tests
2+
3+
on:
4+
push:
5+
branches: [ master, ints ]
6+
pull_request:
7+
branches: [ master, ints ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout repository with submodules
16+
uses: actions/checkout@v3
17+
with:
18+
submodules: recursive
19+
- name: Set up JDK 11
20+
uses: actions/setup-java@v3
21+
with:
22+
distribution: 'temurin'
23+
java-version: '11'
24+
- name: Run tests
25+
run: ./gradlew test
26+
- name: Run JavaCard build
27+
run: ./gradlew buildJavaCard

.github/workflows/package.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Package JCMathLib
2+
3+
on:
4+
push:
5+
branches: ['master', 'ints']
6+
7+
jobs:
8+
package:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Checkout repository
13+
uses: actions/checkout@v3
14+
- name: Package JCMathLib
15+
run: python package.py
16+
- name: Archive artifact
17+
uses: actions/upload-artifact@v3
18+
with:
19+
name: JCMathLib
20+
path: jcmathlib.java

.gitignore

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020

2121
*.csv
2222

23-
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
24-
hs_err_pid*
25-
/JCMathLibTests/build/
26-
/JCMathLibTests/dist/
27-
/JCMathLibExamples/build/
28-
/JCMathLibExamples/dist/
23+
# IDE files
24+
.idea/
25+
26+
# Build files
27+
.gradle/
28+
applet/build/

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "libs-sdks"]
2+
path = libs-sdks
3+
url = https://github.com/martinpaljak/oracle_javacard_sdks.git

CITATION.cff

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
cff-version: 1.2.0
2+
message: "If you use this software, please cite it as below."
3+
authors:
4+
- family-names: "Mavroudis"
5+
given-names: "Vasilios"
6+
- family-names: "Svenda"
7+
given-names: "Petr"
8+
- family-names: "Dufka"
9+
given-names: "Antonin"
10+
title: "JCMathLib"
11+
version: 2.0
12+
url: "https://github.com/OpenCryptoProject/JCMathLib"
13+
preferred-citation:
14+
type: conference-paper
15+
authors:
16+
- family-names: "Mavroudis"
17+
given-names: "Vasilios"
18+
- family-names: "Svenda"
19+
given-names: "Petr"
20+
title: "JCMathLib: Wrapper Cryptographic Library for Transparent and Certifiable JavaCard Applets"
21+
conference: "2020 IEEE European Symposium on Security and Privacy Workshops (EuroS&PW)"
22+
start: 89
23+
end: 96
24+
doi: "10.1109/EuroSPW51379.2020.00022"
25+
publisher: "IEEE"

JCMathLib/!uploader/.gitignore

Lines changed: 0 additions & 4 deletions
This file was deleted.

JCMathLib/ext/ant-javacard.jar

-49.2 KB
Binary file not shown.

JCMathLib/ext/gp.exe

-2.16 MB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

JCMathLib/ext/java_card_kit-2_2_1/bin/apdutool

Lines changed: 0 additions & 15 deletions
This file was deleted.

JCMathLib/ext/java_card_kit-2_2_1/bin/capdump

Lines changed: 0 additions & 15 deletions
This file was deleted.

JCMathLib/ext/java_card_kit-2_2_1/bin/capgen

Lines changed: 0 additions & 15 deletions
This file was deleted.

JCMathLib/ext/java_card_kit-2_2_1/bin/converter

Lines changed: 0 additions & 15 deletions
This file was deleted.
-576 KB
Binary file not shown.

JCMathLib/ext/java_card_kit-2_2_1/bin/exp2text

Lines changed: 0 additions & 15 deletions
This file was deleted.

JCMathLib/ext/java_card_kit-2_2_1/bin/jcwde

Lines changed: 0 additions & 15 deletions
This file was deleted.

JCMathLib/ext/java_card_kit-2_2_1/bin/scriptgen

Lines changed: 0 additions & 15 deletions
This file was deleted.

JCMathLib/ext/java_card_kit-2_2_1/bin/verifycap

Lines changed: 0 additions & 15 deletions
This file was deleted.

JCMathLib/ext/java_card_kit-2_2_1/bin/verifyexp

Lines changed: 0 additions & 15 deletions
This file was deleted.

JCMathLib/ext/java_card_kit-2_2_1/bin/verifyrev

Lines changed: 0 additions & 15 deletions
This file was deleted.
Binary file not shown.
Binary file not shown.
Binary file not shown.

JCMathLib/ext/java_card_kit-2_2_2-win/bin/apdutool.bat

Lines changed: 0 additions & 25 deletions
This file was deleted.

JCMathLib/ext/java_card_kit-2_2_2-win/bin/capdump.bat

Lines changed: 0 additions & 25 deletions
This file was deleted.

JCMathLib/ext/java_card_kit-2_2_2-win/bin/capgen.bat

Lines changed: 0 additions & 25 deletions
This file was deleted.

JCMathLib/ext/java_card_kit-2_2_2-win/bin/converter.bat

Lines changed: 0 additions & 25 deletions
This file was deleted.
Binary file not shown.

0 commit comments

Comments
 (0)