f2fs-tools/include
Eric Biggers 04bbe69311 f2fs-tools: improve filename printing
- Make buffers for pretty-printed filenames 341 bytes long, long enough
  for 255 (NAME_MAX) base64-encoded bytes.  Then print encrypted
  filenames in full, base64-encoded.  This will be useful for tests I'm
  writing which verify the correct ciphertext is stored on-disk.

- Rename convert_encrypted_name() to pretty_print_filename(), to make it
  clear that it handles unencrypted names too.  Also make the output
  'char' rather than 'unsigned char', as it's for printing; and remove
  the unnecessary return value.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2019-05-20 17:29:50 -07:00
..
android_config.h f2fscrypt: avoid to fail android build 2019-03-01 14:18:13 -08:00
f2fs_fs.h f2fs-tools: improve filename printing 2019-05-20 17:29:50 -07:00
quota.h f2fs-tools: change to use #pragma pack(push, 1) 2018-04-03 00:10:08 -07:00