Lines Matching refs:algorithms
968 } algorithms[] = { { "hmac-md5", hmacmd5, DST_ALG_HMACMD5, 128 },
986 for (i = 0; algorithms[i].str != NULL; i++) {
987 len = strlen(algorithms[i].str);
988 if (strncasecmp(algorithms[i].str, str, len) == 0 &&
990 (algorithms[i].size != 0 && str[len] == '-')))
995 if (algorithms[i].str == NULL) {
1003 if (bits > algorithms[i].size) {
1006 } else if (algorithms[i].size == 0) {
1009 bits = algorithms[i].size;
1011 SET_IF_NOT_NULL(typep, algorithms[i].type);