keyfunc.sh.in, ktype.*: Make nub creation the job of `c_genkey'.