[backend][keygen] minor fixes/typos