2012-04-12 13:38:54 +08:00
|
|
|
What: /sys/kernel/debug/nx-crypto/*
|
|
|
|
Date: March 2012
|
|
|
|
KernelVersion: 3.4
|
|
|
|
Contact: Kent Yoder <key@linux.vnet.ibm.com>
|
|
|
|
Description:
|
|
|
|
|
2020-10-30 15:40:50 +08:00
|
|
|
These debugfs interfaces are built by the nx-crypto driver, built in
|
2012-04-12 13:38:54 +08:00
|
|
|
arch/powerpc/crypto/nx.
|
|
|
|
|
|
|
|
Error Detection
|
|
|
|
===============
|
|
|
|
|
|
|
|
errors:
|
2020-10-30 15:40:50 +08:00
|
|
|
A u32 providing a total count of errors since the driver was loaded. The
|
|
|
|
only errors counted here are those returned from the hcall, H_COP_OP.
|
2012-04-12 13:38:54 +08:00
|
|
|
|
|
|
|
last_error:
|
2020-10-30 15:40:50 +08:00
|
|
|
The most recent non-zero return code from the H_COP_OP hcall. -EBUSY is not
|
|
|
|
recorded here (the hcall will retry until -EBUSY goes away).
|
2012-04-12 13:38:54 +08:00
|
|
|
|
|
|
|
last_error_pid:
|
2020-10-30 15:40:50 +08:00
|
|
|
The process ID of the process who received the most recent error from the
|
|
|
|
hcall.
|
2012-04-12 13:38:54 +08:00
|
|
|
|
|
|
|
Device Use
|
|
|
|
==========
|
|
|
|
|
|
|
|
aes_bytes:
|
2020-10-30 15:40:50 +08:00
|
|
|
The total number of bytes encrypted using AES in any of the driver's
|
|
|
|
supported modes.
|
2012-04-12 13:38:54 +08:00
|
|
|
|
|
|
|
aes_ops:
|
2020-10-30 15:40:50 +08:00
|
|
|
The total number of AES operations submitted to the hardware.
|
2012-04-12 13:38:54 +08:00
|
|
|
|
|
|
|
sha256_bytes:
|
2020-10-30 15:40:50 +08:00
|
|
|
The total number of bytes hashed by the hardware using SHA-256.
|
2012-04-12 13:38:54 +08:00
|
|
|
|
|
|
|
sha256_ops:
|
2020-10-30 15:40:50 +08:00
|
|
|
The total number of SHA-256 operations submitted to the hardware.
|
2012-04-12 13:38:54 +08:00
|
|
|
|
|
|
|
sha512_bytes:
|
2020-10-30 15:40:50 +08:00
|
|
|
The total number of bytes hashed by the hardware using SHA-512.
|
2012-04-12 13:38:54 +08:00
|
|
|
|
|
|
|
sha512_ops:
|
2020-10-30 15:40:50 +08:00
|
|
|
The total number of SHA-512 operations submitted to the hardware.
|