0001 What: /sys/kernel/debug/nx-crypto/*
0002 Date: March 2012
0003 KernelVersion: 3.4
0004 Contact: Kent Yoder <key@linux.vnet.ibm.com>
0005 Description:
0006
0007 These debugfs interfaces are built by the nx-crypto driver, built in
0008 arch/powerpc/crypto/nx.
0009
0010 Error Detection
0011 ===============
0012
0013 errors:
0014 A u32 providing a total count of errors since the driver was loaded. The
0015 only errors counted here are those returned from the hcall, H_COP_OP.
0016
0017 last_error:
0018 The most recent non-zero return code from the H_COP_OP hcall. -EBUSY is not
0019 recorded here (the hcall will retry until -EBUSY goes away).
0020
0021 last_error_pid:
0022 The process ID of the process who received the most recent error from the
0023 hcall.
0024
0025 Device Use
0026 ==========
0027
0028 aes_bytes:
0029 The total number of bytes encrypted using AES in any of the driver's
0030 supported modes.
0031
0032 aes_ops:
0033 The total number of AES operations submitted to the hardware.
0034
0035 sha256_bytes:
0036 The total number of bytes hashed by the hardware using SHA-256.
0037
0038 sha256_ops:
0039 The total number of SHA-256 operations submitted to the hardware.
0040
0041 sha512_bytes:
0042 The total number of bytes hashed by the hardware using SHA-512.
0043
0044 sha512_ops:
0045 The total number of SHA-512 operations submitted to the hardware.