Comment # 2 on bug 1226463 from Jiri Slaby
Without the module loaded:
# INFO:  @ test/afalgtest.c:133
# Can't load AFALG engine
1..0 # Skipped: ./test/afalgtest

With the module loaded:
    # Subtest: test_afalg_aes_cbc
    1..3
ALG_PERR: engines/e_afalg.c(383): Failed to bind socket : No such file or
directory
    # ERROR: (bool) 'EVP_CipherInit_ex(ctx, cipher, e, key, iv, 1) == true'
fail
ed @ test/afalgtest.c:73
    # false
    # 139906561836864:error:80065067:lib(128):afalg_create_sk:socket bind
failed
:engines/e_afalg.c:384:
    not ok 1 - iteration 1
ALG_PERR: engines/e_afalg.c(383): Failed to bind socket : No such file or
directory
    # ERROR: (bool) 'EVP_CipherInit_ex(ctx, cipher, e, key, iv, 1) == true'
fail
ed @ test/afalgtest.c:73
    # false
    # 139906561836864:error:80065067:lib(128):afalg_create_sk:socket bind
failed
:engines/e_afalg.c:384:
    not ok 2 - iteration 2
ALG_PERR: engines/e_afalg.c(383): Failed to bind socket : No such file or
directory
    # ERROR: (bool) 'EVP_CipherInit_ex(ctx, cipher, e, key, iv, 1) == true'
fail
ed @ test/afalgtest.c:73
    # false
    # 139906561836864:error:80065067:lib(128):afalg_create_sk:socket bind
failed
:engines/e_afalg.c:384:
    not ok 3 - iteration 3
not ok 1 - test_afalg_aes_cbc
ok 2 - test_pr16743


And according to strace:
23186 bind(3, {sa_family=AF_ALG, salg_type="skcipher", salg_feat=0,
salg_mask=0, salg_name="cbc(aes)"}, 88) = -1 ENOENT (No such file or directory)

So apparently cbc(aes) is needed for the test, if afalg is available.

We likely need to disable that test in openssl.

For the time being, I am dropping algif_hash from KERNEL_MODULES.


You are receiving this mail because: