cryptsetup api - activate luks file in read-write mode
I want to activate my luks file(container) in read-write mode using API function crypt_activate_by_passphrase(.,.,.,uint32_t flags). Which one is the suggested activation flag for my operation? Also value of 0 or NULL for the flag is valid or not? I am unable to understand which one to use for read-write permission from the documentation as i am newbie to this. Thanks in advance for the help.