crypto: throw error in CipherBase::SetAutoPadding
Checklist
-
tests are included -
documentation is changed or added -
commit message follows commit guidelines
Affected core subsystem(s)
crypto
Description of change
Throw error after calling CipherBase#final
as in CipherBase::SetAAD
, CipherBase::SetAuthTag
, CipherBase::GetAuthTag
.