divide PKCS11_generate_key_on_board() from PKCS11_generate_key()