当前位置:首页>Linux>Linux加密子系统自测试模块tcrypt

Linux加密子系统自测试模块tcrypt

  • 2026-01-26 16:45:45
Linux加密子系统自测试模块tcrypt

概述

tcrypt是Linux内核crypto子系统中的一个测试模块,主要是为内核实现的加密算法(包括加密、哈希、认证、AEAD、随机数生成器等)提供自检和性能基准测试功能。

tcrypt测试模块的源码位于linuxcrypto/tcrypt.c,编译时需要配置CONFIG_CRYPTO_TEST编译成模块。由于tcrypt仍然是调用内核算法测试框架,因此还需要关闭配置CONFIG_CRYPTO_MANAGER_DISABLE_TESTS,否则测试时始终返回成功,在linux/crypto/testmgr.c中实现如下:

// 这里关闭测试,始终返回成功#ifdef CONFIG_CRYPTO_MANAGER_DISABLE_TESTS/* a perfect nop */intalg_test(constchar *driver, constchar *alg, u32 type, u32 mask){return0;}#else#include"testmgr.h"...

使用方法

tcrypt模块参数说明如下:

参数名
类型
说明
alg
charp
指定要测试的算法名称(如  "sha256" 、 "ecb(aes)" 等),不指定时按 mode 选择算法。
type
uint
算法类型掩码,限制测试的算法类型,一般不指定。
mask
uint
算法类型掩码,用于微调测试类型(例如,只测试加密、只测试解密、测试不同块大小等),一般不指定。
mode
int
选择测试模式。0:功能性自检(遍历所有算法);其他值如1表示  md5 ,2表示  sha1 等。
sec
uint
性能测试持续时间(单位:秒)。0 表示用 CPU cycles 计时,否则用秒计时。
num_mb
uint
多缓冲并发测试时的并发请求数(默认 8)
klen
uint
密钥长度(字节),默认 0

为了打印更多调试信息,首先得调整日志等级:

echo 8 > /proc/sys/kernel/printk

然后先对所有算法进行功能自检,命令如下:

$ insmod tcrypt.ko [ 1054.163425] tcrypt: testing md5[ 1054.167292] tcrypt: testing sha1[ 1054.173123] tcrypt: testing ecb(des)[ 1054.182485] tcrypt: testing cbc(des)[ 1054.191145] tcrypt: testing ctr(des)[ 1054.200304] tcrypt: testing ecb(des3_ede)[ 1054.215172] tcrypt: testing cbc(des3_ede)[ 1054.230910] tcrypt: testing ctr(des3_ede)[ 1054.252490] tcrypt: testing md4[ 1054.257099] alg: hash: failed to allocate transform for md4: -2[ 1054.263336] alg: self-tests for md4 using md4 failed (rc=-2)[ 1054.263362] tcrypt: testing sha256[ 1054.275092] tcrypt: testing ecb(blowfish)......[ 1059.426008] tcrypt: one or more tests failed!insmod: can't insert 'tcrypt.ko': unknown symbol in module, or unknown parameter

可以看出,有些算法测试通过,有些算法测试失败,这与编译时算法配置及内核算法是否实现有关。接下来我们针对某个算法进行测试。

功能测试

测试md5算法功能正确性:

$ insmod tcrypt.ko mode=1[ 1521.414509] tcrypt: testing md5[ 1521.418382] tcrypt: all tests passed[ 1521.784676] tcrypt: testing md5[ 1521.788553] tcrypt: all tests passedinsmod: can't insert 'tcrypt.ko': Resource temporarily unavailable

测试sha256算法功能正确性:

$ insmod tcrypt.ko mode=6[ 1574.714777] tcrypt: testing sha256[ 1574.720732] tcrypt: all tests passed[ 1574.974637] tcrypt: testing sha256[ 1574.980606] tcrypt: all tests passedinsmod: can't insert 'tcrypt.ko': Resource temporarily unavailable

测试aes算法功能正确性,有些分组模式测试失败,比如xtr(aes)、ofb(aes)等:

$ insmod tcrypt.ko mode=10[ 1632.113184] tcrypt: testing ecb(aes)[ 1632.118800] tcrypt: testing cbc(aes)[ 1632.124926] tcrypt: testing lrw(aes)[ 1632.130840] alg: skcipher: failed to allocate transform for lrw(aes): -2[ 1632.138485] alg: self-tests for lrw(aes) using lrw(aes) failed (rc=-2)[ 1632.138521] tcrypt: testing xts(aes)[ 1632.151151] alg: skcipher: failed to allocate transform for xts(aes): -2[ 1632.157897] alg: self-tests for xts(aes) using xts(aes) failed (rc=-2)[ 1632.157912] tcrypt: testing ctr(aes)[ 1632.172026] tcrypt: testing rfc3686(ctr(aes))[ 1632.188055] tcrypt: testing ofb(aes)[ 1632.194057] alg: skcipher: failed to allocate transform for ofb(aes): -2[ 1632.200801] alg: self-tests for ofb(aes) using ofb(aes) failed (rc=-2)[ 1632.200814] tcrypt: testing cfb(aes)[ 1632.213294] alg: skcipher: failed to allocate transform for cfb(aes): -2[ 1632.220036] alg: self-tests for cfb(aes) using cfb(aes) failed (rc=-2)[ 1632.220050] tcrypt: testing xctr(aes)[ 1632.233372] alg: skcipher: failed to allocate transform for xctr(aes): -2[ 1632.240203] alg: self-tests for xctr(aes) using xctr(aes) failed (rc=-2)[ 1632.240217] tcrypt: one or more tests failed![ 1632.364082] tcrypt: testing ecb(aes)[ 1632.369699] tcrypt: testing cbc(aes)[ 1632.375837] tcrypt: testing lrw(aes)[ 1632.381931] alg: skcipher: failed to allocate transform for lrw(aes): -2[ 1632.389360] alg: self-tests for lrw(aes) using lrw(aes) failed (rc=-2)[ 1632.389395] tcrypt: testing xts(aes)[ 1632.402095] alg: skcipher: failed to allocate transform for xts(aes): -2[ 1632.408839] alg: self-tests for xts(aes) using xts(aes) failed (rc=-2)[ 1632.408854] tcrypt: testing ctr(aes)[ 1632.423207] tcrypt: testing rfc3686(ctr(aes))[ 1632.439144] tcrypt: testing ofb(aes)[ 1632.445149] alg: skcipher: failed to allocate transform for ofb(aes): -2[ 1632.452023] alg: self-tests for ofb(aes) using ofb(aes) failed (rc=-2)[ 1632.452045] tcrypt: testing cfb(aes)[ 1632.464421] alg: skcipher: failed to allocate transform for cfb(aes): -2[ 1632.471418] alg: self-tests for cfb(aes) using cfb(aes) failed (rc=-2)[ 1632.471446] tcrypt: testing xctr(aes)[ 1632.484015] alg: skcipher: failed to allocate transform for xctr(aes): -2[ 1632.490844] alg: self-tests for xctr(aes) using xctr(aes) failed (rc=-2)[ 1632.490859] tcrypt: one or more tests failed!insmod: can't insert 'tcrypt.ko': unknown symbol in module, or unknown parameter

其他的算法测试命令,我们可以查看tcrypt.c源码确定mode的索引。

性能测试

测试模式mode=200以后都是速度性能测试,比如测试sha256算法的性能:

$ insmod tcrypt.ko mode=304[ 1935.962139] [ 1935.962139] testing speed of async sha256 (sha256-generic)[ 1935.969168] tcrypt: test  0 (   16 byte blocks,   16 bytes per update,   1 updates):     87 cycles/operation,    5 cycles/byte[ 1935.980765] tcrypt: test  1 (   64 byte blocks,   16 bytes per update,   4 updates):    237 cycles/operation,    3 cycles/byte[ 1935.992431] tcrypt: test  2 (   64 byte blocks,   64 bytes per update,   1 updates):    149 cycles/operation,    2 cycles/byte[ 1936.004726] tcrypt: test  3 (  256 byte blocks,   16 bytes per update,  16 updates):    474 cycles/operation,    1 cycles/byte[ 1936.016688] tcrypt: test  4 (  256 byte blocks,   64 bytes per update,   4 updates):    357 cycles/operation,    1 cycles/byte[ 1936.030132] tcrypt: test  5 (  256 byte blocks,  256 bytes per update,   1 updates):    332 cycles/operation,    1 cycles/byte[ 1936.042016] tcrypt: test  6 ( 1024 byte blocks,   16 bytes per update,  64 updates):   1611 cycles/operation,    1 cycles/byte[ 1936.055135] tcrypt: test  7 ( 1024 byte blocks,  256 bytes per update,   4 updates):   1088 cycles/operation,    1 cycles/byte[ 1936.067699] tcrypt: test  8 ( 1024 byte blocks, 1024 bytes per update,   1 updates):   1063 cycles/operation,    1 cycles/byte[ 1936.080215] tcrypt: test  9 ( 2048 byte blocks,   16 bytes per update, 128 updates):   2849 cycles/operation,    1 cycles/byte[ 1936.094525] tcrypt: test 10 ( 2048 byte blocks,  256 bytes per update,   8 updates):   2093 cycles/operation,    1 cycles/byte[ 1936.108057] tcrypt: test 11 ( 2048 byte blocks, 1024 bytes per update,   2 updates):   2048 cycles/operation,    1 cycles/byte[ 1936.121543] tcrypt: test 12 ( 2048 byte blocks, 2048 bytes per update,   1 updates):   2037 cycles/operation,    0 cycles/byte[ 1936.135021] tcrypt: test 13 ( 4096 byte blocks,   16 bytes per update, 256 updates):   5534 cycles/operation,    1 cycles/byte[ 1936.151980] tcrypt: test 14 ( 4096 byte blocks,  256 bytes per update,  16 updates):   4103 cycles/operation,    1 cycles/byte[ 1936.167529] tcrypt: test 15 ( 4096 byte blocks, 1024 bytes per update,   4 updates):   4060 cycles/operation,    0 cycles/byte[ 1936.183015] tcrypt: test 16 ( 4096 byte blocks, 4096 bytes per update,   1 updates):   3985 cycles/operation,    0 cycles/byte[ 1936.198439] tcrypt: test 17 ( 8192 byte blocks,   16 bytes per update, 512 updates):  10999 cycles/operation,    1 cycles/byte[ 1936.220881] tcrypt: test 18 ( 8192 byte blocks,  256 bytes per update,  32 updates):   8121 cycles/operation,    0 cycles/byte[ 1936.240472] tcrypt: test 19 ( 8192 byte blocks, 1024 bytes per update,   8 updates):   7938 cycles/operation,    0 cycles/byte[ 1936.259881] tcrypt: test 20 ( 8192 byte blocks, 4096 bytes per update,   2 updates):   7892 cycles/operation,    0 cycles/byte[ 1936.279252] tcrypt: test 21 ( 8192 byte blocks, 8192 bytes per update,   1 updates):   7891 cycles/operation,    0 cycles/byte[ 1936.298644] tcrypt: all tests passed......insmod: can't insert 'tcrypt.ko': Resource temporarily unavailable

测试aes算法的性能:

$ insmod tcrypt.ko mode=200[ 1991.730543] tcrypt: [ 1991.730543] testing speed of sync ecb(aes) (ecb(aes-generic)) encryption[ 1991.739587] tcrypt: test 0 (128 bit key, 16 byte blocks): 1 operation in 37 cycles (16 bytes)......[ 1991.954749] tcrypt: [ 1991.954749] testing speed of sync ecb(aes) (ecb(aes-generic)) decryption[ 1991.963654] tcrypt: test 0 (128 bit key, 16 byte blocks): 1 operation in 37 cycles (16 bytes)......[ 1992.178759] tcrypt: [ 1992.178759] testing speed of sync cbc(aes) (cbc(aes-generic)) encryption[ 1992.187663] tcrypt: test 0 (128 bit key, 16 byte blocks): 1 operation in 34 cycles (16 bytes)......[ 1992.389265] tcrypt: test 20 (256 bit key, 4096 byte blocks): 1 operation in 6425 cycles (4096 bytes)[ 1992.406908] tcrypt: [ 1992.406908] testing speed of sync cbc(aes) (cbc(aes-generic)) decryption[ 1992.415859] tcrypt: test 0 (128 bit key, 16 byte blocks): 1 operation in 41 cycles (16 bytes)......[ 1992.635816] tcrypt: failed to load transform for lrw(aes): -2[ 1992.643964] tcrypt: failed to load transform for lrw(aes): -2[ 1992.652118] tcrypt: failed to load transform for xts(aes): -2[ 1992.660082] tcrypt: failed to load transform for xts(aes): -2[ 1992.668461] tcrypt: failed to load transform for cts(cbc(aes)): -2[ 1992.677206] tcrypt: failed to load transform for cts(cbc(aes)): -2[ 1992.683724] tcrypt: [ 1992.683724] testing speed of sync ctr(aes) (ctr(aes-generic)) encryption[ 1992.692792] tcrypt: test 0 (128 bit key, 16 byte blocks): 1 operation in 39 cycles (16 bytes)......[ 1992.914889] tcrypt: [ 1992.914889] testing speed of sync ctr(aes) (ctr(aes-generic)) decryption[ 1992.923802] tcrypt: test 0 (128 bit key, 16 byte blocks): 1 operation in 34 cycles (16 bytes)......[ 1993.143769] tcrypt: failed to load transform for cfb(aes): -2[ 1993.151919] tcrypt: failed to load transform for cfb(aes): -2[ 1993.157709] tcrypt: all tests passed......[ 1994.745562] tcrypt: all tests passedinsmod: can't insert 'tcrypt.ko': Resource temporarily unavaila

问题解决

不知道大家注意到没有,在tcrypt模块测试结束后,总是报资源不可用错误:

insmod: can't insert 'tcrypt.ko': Resource temporarily unavailable

起初一直怀疑是crypto配置有问题,后面查看函数tcrypt_mod_init的代码,发现其始终返回错误(返回 -EAGAIN),故意为之,其是防止模块持续驻留在内存中,加载模块后自动卸载,所以报错是正常的:

/* We intentionaly return -EAGAIN to prevent keeping the module, * unless we're running in fips mode. It does all its work from * init() and doesn't offer any runtime functionality, but in * the fips case, checking for a successful load is helpful. * => we don't need it in the memory, do we? *                                        -- mludvig */if (!fips_enabled)    err = -EAGAIN;

参考

  1. Linux Crypto(9):tcrypt进行Crypto测试

最新文章

随机文章

基本 文件 流程 错误 SQL 调试
  1. 请求信息 : 2026-02-08 05:58:06 HTTP/2.0 GET : https://f.mffb.com.cn/a/466664.html
  2. 运行时间 : 0.248377s [ 吞吐率:4.03req/s ] 内存消耗:4,667.54kb 文件加载:140
  3. 缓存信息 : 0 reads,0 writes
  4. 会话信息 : SESSION_ID=d0156573e61ff71a1732dfa5c077cb8a
  1. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/public/index.php ( 0.79 KB )
  2. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/autoload.php ( 0.17 KB )
  3. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/composer/autoload_real.php ( 2.49 KB )
  4. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/composer/platform_check.php ( 0.90 KB )
  5. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/composer/ClassLoader.php ( 14.03 KB )
  6. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/composer/autoload_static.php ( 4.90 KB )
  7. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/helper.php ( 8.34 KB )
  8. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-validate/src/helper.php ( 2.19 KB )
  9. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/helper.php ( 1.47 KB )
  10. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/stubs/load_stubs.php ( 0.16 KB )
  11. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Exception.php ( 1.69 KB )
  12. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-container/src/Facade.php ( 2.71 KB )
  13. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/symfony/deprecation-contracts/function.php ( 0.99 KB )
  14. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/symfony/polyfill-mbstring/bootstrap.php ( 8.26 KB )
  15. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/symfony/polyfill-mbstring/bootstrap80.php ( 9.78 KB )
  16. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/symfony/var-dumper/Resources/functions/dump.php ( 1.49 KB )
  17. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-dumper/src/helper.php ( 0.18 KB )
  18. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/symfony/var-dumper/VarDumper.php ( 4.30 KB )
  19. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/App.php ( 15.30 KB )
  20. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-container/src/Container.php ( 15.76 KB )
  21. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/psr/container/src/ContainerInterface.php ( 1.02 KB )
  22. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/provider.php ( 0.19 KB )
  23. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Http.php ( 6.04 KB )
  24. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/helper/Str.php ( 7.29 KB )
  25. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Env.php ( 4.68 KB )
  26. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/common.php ( 0.03 KB )
  27. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/helper.php ( 18.78 KB )
  28. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Config.php ( 5.54 KB )
  29. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/app.php ( 0.95 KB )
  30. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/cache.php ( 0.78 KB )
  31. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/console.php ( 0.23 KB )
  32. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/cookie.php ( 0.56 KB )
  33. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/database.php ( 2.48 KB )
  34. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/facade/Env.php ( 1.67 KB )
  35. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/filesystem.php ( 0.61 KB )
  36. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/lang.php ( 0.91 KB )
  37. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/log.php ( 1.35 KB )
  38. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/middleware.php ( 0.19 KB )
  39. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/route.php ( 1.89 KB )
  40. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/session.php ( 0.57 KB )
  41. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/trace.php ( 0.34 KB )
  42. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/view.php ( 0.82 KB )
  43. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/event.php ( 0.25 KB )
  44. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Event.php ( 7.67 KB )
  45. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/service.php ( 0.13 KB )
  46. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/AppService.php ( 0.26 KB )
  47. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Service.php ( 1.64 KB )
  48. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Lang.php ( 7.35 KB )
  49. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/lang/zh-cn.php ( 13.70 KB )
  50. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/initializer/Error.php ( 3.31 KB )
  51. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/initializer/RegisterService.php ( 1.33 KB )
  52. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/services.php ( 0.14 KB )
  53. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/service/PaginatorService.php ( 1.52 KB )
  54. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/service/ValidateService.php ( 0.99 KB )
  55. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/service/ModelService.php ( 2.04 KB )
  56. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-trace/src/Service.php ( 0.77 KB )
  57. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Middleware.php ( 6.72 KB )
  58. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/initializer/BootService.php ( 0.77 KB )
  59. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/Paginator.php ( 11.86 KB )
  60. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-validate/src/Validate.php ( 63.20 KB )
  61. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/Model.php ( 23.55 KB )
  62. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/Attribute.php ( 21.05 KB )
  63. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/AutoWriteData.php ( 4.21 KB )
  64. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/Conversion.php ( 6.44 KB )
  65. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/DbConnect.php ( 5.16 KB )
  66. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/ModelEvent.php ( 2.33 KB )
  67. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/RelationShip.php ( 28.29 KB )
  68. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/contract/Arrayable.php ( 0.09 KB )
  69. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/contract/Jsonable.php ( 0.13 KB )
  70. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/contract/Modelable.php ( 0.09 KB )
  71. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Db.php ( 2.88 KB )
  72. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/DbManager.php ( 8.52 KB )
  73. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Log.php ( 6.28 KB )
  74. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Manager.php ( 3.92 KB )
  75. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/psr/log/src/LoggerTrait.php ( 2.69 KB )
  76. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/psr/log/src/LoggerInterface.php ( 2.71 KB )
  77. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Cache.php ( 4.92 KB )
  78. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/psr/simple-cache/src/CacheInterface.php ( 4.71 KB )
  79. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/helper/Arr.php ( 16.63 KB )
  80. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/cache/driver/File.php ( 7.84 KB )
  81. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/cache/Driver.php ( 9.03 KB )
  82. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/contract/CacheHandlerInterface.php ( 1.99 KB )
  83. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/Request.php ( 0.09 KB )
  84. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Request.php ( 55.78 KB )
  85. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/middleware.php ( 0.25 KB )
  86. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Pipeline.php ( 2.61 KB )
  87. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-trace/src/TraceDebug.php ( 3.40 KB )
  88. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/middleware/SessionInit.php ( 1.94 KB )
  89. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Session.php ( 1.80 KB )
  90. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/session/driver/File.php ( 6.27 KB )
  91. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/contract/SessionHandlerInterface.php ( 0.87 KB )
  92. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/session/Store.php ( 7.12 KB )
  93. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Route.php ( 23.73 KB )
  94. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/RuleName.php ( 5.75 KB )
  95. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/Domain.php ( 2.53 KB )
  96. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/RuleGroup.php ( 22.43 KB )
  97. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/Rule.php ( 26.95 KB )
  98. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/RuleItem.php ( 9.78 KB )
  99. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/route/app.php ( 1.72 KB )
  100. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/facade/Route.php ( 4.70 KB )
  101. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/dispatch/Controller.php ( 4.74 KB )
  102. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/Dispatch.php ( 10.44 KB )
  103. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/controller/Index.php ( 4.81 KB )
  104. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/BaseController.php ( 2.05 KB )
  105. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/facade/Db.php ( 0.93 KB )
  106. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/connector/Mysql.php ( 5.44 KB )
  107. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/PDOConnection.php ( 52.47 KB )
  108. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/Connection.php ( 8.39 KB )
  109. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/ConnectionInterface.php ( 4.57 KB )
  110. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/builder/Mysql.php ( 16.58 KB )
  111. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/Builder.php ( 24.06 KB )
  112. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/BaseBuilder.php ( 27.50 KB )
  113. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/Query.php ( 15.71 KB )
  114. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/BaseQuery.php ( 45.13 KB )
  115. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/TimeFieldQuery.php ( 7.43 KB )
  116. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/AggregateQuery.php ( 3.26 KB )
  117. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/ModelRelationQuery.php ( 20.07 KB )
  118. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/ParamsBind.php ( 3.66 KB )
  119. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/ResultOperation.php ( 7.01 KB )
  120. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/WhereQuery.php ( 19.37 KB )
  121. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/JoinAndViewQuery.php ( 7.11 KB )
  122. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/TableFieldInfo.php ( 2.63 KB )
  123. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/Transaction.php ( 2.77 KB )
  124. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/log/driver/File.php ( 5.96 KB )
  125. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/contract/LogHandlerInterface.php ( 0.86 KB )
  126. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/log/Channel.php ( 3.89 KB )
  127. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/event/LogRecord.php ( 1.02 KB )
  128. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/Collection.php ( 16.47 KB )
  129. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/facade/View.php ( 1.70 KB )
  130. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/View.php ( 4.39 KB )
  131. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Response.php ( 8.81 KB )
  132. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/response/View.php ( 3.29 KB )
  133. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Cookie.php ( 6.06 KB )
  134. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-view/src/Think.php ( 8.38 KB )
  135. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/contract/TemplateHandlerInterface.php ( 1.60 KB )
  136. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-template/src/Template.php ( 46.61 KB )
  137. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-template/src/template/driver/File.php ( 2.41 KB )
  138. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-template/src/template/contract/DriverInterface.php ( 0.86 KB )
  139. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/runtime/temp/067d451b9a0c665040f3f1bdd3293d68.php ( 11.98 KB )
  140. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-trace/src/Html.php ( 4.42 KB )
  1. CONNECT:[ UseTime:0.000977s ] mysql:host=127.0.0.1;port=3306;dbname=f_mffb;charset=utf8mb4
  2. SHOW FULL COLUMNS FROM `fenlei` [ RunTime:0.001347s ]
  3. SELECT * FROM `fenlei` WHERE `fid` = 0 [ RunTime:0.006529s ]
  4. SELECT * FROM `fenlei` WHERE `fid` = 63 [ RunTime:0.007867s ]
  5. SHOW FULL COLUMNS FROM `set` [ RunTime:0.001466s ]
  6. SELECT * FROM `set` [ RunTime:0.005328s ]
  7. SHOW FULL COLUMNS FROM `article` [ RunTime:0.001500s ]
  8. SELECT * FROM `article` WHERE `id` = 466664 LIMIT 1 [ RunTime:0.001257s ]
  9. UPDATE `article` SET `lasttime` = 1770501486 WHERE `id` = 466664 [ RunTime:0.014217s ]
  10. SELECT * FROM `fenlei` WHERE `id` = 67 LIMIT 1 [ RunTime:0.010838s ]
  11. SELECT * FROM `article` WHERE `id` < 466664 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.011196s ]
  12. SELECT * FROM `article` WHERE `id` > 466664 ORDER BY `id` ASC LIMIT 1 [ RunTime:0.004291s ]
  13. SELECT * FROM `article` WHERE `id` < 466664 ORDER BY `id` DESC LIMIT 10 [ RunTime:0.015765s ]
  14. SELECT * FROM `article` WHERE `id` < 466664 ORDER BY `id` DESC LIMIT 10,10 [ RunTime:0.003641s ]
  15. SELECT * FROM `article` WHERE `id` < 466664 ORDER BY `id` DESC LIMIT 20,10 [ RunTime:0.006480s ]
0.251901s