Decryption call-back function.
Decrypt the data stored in the buffer data of size size. Decryption should be performed in-place and cannot alter the size of the data buffer.
- Parameters:
-
| udata | User-defined data stored in db_crypt_t::udata. |
| offset | The page number where the data is stored. offset can be used to seed encryption algorythm. |
| data | Data to decrypt in-place. |
| size | Size of the data to decrypt. |
- Returns:
- DB_NOERROR. Other error codes are reserved for future use.