removed unused reference to sm_iasecc_rsa_generate
don't expect the card to specify the file length in generic tools

if sc_file_t.size == 0 we try to read 1024 bytes by default.
verifying the pin is a valid action