libe2p: add support for printing and parsing the encryption mode

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2 files changed