We set the export flag for 512 *bit* keys, not 512 *byte* ones.