Skip to content

Pull latest changes - #27

Merged
BKSSMVenkateswarlu merged 28 commits into
BKSSMVenkateswarlu:masterfrom
divegeek:master
Aug 28, 2020
Merged

Pull latest changes#27
BKSSMVenkateswarlu merged 28 commits into
BKSSMVenkateswarlu:masterfrom
divegeek:master

Conversation

@BKSSMVenkateswarlu

Copy link
Copy Markdown
Owner

No description provided.

divegeekand others added 28 commits March 25, 2020 13:06
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.
Tested Import Wrapped key with jcard sim.
Optimization is still necessary.
Also fixed vts related requirement for rsa decryption without padding. JCardSim automaticaly removes the leading zeros after decryption. VTS test fails due to this.
- Added AES GCM cipher for begin, update and finish operations.
- Also added some bugfixes.
Also added some bug fixes related to EC key import.
- Generates AES GCM nonce if none passed.
- Frees pending operations if ISOException occurs
Added RSA OAEP based SHA1 and SHA256 encrypt and decrypt functionality.
This uses SunJce as jacardsim does not support it.
This uses RSA private key decryption with no padding from jcard sim to sign the data. The padding for pkcs1 and padding none is done before the jcard sim api is called.
However there is no way to verify the signature using jcard sim as the public key encryption without padding allows only 255 bytes of input data.
Added AttestKey command and provision command functionality. Currently JCardSim tests pass whereas OracleSimulator tests fails as the command strings are not correct and also commands larger then 256 bytes are failing. This will be fixed in later releases.
Added functionality for destroyAttestationIds.
Added support for ECDSA related subject pub key info in attest key certificate.
Bug fix related importwrappedkey and hmac key sizes to pass VTS tests.
Added two more enum values for boot state.
- EC Keys support in X509 subject pub key info
- AES CTR support
- OAEP 256 for import wrapped key
- hmac key size from 64 to 512
Request to review and merge latest code changes
Initial pull request of HAL Keymaster code
Bug fix for VTS tests
- Mainly bug fixes related to VTS bug fixes.
- Added ECDSA Non digest support.
All features and VTS related bug fixes and changes
@BKSSMVenkateswarlu
BKSSMVenkateswarlu merged commit 813a03c into BKSSMVenkateswarlu:masterAug 28, 2020
BKSSMVenkateswarlu pushed a commit that referenced this pull request Apr 1, 2021
…d_11_applet_upgrade_fix
Jc keymaster 41 android 11 applet upgrade fix
AvinashHedage pushed a commit to AvinashHedage/JavaCardKeymaster that referenced this pull request Feb 14, 2022
…eymaster_41_android_11_applet_upgrade_fix
Jc keymaster 41 android 11 applet upgrade fix
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@BKSSMVenkateswarlu@divegeek@cpathak