libopensc: APDU 'allocate & copy'and 'free' procedures
SM: common SM 'increase-sequence-counter' procedure