This commits extends rbd API's to allow the user to load encryption using either LUKS1 or LUKS2 formats, without explicitly specifying which. Prior, the user had to specify explicitly LUKS1 or LUKS2. Signed-off-by: Or Ozeri <oro@il.ibm.com>