^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) What: /sys/kernel/debug/nx-crypto/*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) Date: March 2012
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) KernelVersion: 3.4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) Contact: Kent Yoder <key@linux.vnet.ibm.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) These debugfs interfaces are built by the nx-crypto driver, built in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) arch/powerpc/crypto/nx.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) Error Detection
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) ===============
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) errors:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) A u32 providing a total count of errors since the driver was loaded. The
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) only errors counted here are those returned from the hcall, H_COP_OP.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) last_error:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) The most recent non-zero return code from the H_COP_OP hcall. -EBUSY is not
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) recorded here (the hcall will retry until -EBUSY goes away).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) last_error_pid:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) The process ID of the process who received the most recent error from the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) hcall.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) Device Use
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) ==========
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) aes_bytes:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) The total number of bytes encrypted using AES in any of the driver's
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) supported modes.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) aes_ops:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) The total number of AES operations submitted to the hardware.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) sha256_bytes:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) The total number of bytes hashed by the hardware using SHA-256.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) sha256_ops:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) The total number of SHA-256 operations submitted to the hardware.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) sha512_bytes:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) The total number of bytes hashed by the hardware using SHA-512.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) sha512_ops:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) The total number of SHA-512 operations submitted to the hardware.