GPG: Optimizations, and bump max length to 32.