Home
last modified time | relevance | path

Searched defs:plain_data (Results 1 – 10 of 10) sorted by relevance

/third_party/mindspore/mindspore-src/source/mindspore/lite/src/extendrt/utils/
Dserialization.cc121 …auto plain_data = mindspore::Decrypt(&plain_data_size, reinterpret_cast<const unsigned char *>(mod… in Load() local
/third_party/mindspore/mindspore-src/source/mindspore/core/utils/
Dcrypto.cc285 bool BlockEncrypt(Byte *encrypt_data, size_t *encrypt_data_len, const std::vector<Byte> &plain_data in BlockEncrypt()
377 bool BlockDecrypt(Byte *plain_data, int32_t *plain_len, const Byte *encrypt_data, size_t encrypt_le… in BlockDecrypt()
423 std::unique_ptr<Byte[]> Encrypt(size_t *encrypt_len, const Byte *plain_data, size_t plain_len, cons… in Encrypt()
/third_party/mindspore/mindspore-src/source/mindspore/lite/src/extendrt/mindir_loader/mindir_model/
Dmindir_model.cc159 auto plain_data = std::make_unique<char[]>(file_size); in LoadTensorData() local
/third_party/openssl/test/
Dbftest.c88 static unsigned char plain_data[NUM_TESTS][8] = { variable
Ddestest.c70 static unsigned char plain_data[NUM_TESTS][8] = { variable
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/cxx_api/
Dserialization.cc128 …auto plain_data = mindspore::Decrypt(&plain_data_size, static_cast<const unsigned char *>(model_da… in Load() local
/third_party/mindspore/mindspore-src/source/mindspore/lite/src/extendrt/cxx_api/
Dserialization.cc152 …auto plain_data = mindspore::Decrypt(&plain_data_size, reinterpret_cast<const unsigned char *>(mod… in Load() local
/third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/train/
Dserialization.py324 def _write_parameter_data(name, value, f, enc_key, plain_data, crc_num=0, crc_check=False): argument
353 def _write_parameter_bytes_data(name, value, f, enc_key, plain_data, crc_num=0, crc_check=False): argument
/third_party/mindspore/mindspore-src/source/mindspore/core/load_mindir/
Dload_model.cc944 … auto plain_data = Decrypt(&plain_len, file, mindir_dec_key_, mindir_key_size_, mindir_dec_mode_); in GetTensorDataFromExternal() local
961 std::unique_ptr<char[]> plain_data(new (std::nothrow) char[file_size]); in GetTensorDataFromExternal() local
2554 …auto plain_data = Decrypt(&plain_len, path, loader->dec_key(), loader->key_len(), loader->dec_mode… in ParseModelProto() local
2577 …auto plain_data = Decrypt(&plain_len, path, loader->dec_key(), loader->key_len(), loader->dec_mode… in ParseGraphProto() local
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/pipeline/jit/ps/
Dpipeline.cc2701 py::bytes PyEncrypt(char *plain_data, size_t plain_len, char *key, size_t key_len, const std::strin… in PyEncrypt()