Skip to content

Cryptodev is broken #17

@MyLive

Description

@MyLive

CC [M] /opt/kernel/BPI-R2-4.14/cryptodev/cryptodev-linux-1.9/ioctl.o
/opt/kernel/BPI-R2-4.14/cryptodev/cryptodev-linux-1.9/ioctl.c:1127:3: error: positional initialization of field in 'struct' declared with 'designated_init' attribute [-Werror=designated-init]
{0, },
^
/opt/kernel/BPI-R2-4.14/cryptodev/cryptodev-linux-1.9/ioctl.c:1127:3: note: (near initialization for 'verbosity_ctl_dir[1]')
/opt/kernel/BPI-R2-4.14/cryptodev/cryptodev-linux-1.9/ioctl.c:1136:3: error: positional initialization of field in 'struct' declared with 'designated_init' attribute [-Werror=designated-init]
{0, },
^
/opt/kernel/BPI-R2-4.14/cryptodev/cryptodev-linux-1.9/ioctl.c:1136:3: note: (near initialization for 'verbosity_ctl_root[1]')
cc1: some warnings being treated as errors
scripts/Makefile.build:320: recipe for target '/opt/kernel/BPI-R2-4.14/cryptodev/cryptodev-linux-1.9/ioctl.o' failed
make[2]: *** [/opt/kernel/BPI-R2-4.14/cryptodev/cryptodev-linux-1.9/ioctl.o] Error 1
Makefile:1508: recipe for target 'module/opt/kernel/BPI-R2-4.14/cryptodev/cryptodev-linux-1.9' failed
make[1]: *** [module/opt/kernel/BPI-R2-4.14/cryptodev/cryptodev-linux-1.9] Error 2
make[1]: Leaving directory '/opt/kernel/BPI-R2-4.14'
Makefile:27: recipe for target 'build' failed
make: *** [build] Error 2
build test-tool
cc -I.. -Wall -Werror -c -o openssl_wrapper.o openssl_wrapper.c
openssl_wrapper.c:27:11: error: field 'hmac' has incomplete type
HMAC_CTX hmac;
^~~~
openssl_wrapper.c:28:13: error: field 'md' has incomplete type
EVP_MD_CTX md;
^~
openssl_wrapper.c: In function 'remove_mapping':
openssl_wrapper.c:68:3: error: implicit declaration of function 'HMAC_CTX_cleanup' [-Werror=implicit-function-declaration]
HMAC_CTX_cleanup(&mapping->ctx.hmac);
^~~~~~~~~~~~~~~~
openssl_wrapper.c:72:3: error: implicit declaration of function 'EVP_MD_CTX_cleanup' [-Werror=implicit-function-declaration]
EVP_MD_CTX_cleanup(&mapping->ctx.md);
^~~~~~~~~~~~~~~~~~
openssl_wrapper.c: In function 'openssl_hmac':
openssl_wrapper.c:133:3: error: implicit declaration of function 'HMAC_CTX_init' [-Werror=implicit-function-declaration]
HMAC_CTX_init(ctx);
^~~~~~~~~~~~~
cc1: all warnings being treated as errors
: recipe for target 'openssl_wrapper.o' failed
make: *** [openssl_wrapper.o] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions