add get_iv_or_nonce() methods to replace _get_iv() on api
3 files changed