18c2ecf20Sopenharmony_ciWhat:		/sys/kernel/debug/nx-crypto/*
28c2ecf20Sopenharmony_ciDate:		March 2012
38c2ecf20Sopenharmony_ciKernelVersion:	3.4
48c2ecf20Sopenharmony_ciContact:	Kent Yoder <key@linux.vnet.ibm.com>
58c2ecf20Sopenharmony_ciDescription:
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ciThese debugfs interfaces are built by the nx-crypto driver, built in
88c2ecf20Sopenharmony_ciarch/powerpc/crypto/nx.
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ciError Detection
118c2ecf20Sopenharmony_ci===============
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_cierrors:
148c2ecf20Sopenharmony_ci  A u32 providing a total count of errors since the driver was loaded. The
158c2ecf20Sopenharmony_ci  only errors counted here are those returned from the hcall, H_COP_OP.
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_cilast_error:
188c2ecf20Sopenharmony_ci  The most recent non-zero return code from the H_COP_OP hcall. -EBUSY is not
198c2ecf20Sopenharmony_ci  recorded here (the hcall will retry until -EBUSY goes away).
208c2ecf20Sopenharmony_ci
218c2ecf20Sopenharmony_cilast_error_pid:
228c2ecf20Sopenharmony_ci  The process ID of the process who received the most recent error from the
238c2ecf20Sopenharmony_ci  hcall.
248c2ecf20Sopenharmony_ci
258c2ecf20Sopenharmony_ciDevice Use
268c2ecf20Sopenharmony_ci==========
278c2ecf20Sopenharmony_ci
288c2ecf20Sopenharmony_ciaes_bytes:
298c2ecf20Sopenharmony_ci  The total number of bytes encrypted using AES in any of the driver's
308c2ecf20Sopenharmony_ci  supported modes.
318c2ecf20Sopenharmony_ci
328c2ecf20Sopenharmony_ciaes_ops:
338c2ecf20Sopenharmony_ci  The total number of AES operations submitted to the hardware.
348c2ecf20Sopenharmony_ci
358c2ecf20Sopenharmony_cisha256_bytes:
368c2ecf20Sopenharmony_ci  The total number of bytes hashed by the hardware using SHA-256.
378c2ecf20Sopenharmony_ci
388c2ecf20Sopenharmony_cisha256_ops:
398c2ecf20Sopenharmony_ci  The total number of SHA-256 operations submitted to the hardware.
408c2ecf20Sopenharmony_ci
418c2ecf20Sopenharmony_cisha512_bytes:
428c2ecf20Sopenharmony_ci  The total number of bytes hashed by the hardware using SHA-512.
438c2ecf20Sopenharmony_ci
448c2ecf20Sopenharmony_cisha512_ops:
458c2ecf20Sopenharmony_ci  The total number of SHA-512 operations submitted to the hardware.
46