Home
last modified time | relevance | path

Searched defs:dec_key (Results 1 – 20 of 20) sorted by relevance

/third_party/mindspore/mindspore-src/source/mindspore/lite/src/litert/cxx_api/
Dserialization.cc30 Key::Key(const char *dec_key, size_t key_len) { in Key()
42 const Key &dec_key, const std::vector<char> &dec_mode) { in Load()
88 …zation::Load(const std::vector<char> &file, ModelType model_type, Graph *graph, const Key &dec_key, in Load()
137 … std::vector<Graph> *graphs, const Key &dec_key, const std::vector<char> &dec_mode) { in Load()
/third_party/mindspore/mindspore-src/source/include/api/
Dserialization.h145 const Key &dec_key, const std::string &dec_mode) { in Load()
149 …erialization::Load(const std::string &file, ModelType model_type, Graph *graph, const Key &dec_key, in Load()
155 const Key &dec_key, const std::string &dec_mode) { in Load()
Dmodel.h419 … const std::shared_ptr<Context> &model_context, const Key &dec_key, const std::string &dec_mode, in Build()
426const Key &dec_key, const std::string &dec_mode, const std::string &cropto_lib_path) { in Build()
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/cxx_api/
Dserialization.cc86 Key::Key(const char *dec_key, size_t key_len) { in Key()
103 const Key &dec_key, const std::vector<char> &dec_mode) { in Load()
159 …zation::Load(const std::vector<char> &file, ModelType model_type, Graph *graph, const Key &dec_key, in Load()
238 … std::vector<Graph> *graphs, const Key &dec_key, const std::vector<char> &dec_mode) { in Load()
/third_party/mindspore/mindspore-src/source/mindspore/lite/src/extendrt/cxx_api/
Dserialization.cc111 Key::Key(const char *dec_key, size_t key_len) { in Key()
128 const Key &dec_key, const std::vector<char> &dec_mode) { in Load()
183 …zation::Load(const std::vector<char> &file, ModelType model_type, Graph *graph, const Key &dec_key, in Load()
262 … std::vector<Graph> *graphs, const Key &dec_key, const std::vector<char> &dec_mode) { in Load()
/third_party/mindspore/mindspore-src/source/mindspore/core/load_mindir/
Dload_model.h72 …MindIRLoader(bool is_lite, const unsigned char *dec_key, const size_t key_len, const std::string &… in MindIRLoader()
95 const unsigned char *dec_key() const { return dec_key_; } in dec_key() function
Dload_model.cc341 void SetMindIRDecKey(const unsigned char *dec_key) { mindir_dec_key_ = dec_key; } in SetMindIRDecKey()
/third_party/mindspore/mindspore-src/source/mindspore/lite/src/extendrt/cxx_api/model/
Dmodel.cc54 …l(const std::string &cropto_lib_path, const void *model_buf, size_t model_size, const Key &dec_key, in DecryptModel()
108 const std::shared_ptr<Context> &model_context, const Key &dec_key, in Build()
164 const std::shared_ptr<Context> &model_context, const Key &dec_key, in Build()
/third_party/mindspore/mindspore-src/source/mindspore/lite/src/extendrt/utils/
Dserialization.cc95 mindspore::Graph *graph, const mindspore::Key &dec_key, in Load()
/third_party/mindspore/mindspore-src/source/mindspore/lite/src/litert/cxx_api/model/
Dmodel.cc52 …l(const std::string &cropto_lib_path, const void *model_buf, size_t model_size, const Key &dec_key, in DecryptModel()
70 const std::shared_ptr<Context> &model_context, const Key &dec_key, in Build()
176 const std::shared_ptr<Context> &model_context, const Key &dec_key, in Build()
/third_party/mindspore/mindspore-src/source/mindspore/lite/tools/converter/converter_lite/
Dconverter_flags.h66 std::string dec_key = ""; variable
/third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/train/
Dserialization.py1076 …nto_param_dict(ckpt_file_name, parameter_dict, specify_prefix, filter_prefix, choice_func, dec_key, argument
1140 dec_key=None, dec_mode="AES-GCM", specify_prefix=None, choice_func=None, argument
1255 def load_checkpoint_async(ckpt_file_name, net=None, strict_load=False, filter_prefix=None, dec_key=… argument
1406 def _parse_ckpt_proto(ckpt_file_name, dec_key, dec_mode, crc_check): argument
2691 … train_strategy_filename=None, strict_load=False, dec_key=None, dec_mode='AES-GCM'): argument
/third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/parallel/
Dcheckpoint_transform.py585dec_key=None, dec_mode="AES-GCM", specify_prefix=None, choice_func=None): argument
/third_party/rust/crates/rust-openssl/openssl/src/
Daes.rs311 let dec_key = AesKey::new_decrypt(&raw_key).unwrap(); in test_wrap_unwrap() localVariable
/third_party/mindspore/mindspore-src/source/mindspore/lite/java/src/main/java/com/mindspore/
DModel.java463 char[] dec_key, String dec_mod, String cropto_lib_path); in buildByPath()
466 char[] dec_key, String dec_mod, String cropto_lib_path); in buildByBuffer()
/third_party/openssl/test/
Dbad_dtls_test.c60 #define dec_key (key_block + 40) macro
/third_party/mindspore/mindspore-src/source/mindspore/lite/java/src/main/native/
Dmodel.cpp122 mindspore::Key dec_key{dec_key_data, key_len}; in Java_com_mindspore_Model_buildByBuffer() local
189 mindspore::Key dec_key{dec_key_data, key_len}; in Java_com_mindspore_Model_buildByPath() local
/third_party/mindspore/mindspore-src/source/mindspore/lite/examples/runtime_cpp/
Dmain.cc767 mindspore::Key dec_key; in RunEncryptedInfer() local
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/pipeline/jit/ps/
Dpipeline.cc2245 FuncGraphPtr LoadMindIR(const std::string &file_name, const char *dec_key, const size_t key_len, in LoadMindIR()
2431char *dec_key, const size_t key_len, const std::string &dec_mode) { in DynamicObfuscateMindIR()
/third_party/mindspore/mindspore-src/source/mindspore/lite/tools/benchmark/
Dbenchmark_unified_api.cc1319 Key dec_key; in CompileGraph() local