Skip to content
This repository was archived by the owner on May 24, 2026. It is now read-only.

Changes for import and generate key along with some code optimizations - #6

Closed
cpathak wants to merge 6 commits into
divegeek:masterfrom
cpathak:master
Closed

Changes for import and generate key along with some code optimizations#6
cpathak wants to merge 6 commits into
divegeek:masterfrom
cpathak:master

Conversation

@cpathak

Copy link
Copy Markdown
Contributor

No description provided.

- removed command related classes and combined them into KMKeymasterApplet class
- removed context class as it is no longer needed.
- changed the random number generation logic to use aes cbc with aes 128 bit key encryption as simulator does not support aes ecb and aes 256 bit key.
- changed exception throwing to use ISOException.throwit() to use runtime environment's instance.
Implemented transient memory based code.
- Some Code optimizations.
- ImportKey, GenerateKey and GetKeyCharacteristics functionality.
- GetKeyCharacteristics only tested on jcardSim.
Code changes to crypto provider.
New feature implemented but not tested.
Removed untested code from KeymasterApplet.
- Tested only with jcard sim.
- Basic testing with Begin, Update, Finish and Abort.
- Basic testing with Upgrade Key, Delete Key, DeleteAllKeys.
@cpathakcpathak closed this Jun 16, 2020
@cpathak

Copy link
Copy Markdown
ContributorAuthor

I created a new pull request.

mdwivedi pushed a commit that referenced this pull request Dec 8, 2021
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@cpathak