Searched refs:algorithmNames (Results 1 – 1 of 1) sorted by relevance
201 private static void validateAllowedAlgorithms(@NonNull List<String> algorithmNames) { in validateAllowedAlgorithms() argument202 VpnProfile.validateAllowedAlgorithms(algorithmNames); in validateAllowedAlgorithms()205 if (algorithmNames.contains(IpSecAlgorithm.AUTH_HMAC_MD5) in validateAllowedAlgorithms()206 || algorithmNames.contains(IpSecAlgorithm.AUTH_HMAC_SHA1)) { in validateAllowedAlgorithms()211 if (hasAeadAlgorithms(algorithmNames) || hasNormalModeAlgorithms(algorithmNames)) { in validateAllowedAlgorithms()223 public static boolean hasAeadAlgorithms(@NonNull List<String> algorithmNames) { in hasAeadAlgorithms() argument224 return algorithmNames.contains(IpSecAlgorithm.AUTH_CRYPT_AES_GCM); in hasAeadAlgorithms()232 public static boolean hasNormalModeAlgorithms(@NonNull List<String> algorithmNames) { in hasNormalModeAlgorithms() argument233 final boolean hasCrypt = algorithmNames.contains(IpSecAlgorithm.CRYPT_AES_CBC); in hasNormalModeAlgorithms()234 final boolean hasAuth = algorithmNames.contains(IpSecAlgorithm.AUTH_HMAC_SHA256) in hasNormalModeAlgorithms()[all …]