Added ATR for ItalianCNS - Prov. BZ
sc-hsm: Add support for Koblitz curves secp192k1 and secp256k1 (Bitcoin)
tools: Add util_get_pin helper function

Using this helper PINs can be passed via the command line, stdin and an
environment variable.

For now only used in the openpgp tool.

closes #289
use util_get_pin in tools
fixed documentation of dnie-tool
Implementation of card_ctl function with SC_CARDCTL_GET_SERIALNR

Implementation of card_ctl function with SC_CARDCTL_GET_SERIALNR
Indenting fix and stronger limit on serial number length.
itacns_get_serialnr(): relaxed checking on sc_select_file returned length, added debug log.
itacns_get_serialnr(): check sc_read_binary() returned data length.
itacns_get_serialnr(): check sc_read_binary() returned data length.
itacns_get_serialnr(): check sc_read_binary() returned data length (only).
adjust send/receive size accoriding to card capabilities
C_Digest does not check if buffer too small before update. Issue #327

C_Digest will now query for the buffer size using sc_pkcs15_md_final
before calling sc_pkcs15_md_update. This avoids doing a double update
when the user passes in a buffer to small, then gets the buffer and calls
C_Digest again.
Merge pull request #322 from frankmorgner/iso-ext

adjust send/receive size accoriding to card capabilities
Merge pull request #320 from frankmorgner/tools-pin

Optimize util_get_pin from #289
Merge pull request #319 from CardContact/add-sec-k-curves

sc-hsm: Add support for Koblitz curves secp192k1 and secp256k1 (Bitcoin)
Merge pull request #318 from sschutte/master

Added ATR for ItalianCNS - Prov. BZ
Removal of cache, fixing a compiler warning and removing recursive functions.
Fix bug in verbose flag handling.

Using the verbose flag was causing cardos-tool to return as if an error
had occured.
don't reimplement output of status words

Closes #326