Juan Lang : crypt32: Add basic constraints to chain quality selection algorithm.