Home
last modified time | relevance | path

Searched refs:cipherBuf (Results 1 - 3 of 3) sorted by relevance

/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/utils/
H A Dwifi_encryption_util.cpp121 uint8_t cipherBuf[AES_COMMON_SIZE] = {0}; in WifiEncryption() local
124 .data = cipherBuf in WifiEncryption()
133 encryptedData.encryptedPassword = ConvertArrayToHex(cipherBuf, cipherData.size); in WifiEncryption()
146 uint8_t cipherBuf[AES_COMMON_SIZE] = {0}; in WifiDecryption() local
148 int32_t retStrToArrat = HexStringToVec(encryptedData.encryptedPassword, cipherBuf, AES_COMMON_SIZE, length); in WifiDecryption()
163 struct HksBlob cipherData = { length, cipherBuf }; in WifiDecryption()
356 uint8_t *cipherBuf = reinterpret_cast<uint8_t*>(const_cast<char*>(encryptedData.encryptedPassword.c_str())); in DecryptParamSet() local
361 struct HksBlob decryptAead = { AEAD_SIZE, cipherBuf + cipherLength - AEAD_SIZE }; in DecryptParamSet()
407 uint8_t *cipherBuf = (uint8_t *)malloc(inputString.length() + AEAD_SIZE); in WifiLoopEncrypt() local
408 if (cipherBuf in WifiLoopEncrypt()
454 uint8_t *cipherBuf = reinterpret_cast<uint8_t*>(const_cast<char*>(encryptedData.encryptedPassword.c_str())); WifiLoopDecrypt() local
[all...]
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/crypto/src/
H A Dcrypto_manager.cpp156 uint8_t cipherBuf[256] = { 0 }; in Encrypt() local
157 struct HksBlob cipherText = { sizeof(cipherBuf), cipherBuf }; in Encrypt()
166 (void)memset_s(cipherBuf, sizeof(cipherBuf), 0, sizeof(cipherBuf)); in Encrypt()
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/src/
H A Dsecurity_manager.cpp228 uint8_t cipherBuf[256] = { 0 }; in Encrypt() local
229 struct HksBlob cipherText = { sizeof(cipherBuf), cipherBuf }; in Encrypt()
237 (void)memset_s(cipherBuf, sizeof(cipherBuf), 0, sizeof(cipherBuf)); in Encrypt()

Completed in 3 milliseconds