Fix issue #226: raw key+salt not handled properly
In case a database is encrypted with the _SQLCipher_ scheme using _raw key and salt material_ and the _plaintext header_ feature, opening an existing database failed. The reason was that the salt part was erroneously ignored on reading the raw key and salt material. This has been fixed. The same fix has been applied to other cipher schemes, namely AEGIS, Ascon, and ChaCha20. Actually, this fix is currently not absolutely required for these schemes, because the salt is only used for key derivation, which is not performed when raw key and salt material is used. However, behaviour of the schemes may change in the future.
U
utelle committed
ea29ea4ec0aa574ab3315add31002534d8d47968
Parent: c519b34