1175e0e23SKent YoderWhat: /sys/kernel/debug/nx-crypto/* 2175e0e23SKent YoderDate: March 2012 3175e0e23SKent YoderKernelVersion: 3.4 4175e0e23SKent YoderContact: Kent Yoder <key@linux.vnet.ibm.com> 5175e0e23SKent YoderDescription: 6175e0e23SKent Yoder 7175e0e23SKent YoderThese debugfs interfaces are built by the nx-crypto driver, built in 8175e0e23SKent Yoderarch/powerpc/crypto/nx. 9175e0e23SKent Yoder 10175e0e23SKent YoderError Detection 11175e0e23SKent Yoder=============== 12175e0e23SKent Yoder 13175e0e23SKent Yodererrors: 14*54a19b4dSMauro Carvalho Chehab A u32 providing a total count of errors since the driver was loaded. The 15175e0e23SKent Yoder only errors counted here are those returned from the hcall, H_COP_OP. 16175e0e23SKent Yoder 17175e0e23SKent Yoderlast_error: 18*54a19b4dSMauro Carvalho Chehab The most recent non-zero return code from the H_COP_OP hcall. -EBUSY is not 19175e0e23SKent Yoder recorded here (the hcall will retry until -EBUSY goes away). 20175e0e23SKent Yoder 21175e0e23SKent Yoderlast_error_pid: 22*54a19b4dSMauro Carvalho Chehab The process ID of the process who received the most recent error from the 23175e0e23SKent Yoder hcall. 24175e0e23SKent Yoder 25175e0e23SKent YoderDevice Use 26175e0e23SKent Yoder========== 27175e0e23SKent Yoder 28175e0e23SKent Yoderaes_bytes: 29*54a19b4dSMauro Carvalho Chehab The total number of bytes encrypted using AES in any of the driver's 30175e0e23SKent Yoder supported modes. 31175e0e23SKent Yoder 32175e0e23SKent Yoderaes_ops: 33*54a19b4dSMauro Carvalho Chehab The total number of AES operations submitted to the hardware. 34175e0e23SKent Yoder 35175e0e23SKent Yodersha256_bytes: 36*54a19b4dSMauro Carvalho Chehab The total number of bytes hashed by the hardware using SHA-256. 37175e0e23SKent Yoder 38175e0e23SKent Yodersha256_ops: 39*54a19b4dSMauro Carvalho Chehab The total number of SHA-256 operations submitted to the hardware. 40175e0e23SKent Yoder 41175e0e23SKent Yodersha512_bytes: 42*54a19b4dSMauro Carvalho Chehab The total number of bytes hashed by the hardware using SHA-512. 43175e0e23SKent Yoder 44175e0e23SKent Yodersha512_ops: 45*54a19b4dSMauro Carvalho Chehab The total number of SHA-512 operations submitted to the hardware. 46