/foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/adapter/account/src/ |
D | account_delegate_impl.cpp | 204 std::string AccountDelegateImpl::Sha256UserId(const std::string &plainText) const in Sha256UserId() 207 if (!std::regex_match(plainText, pattern)) { in Sha256UserId() 208 return plainText; in Sha256UserId() 216 plainVal = static_cast<int64_t>(std::stoll(plainText, &sizeType)); in Sha256UserId() 219 plainText.substr(plainText.size() - int64MaxLen + 1, int64MaxLen - 1), &sizeType)); in Sha256UserId() 221 return plainText; in Sha256UserId()
|
D | account_delegate_impl.h | 54 std::string Sha256UserId(const std::string &plainText) const;
|
/foundation/distributedhardware/devicemanager/services/devicemanagerservice/include/adapter/ |
D | crypto_adapter.h | 25 …virtual int32_t MbedTlsEncrypt(const uint8_t *plainText, int32_t plainTextLen, uint8_t *cipherText, 27 …irtual int32_t MbedTlsDecrypt(const uint8_t *cipherText, int32_t cipherTextLen, uint8_t *plainText,
|
/foundation/distributedhardware/devicemanager/ext/mini/utils/src/cipher/ |
D | encrypt_utils.cpp | 104 int32_t EncryptUtils::MbedtlsEncrypt(const uint8_t *plainText, int32_t plainTextLen, uint8_t *ciphe… in MbedtlsEncrypt() argument 108 if (memcpy_s(cipherText, cipherTextLen, plainText, plainTextLen) != DEVICEMANAGER_OK) { in MbedtlsEncrypt() 115 … EncryptUtils::MbedtlsDecrypt(const uint8_t *cipherText, int32_t cipherTextLen, uint8_t *plainText, in MbedtlsDecrypt() argument 120 if (memcpy_s(plainText, plainTextLen, cipherText, cipherTextLen) != DEVICEMANAGER_OK) { in MbedtlsDecrypt()
|
/foundation/distributedhardware/devicemanager/ext/mini/utils/include/cipher/ |
D | encrypt_utils.h | 33 … static int32_t MbedtlsEncrypt(const uint8_t *plainText, int32_t plainTextLen, uint8_t *cipherText, 35 …static int32_t MbedtlsDecrypt(const uint8_t *cipherText, int32_t cipherTextLen, uint8_t *plainText,
|
/foundation/communication/wifi/services/wifi_standard/wifi_framework/common/utils/ |
D | wifi_global_func.cpp | 291 int HexStringToVec(const std::string &str, uint8_t plainText[], int plainLength, int &resultLength) in HexStringToVec() argument 304 plainText[i] = result[i]; in HexStringToVec() 323 std::string ConvertArrayToHex(const uint8_t plainText[], int size) in ConvertArrayToHex() argument 328 ss << ConvertArrayChar(plainText[i] >> bitWidth) << ConvertArrayChar (plainText[i] & 0xf); in ConvertArrayToHex()
|
D | wifi_global_func.h | 237 int HexStringToVec(const std::string &str, uint8_t plainText[], int plainLength, int &resultLength); 246 std::string ConvertArrayToHex(const uint8_t plainText[], int size);
|
/foundation/communication/dsoftbus/adapter/common/mbedtls/ |
D | softbus_adapter_crypto.c | 46 static int32_t MbedAesGcmEncrypt(const AesGcmCipherKey *cipherkey, const unsigned char *plainText, in MbedAesGcmEncrypt() argument 49 if ((cipherkey == NULL) || (plainText == NULL) || (plainTextSize == 0) || cipherText == NULL || in MbedAesGcmEncrypt() 67 GCM_IV_LEN, NULL, 0, plainText, cipherText + GCM_IV_LEN, TAG_LEN, tagBuf); in MbedAesGcmEncrypt()
|
/foundation/ace/ace_engine/frameworks/bridge/declarative_frontend/engine/functions/ |
D | js_drag_function.cpp | 42 auto plainText = JSVal(ToJSValue(pasteData_->GetPlainText())); in GetPlainText() local 43 auto plainTextRef = JSRef<JSVal>::Make(plainText); in GetPlainText()
|
/foundation/ace/ace_engine/frameworks/core/gestures/ |
D | gesture_info.h | 210 void SetPlainText(const std::string plainText) in SetPlainText() argument 212 plainText_ = plainText; in SetPlainText()
|