mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-26 22:35:43 +00:00
* infrastructure for handshake mechanism was implemented. sha256 was selected as first hash algorithm * check hash during compile in TVMso EP * add IPP-CRYPTO to external dependencies for TVM EP * made checkHash method constant * removed the public implementation of the SHA-256 algorithm so as not to cause a license conflict * implemented SHA-256 calculation using ipp-crypto library * fix dependency for ipp-crypto * add provider options for hash check * update documentation for added provider options * add hash check condition * fix docs * fix lint * fix ORT_THROW Co-authored-by: Valery Chernov <valery.chernov@deelvin.com> Co-authored-by: KJlaccHoeUM9l <wotpricol@mail.ru>
17 lines
466 B
CMake
17 lines
466 B
CMake
if (onnxruntime_USE_TVM)
|
|
message(STATUS "onnxruntime_USE_TVM: Fetch ipp-crypto for TVM EP")
|
|
|
|
FetchContent_Declare(
|
|
ipp_crypto
|
|
GIT_REPOSITORY https://github.com/intel/ipp-crypto.git
|
|
GIT_TAG ippcp_2021.5
|
|
)
|
|
|
|
FetchContent_GetProperties(ipp_crypto)
|
|
if(NOT ipp_crypto_POPULATED)
|
|
FetchContent_Populate(ipp_crypto)
|
|
endif()
|
|
|
|
set(ipp_crypto_INCLUDE_DIRS ${ipp_crypto_SOURCE_DIR}/include)
|
|
|
|
endif()
|