-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xtest: combine AES and hash into crypto_perf #706
Conversation
76efda6
to
da59327
Compare
The asymmetric cipher app is buggy in many ways. Please test it and fix it so that it behaves as documented by
|
OK.I will test it and fix it. |
For $ xtest --asym-cipher-perf -a RSA_NOPAD -m ENC |
Not acceptable. There is no reason for a specific order here. |
-a is specific for RSA algorithm and it is different for enc or dec and sign or verify.So,it is valid without -m or -t parameters,but it is invalid to modify -m or -t parameter after -a parameter. |
There are many connections between parameters, For example,-a is specific for RSA algorithm, and ECDSA only accepts sign and verify… Is it acceptable to show it in usage?Or I should add some check of these parameters. |
The valid width_bits of dh,rsa,ecc are also different.I cannot use a default value to make all scenes valid. |
Maybe drop |
May I seperate this pull requerest into two? It would take some time to solve these problems.Is it acceptalbe to merge the refactoring of aes and hash first? I will add SM4 and asymmetric cipher algothms later. |
Sure. I agree it would help having the 1st commit be merged. Please create a new P-R for this commit. You can keep the applied review tags. |
|
IBART fails. @yuzexiyzx, could you rebase on master tip. I hope it will fix issues found by IBART. |
Not rebased |
No, this magic button (Update branch button of Github WebUI) will not do the job needed here. One way is to cherry pick your change on top of latest OP-TEE master branch, and then force push the result to your branch. For more info, see https://optee.readthedocs.io/en/latest/general/contribute.html#finalizing-your-contribution |
There is quite a bit of copy in these files.So, I cosonlidate the code to make it easier to maintain. Signed-off-by: Zexi Yu <[email protected]> Acked-by: Jerome Forissier <[email protected]> Acked-by: Etienne Carriere <[email protected]> Acked-by: Jens Wiklander <[email protected]>
@etienne-lms I have done that.Is the status right now? |
All good, can be merged IMO. |
I updated the commit subject and fixed a white space error reported by checkpatch. The commit is now merged into master as e18381f. Thanks @yuzexiyzx! |
There is quite a bit of copy in thes files.So, I cosonlidate th code to make it easier to maintain.