Searched refs:algos (Results 1 – 9 of 9) sorted by relevance
195 int have_algo(char* algo, size_t algolen, algo_type algos[]) { in have_algo() argument199 for (i = 0; algos[i].name != NULL; i++) { in have_algo()200 if (strlen(algos[i].name) == algolen in have_algo()201 && (strncmp(algos[i].name, algo, algolen) == 0)) { in have_algo()
66 int have_algo(char* algo, size_t algolen, algo_type algos[]);
14 algo.c Framework for handling various ciphers/hashes/algos,
322 public static void checkServerHostkeyAlgorithmsList(String[] algos) in checkServerHostkeyAlgorithmsList() argument324 for (int i = 0; i < algos.length; i++) in checkServerHostkeyAlgorithmsList()326 if (("ssh-rsa".equals(algos[i]) == false) && ("ssh-dss".equals(algos[i]) == false)) in checkServerHostkeyAlgorithmsList()327 throw new IllegalArgumentException("Unknown server host key algorithm '" + algos[i] + "'"); in checkServerHostkeyAlgorithmsList()337 public static void checkKexAlgorithmList(String[] algos) in checkKexAlgorithmList() argument339 for (int i = 0; i < algos.length; i++) in checkKexAlgorithmList()341 if ("diffie-hellman-group-exchange-sha1".equals(algos[i])) in checkKexAlgorithmList()344 if ("diffie-hellman-group14-sha1".equals(algos[i])) in checkKexAlgorithmList()347 if ("diffie-hellman-group1-sha1".equals(algos[i])) in checkKexAlgorithmList()350 throw new IllegalArgumentException("Unknown kex algorithm '" + algos[i] + "'"); in checkKexAlgorithmList()
1231 public synchronized void setServerHostKeyAlgorithms(String[] algos) in setServerHostKeyAlgorithms() argument1233 if ((algos == null) || (algos.length == 0)) in setServerHostKeyAlgorithms()1236 algos = removeDuplicates(algos); in setServerHostKeyAlgorithms()1237 KexManager.checkServerHostkeyAlgorithmsList(algos); in setServerHostKeyAlgorithms()1238 cryptoWishList.serverHostKeyAlgorithms = algos; in setServerHostKeyAlgorithms()
305 String[] algos = recommendHostkeyAlgorithms(hostname); in getPreferredServerHostkeyAlgorithmOrder() local307 if (algos != null) in getPreferredServerHostkeyAlgorithmOrder()309 return algos; in getPreferredServerHostkeyAlgorithmOrder()325 algos = recommendHostkeyAlgorithms(ipAdresses[i].getHostAddress()); in getPreferredServerHostkeyAlgorithmOrder()327 if (algos != null) in getPreferredServerHostkeyAlgorithmOrder()329 return algos; in getPreferredServerHostkeyAlgorithmOrder()
102 o Fixed NAT-T with more proposals (e.g. more crypto algos).
280 apply a common optimization in STLport algos for random access281 iterators to fill and fill_n algos.
149 …-- Added "easy button" define LTC_EASY and LTC will build with a subset of all the algos. Reduces…