Other Parts Discussed in Thread: DP83TC811, TCA6416, TCA8418, LM8333, ADS7846, TSC2004, TSC2005, TSC2007, TPS65218, PCF8574, DRV2665, DRV2667, TPIC2810, TPS65910, LP8727, BQ24190, BQ24257, BQ24735, BQ25890, TPS65090, TPS65217, LM63, LM70, LM73, LM77, LM80, LM83, LM87, LM90, LM92, LM93, LM95234, LM95241, LM95245, ADC128D818, ADS1015, ADS7828, ADS7871, AMC6821, INA209, INA3221, TMP102, TMP103, TMP108, TMP401, TMP421, DRA752, LP3943, TPS65010, TPS65086, TPS65912, TWL6040, LM3533, LP3971, LP3972, TPS51632, TPS62360, TPS65023, TPS65132, TLV320AIC23B, TVP5150, TVP7002, THS8200, LM3560, THS7303, OPA362, TPD12S015, TFP410, LM3630A, LM3639, PCM1681, PCM1789, PCM3168A, TAS2552, TAS5086, TAS6424, TLV320AIC23, TS3A227E, TPA6130A2, CDCE706, CDCE925, ADC084S021, ADC108S102, ADC128S052, ADC161S626, ADS7950, ADS8688, TLC4541, DAC082S085, DAC5571, AFE4403, AFE4404, OPT3001, LMP91000, TMP006, TMP007
Hello.
The error log is below.
# curl https://www.google.co.kr
omap_sham_xmit_cpu: sg miter failure.
cryptodev: curl[869] (waitfor:294): error from async request: -22
cryptodev: curl[869] (hash_n_crypt:98): CryptoAPI failure: -22
curl: (35) error:02015016:system library:ioctl:Invalid argument
If I use openssl tool then no problem.
# openssl speed -evp sha256
Doing sha256 for 3s on 16 size blocks: 110004 sha256's in 0.71s
Doing sha256 for 3s on 64 size blocks: 106967 sha256's in 0.65s
Doing sha256 for 3s on 256 size blocks: 42146 sha256's in 0.32s
Doing sha256 for 3s on 1024 size blocks: 32260 sha256's in 0.21s
Doing sha256 for 3s on 8192 size blocks: 18416 sha256's in 0.12s
Doing sha256 for 3s on 16384 size blocks: 12430 sha256's in 0.10s
OpenSSL 1.1.1g 21 Apr 2020
built on: Thu Jul 23 10:10:45 2020 UTC
options:bn(64,32) rc4(char) des(long) aes(partial) idea(int) blowfish(ptr)
compiler: arm-tiv83-linux-gcc -fPIC -pthread -Wa,--noexecstack -I/opt/ti/arm-tiv83-linux/arm-linux-gnueabihf/libc/usr/local.atp/./include -march=armv7-a -DOPENSSL_USE_NODELETE -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DPOLY1305_ASM -DNDEBUG
The 'numbers' are in 1000s of bytes per second processed.
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes
sha256 2478.96k 10532.14k 33716.80k 157305.90k 1257198.93k 2036531.20k
Our environment is below.
CPU : TDA2PX (Custom board)
SDK : PROCESSOR_SDK_VISION_03_08_00_00
Linux : 4.19.73
OpenSSL : 1.1.1g. It was built for using cryptodev device driver.
Curl : 7.71.1. It was built for using OpenSSL.
cryptodev : 1.10
Please let me know why this error occur.
Best Regards.
Yousik.