/* To check if the CipherSuite is in supported CipherSuite list. */
BOOLEAN WifiMgrSupportCipherSuite(IN UINT16 SupportedCipherSuiteCount, IN UINT32 *SupportedCipherSuiteList, IN UINT32 *CipherSuite)
/* To check if the CipherSuite is in supported CipherSuite list. */
BOOLEAN WifiMgrSupportCipherSuite(IN UINT16 SupportedCipherSuiteCount, IN UINT32 *SupportedCipherSuiteList, IN UINT32 *CipherSuite)
{
  UINT16  Index;
  if ((CipherSuite == NULL) || (SupportedCipherSuiteCount == 0) ||
      (SupportedCipherSuiteList == NULL))
  {
    return FALSE;
  }
  for (Index = 0; Index < SupportedCipherSuiteCount; Index++) {
    if (SupportedCipherSuiteList[Index] == *CipherSuite) {
      return TRUE;
    }
  }
  return FALSE;
}