MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / set_decryptKey

Method set_decryptKey

extra/yassl/src/crypto_wrapper.cpp:387–390  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

385
386
387void DES::set_decryptKey(const byte* k, const byte* iv)
388{
389 pimpl_->decryption.SetKey(k, DES_KEY_SZ, iv);
390}
391
392// DES encrypt plain of length sz into cipher
393void DES::encrypt(byte* cipher, const byte* plain, unsigned int sz)

Callers 4

setKeysMethod · 0.45
read_fileFunction · 0.45
DES_ede3_cbc_encryptFunction · 0.45
DES_ecb_encryptFunction · 0.45

Calls 1

SetKeyMethod · 0.45

Tested by

no test coverage detected