-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
[Fix](function) Refine crypto functions signature to fix wrong result #40285
Conversation
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
run buildall |
run buildall |
TPC-H: Total hot run time: 37867 ms
|
TPC-DS: Total hot run time: 192218 ms
|
ClickBench: Total hot run time: 31.95 s
|
run buildall |
TPC-H: Total hot run time: 38444 ms
|
TPC-DS: Total hot run time: 187442 ms
|
ClickBench: Total hot run time: 31.96 s
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
…apache#40285) ## Proposed changes Issue Number: close #xxx 1. remove all `aes/sm4_{encrypt/decrypt}_v2` functions signatures. 2. before for 2 args, always use `XXX_128_ECB`, now fixed it. we will use `block_encryption_mode` when 2/3 args are given. 2.1. before this, we wrongly used `AES_128_ECB` for SM4_ENCRYPT 4. for `AES_ENCRYPT` with 2 args, we wrongly use `'AES_128_ECB'` as its default initial string. now fixed it. docs: apache/doris-website#1083
…#40285) ## Proposed changes Issue Number: close #xxx 1. remove all `aes/sm4_{encrypt/decrypt}_v2` functions signatures. 2. before for 2 args, always use `XXX_128_ECB`, now fixed it. we will use `block_encryption_mode` when 2/3 args are given. 2.1. before this, we wrongly used `AES_128_ECB` for SM4_ENCRYPT 4. for `AES_ENCRYPT` with 2 args, we wrongly use `'AES_128_ECB'` as its default initial string. now fixed it. docs: apache/doris-website#1083
Proposed changes
Issue Number: close #xxx
aes/sm4_{encrypt/decrypt}_v2
functions signatures.XXX_128_ECB
, now fixed it. we will useblock_encryption_mode
when 2/3 args are given.2.1. before this, we wrongly used
AES_128_ECB
for SM4_ENCRYPTAES_ENCRYPT
with 2 args, we wrongly use'AES_128_ECB'
as its default initial string. now fixed it.docs: apache/doris-website#1083