Home
last modified time | relevance | path

Searched refs:RSA_3072_SHA512 (Results 1 - 6 of 6) sorted by relevance

/developtools/hdc/src/common/
H A Ddefine_enum.h67 enum AuthVerifyType { RSA_ENCRYPT = 0, RSA_3072_SHA512 = 1, UNKNOWN = 100 }; enumerator
H A Ddefine_plus.h294 verifyType = AuthVerifyType::RSA_3072_SHA512; in HdcSession()
H A Dauth.cpp857 if (type == AuthVerifyType::RSA_3072_SHA512) { in RsaSignAndBase64()
H A Dsession.cpp1073 // told daemon, we support RSA_3072_SHA512 auth in WorkThreadInitSession()
1074 Base::TlvAppend(handshake.buf, TAG_AUTH_TYPE, std::to_string(AuthVerifyType::RSA_3072_SHA512)); in WorkThreadInitSession()
/developtools/hdc/src/daemon/
H A Ddaemon.cpp427 * If we know client support RSA_3072_SHA512 in AUTH_NONE phase in InitMod()
428 * Then told client that the server also support RSA_3072_SHA512 auth in InitMod()
431 if (hSession->verifyType == AuthVerifyType::RSA_3072_SHA512) { in InitMod()
433 Base::TlvAppend(handshake.buf, TAG_AUTH_TYPE, std::to_string(AuthVerifyType::RSA_3072_SHA512)); in InitMod()
434 WRITE_LOG(LOG_INFO, "client support RSA_3072_SHA512 auth for %u session", hSession->sessionId); in InitMod()
599 if (hSession->verifyType == AuthVerifyType::RSA_3072_SHA512) { in InitMod()
718 * Check if server support RSA_3072_SHA512 for auth in InitMod()
719 * if the value not contain RSA_3072_SHA512, We treat it not support in InitMod()
728 tlvMap[TAG_AUTH_TYPE] == std::to_string(AuthVerifyType::RSA_3072_SHA512)) { in InitMod()
729 hSession->verifyType = AuthVerifyType::RSA_3072_SHA512; in InitMod()
[all...]
/developtools/hdc/src/host/
H A Dserver.cpp429 * check if daemon support RSA_3072_SHA512 for auth in GetDaemonAuthType()
430 * it the value is not RSA_3072_SHA512, we use old auth algorithm in GetDaemonAuthType()
442 tlvmap[TAG_AUTH_TYPE] != std::to_string(AuthVerifyType::RSA_3072_SHA512)) { in GetDaemonAuthType()
446 hSession->verifyType = AuthVerifyType::RSA_3072_SHA512; in GetDaemonAuthType()

Completed in 9 milliseconds