• Ondrej Kozina's avatar
    alter crypt_storage interface · a0540caf
    Ondrej Kozina authored
    rename sector_start -> iv_start (it's now a iv shift for subsequent
    en/decrypt operations)
    rename count -> length. We accept length in bytes now and perform sanity
    checks at the crypt_storage_init and crypt_storage_decrypt (or encrypt)
    rename sector -> offset. It's in bytes as well. Sanity checks inside
    crypt_storage functions.
keyencryption.c 7.67 KB