Lines Matching refs:algorithms
941 } algorithms[] = {
971 for (i = 0; algorithms[i].str != NULL; i++) {
972 len = strlen(algorithms[i].str);
973 if (strncasecmp(algorithms[i].str, str, len) == 0 &&
975 (algorithms[i].size != 0 && str[len] == '-')))
978 if (algorithms[i].str == NULL)
984 if (bits > algorithms[i].size)
986 } else if (algorithms[i].size == 0)
989 bits = algorithms[i].size;
992 switch (algorithms[i].hmac) {
1006 *typep = algorithms[i].type;