162306a36Sopenharmony_ciWhat:		/sys/kernel/debug/nx-crypto/*
262306a36Sopenharmony_ciDate:		March 2012
362306a36Sopenharmony_ciKernelVersion:	3.4
462306a36Sopenharmony_ciContact:	Kent Yoder <key@linux.vnet.ibm.com>
562306a36Sopenharmony_ciDescription:
662306a36Sopenharmony_ci
762306a36Sopenharmony_ciThese debugfs interfaces are built by the nx-crypto driver, built in
862306a36Sopenharmony_ciarch/powerpc/crypto/nx.
962306a36Sopenharmony_ci
1062306a36Sopenharmony_ciError Detection
1162306a36Sopenharmony_ci===============
1262306a36Sopenharmony_ci
1362306a36Sopenharmony_cierrors:
1462306a36Sopenharmony_ci  A u32 providing a total count of errors since the driver was loaded. The
1562306a36Sopenharmony_ci  only errors counted here are those returned from the hcall, H_COP_OP.
1662306a36Sopenharmony_ci
1762306a36Sopenharmony_cilast_error:
1862306a36Sopenharmony_ci  The most recent non-zero return code from the H_COP_OP hcall. -EBUSY is not
1962306a36Sopenharmony_ci  recorded here (the hcall will retry until -EBUSY goes away).
2062306a36Sopenharmony_ci
2162306a36Sopenharmony_cilast_error_pid:
2262306a36Sopenharmony_ci  The process ID of the process who received the most recent error from the
2362306a36Sopenharmony_ci  hcall.
2462306a36Sopenharmony_ci
2562306a36Sopenharmony_ciDevice Use
2662306a36Sopenharmony_ci==========
2762306a36Sopenharmony_ci
2862306a36Sopenharmony_ciaes_bytes:
2962306a36Sopenharmony_ci  The total number of bytes encrypted using AES in any of the driver's
3062306a36Sopenharmony_ci  supported modes.
3162306a36Sopenharmony_ci
3262306a36Sopenharmony_ciaes_ops:
3362306a36Sopenharmony_ci  The total number of AES operations submitted to the hardware.
3462306a36Sopenharmony_ci
3562306a36Sopenharmony_cisha256_bytes:
3662306a36Sopenharmony_ci  The total number of bytes hashed by the hardware using SHA-256.
3762306a36Sopenharmony_ci
3862306a36Sopenharmony_cisha256_ops:
3962306a36Sopenharmony_ci  The total number of SHA-256 operations submitted to the hardware.
4062306a36Sopenharmony_ci
4162306a36Sopenharmony_cisha512_bytes:
4262306a36Sopenharmony_ci  The total number of bytes hashed by the hardware using SHA-512.
4362306a36Sopenharmony_ci
4462306a36Sopenharmony_cisha512_ops:
4562306a36Sopenharmony_ci  The total number of SHA-512 operations submitted to the hardware.
46