This is an automated email from the ASF dual-hosted git repository.
yangzhg pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git.
from 6e052f4 [Doc][Website] blogs are sorted by date (#7491)
add 07e2acb [feature] Suport national secret (national commercial
password) algorithm SM3/SM4 (#7464)
No new revisions were added by this update.
Summary of changes:
be/src/exprs/encryption_functions.cpp | 179 +++++++++++++--
be/src/exprs/encryption_functions.h | 42 +++-
be/src/olap/data_dir.cpp | 84 ++++---
be/src/util/CMakeLists.txt | 3 +-
be/src/util/aes_util.cpp | 176 ---------------
be/src/util/encryption_util.cpp | 249 +++++++++++++++++++++
be/src/util/{aes_util.h => encryption_util.h} | 42 +++-
be/src/util/{md5.cpp => sm3.cpp} | 28 ++-
be/src/util/{md5.h => sm3.h} | 12 +-
be/test/exprs/encryption_functions_test.cpp | 179 ++++++++++++++-
be/test/util/CMakeLists.txt | 3 +-
be/test/util/aes_util_test.cpp | 93 --------
be/test/util/encryption_util_test.cpp | 145 ++++++++++++
be/test/util/sm3_test.cpp | 68 ++++++
docs/.vuepress/sidebar/en.js | 12 +
docs/.vuepress/sidebar/zh-CN.js | 12 +
docs/en/administrator-guide/variables.md | 36 ++-
.../sql-functions/encrypt-digest-functions/aes.md | 88 ++++++++
.../sql-functions/encrypt-digest-functions/md5.md} | 26 +--
.../encrypt-digest-functions/md5sum.md} | 35 +--
.../sql-functions/encrypt-digest-functions/sm3.md} | 26 +--
.../encrypt-digest-functions/sm3sum.md} | 35 +--
.../sql-functions/encrypt-digest-functions/sm4.md | 93 ++++++++
docs/zh-CN/administrator-guide/variables.md | 34 +++
.../sql-functions/encrypt-digest-functions/aes.md | 93 ++++++++
.../md5.md} | 26 +--
.../md5sum.md} | 35 +--
.../sm3.md} | 26 +--
.../sm3sum.md} | 35 +--
.../sql-functions/encrypt-digest-functions/sm4.md | 93 ++++++++
.../apache/doris/analysis/FunctionCallExpr.java | 88 +++++++-
.../java/org/apache/doris/qe/SessionVariable.java | 12 +
gensrc/script/doris_builtins_functions.py | 47 +++-
33 files changed, 1686 insertions(+), 469 deletions(-)
delete mode 100644 be/src/util/aes_util.cpp
create mode 100644 be/src/util/encryption_util.cpp
rename be/src/util/{aes_util.h => encryption_util.h} (59%)
copy be/src/util/{md5.cpp => sm3.cpp} (63%)
copy be/src/util/{md5.h => sm3.h} (88%)
delete mode 100644 be/test/util/aes_util_test.cpp
create mode 100644 be/test/util/encryption_util_test.cpp
create mode 100644 be/test/util/sm3_test.cpp
create mode 100644
docs/en/sql-reference/sql-functions/encrypt-digest-functions/aes.md
copy docs/{zh-CN/sql-reference/sql-functions/date-time-functions/monthname.md
=> en/sql-reference/sql-functions/encrypt-digest-functions/md5.md} (76%)
copy docs/{zh-CN/sql-reference/sql-functions/date-time-functions/dayofyear.md
=> en/sql-reference/sql-functions/encrypt-digest-functions/md5sum.md} (65%)
copy docs/{zh-CN/sql-reference/sql-functions/spatial-functions/st_polygon.md
=> en/sql-reference/sql-functions/encrypt-digest-functions/sm3.md} (65%)
copy docs/{zh-CN/sql-reference/sql-functions/spatial-functions/st_polygon.md
=> en/sql-reference/sql-functions/encrypt-digest-functions/sm3sum.md} (59%)
create mode 100644
docs/en/sql-reference/sql-functions/encrypt-digest-functions/sm4.md
create mode 100644
docs/zh-CN/sql-reference/sql-functions/encrypt-digest-functions/aes.md
copy docs/zh-CN/sql-reference/sql-functions/{date-time-functions/monthname.md
=> encrypt-digest-functions/md5.md} (76%)
copy docs/zh-CN/sql-reference/sql-functions/{date-time-functions/dayofyear.md
=> encrypt-digest-functions/md5sum.md} (66%)
copy docs/zh-CN/sql-reference/sql-functions/{spatial-functions/st_polygon.md
=> encrypt-digest-functions/sm3.md} (65%)
copy docs/zh-CN/sql-reference/sql-functions/{spatial-functions/st_polygon.md
=> encrypt-digest-functions/sm3sum.md} (59%)
create mode 100644
docs/zh-CN/sql-reference/sql-functions/encrypt-digest-functions/sm4.md
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]