Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#3034 - AMD Geode → OpenSSL no HW acceleration for CBC mode #7794

Open
openwrt-bot opened this issue Apr 22, 2020 · 0 comments
Open

FS#3034 - AMD Geode → OpenSSL no HW acceleration for CBC mode #7794

openwrt-bot opened this issue Apr 22, 2020 · 0 comments
Labels
flyspray release/19.07 pull request/issue targeted (also) for OpenWrt 19.07 release

Comments

@openwrt-bot
Copy link

timur-davletshin:

Supply the following if possible:

  • System: PC Engines Alix Board 2d13
  • Software: 19.07.2-x86-geode-combined-squashfs.img.gz
  1. Install openssl utility along with library and optional libopenssl-afalg_sync engine (same problem with libopenssl-devcrypto)

  2. HW accelerated encryption is available to kernel:
    cat /proc/crypto | grep geode
    driver : ecb(geode-aes)
    driver : cbc-aes-geode
    module : geode_aes
    driver : ecb-aes-geode
    module : geode_aes
    driver : geode-aes
    module : geode_aes

  3. But OpenSSL cannot use CBC mode and falls back to software encryption
    openssl speed -evp aes-128-cbc -engine afalg -elapsed

    dmesg output is full off:
    Error allocating fallback algo cbc(aes)

  4. Using libopenssl-devcrypto instead of libopenssl-afalg_sync produces similar results but can employ ECB mode. AES-128-CBC is not available.

@aparcar aparcar added the release/19.07 pull request/issue targeted (also) for OpenWrt 19.07 release label Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray release/19.07 pull request/issue targeted (also) for OpenWrt 19.07 release
Projects
None yet
Development

No branches or pull requests

2 participants