OpenSSL Provider: Support AES-CBC cipher, Random number and ECDSA - #181
prabakaranklst wants to merge 1 commit into
Conversation
License Check Results🚀 The license check job ran with the Bazel command: bazel run --lockfile_mode=error //:license-checkStatus: Click to expand output |
8646b94 to
2bc9f92
Compare
2bc9f92 to
3663934
Compare
3663934 to
a09091c
Compare
a09091c to
98ad814
Compare
|
@prabakaranklst first glance the changes looks good and welcoming. thanks :). could you join our weekly Security meeting tomorrow and give a short walk through the changes? I have not seen you in our security meetings so far or may be i missed it. let me know if you have any questions about the security group. |
|
@sunildevda This is my first PR in this repo. I can join the meeting tomorrow. |
98ad814 to
3b3f1e2
Compare
|
Documentation preview for this pull request is available at: |
|
Updating test cases to use NIST test vectors... |
3b3f1e2 to
eb83c6c
Compare
eb83c6c to
d87b395
Compare
d87b395 to
d8d188c
Compare
d8d188c to
3ab621f
Compare
|
@sunildevda I have updated AES-CBC & ECDSA tests utilizing NIST test vectors. Please let me know whom to assign for review or please assign the reviewers. |
|
@prabakaranklst have added Athul (@ChansAlive ) and Oliver (@OliverHeilwagen ) as reviewer from ETAS |
3ab621f to
0ddbd48
Compare
0ddbd48 to
7a235cb
Compare
7a235cb to
dfbb519
Compare
dfbb519 to
5a555dc
Compare
Implemented features on OpenSSL provider
Key-permission bug fix
Permissions were checked nowhere at context creation
The key binding and authorization is done during context creation for the intended operation. The daemon returns
kKeyOperationNotPermittedif permission check fails.PKCS#11 token objects dropped their slot policy
Updated
RegisterTokenObject()to use slot'sallowed_operationsinstead of hard-codedkNone.ExtractOptionalPermissions()read the wrong integer widthKeyOperationPermissionis serialised withwith_in_val_uint32(), but the parser looked for uint64_t. UpdatedExtractOptionalPermissions()to read correct integer width.Asymmetric keys now carry
public_key_permissionsseparately (std::nullopt = unrestricted, since a public key is public information)Closes #97, #104, #105, #118, #246