Re: [LTP] [PATCH 1/6] lib: add tst_af_alg lib

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Eric,

> From: Eric Biggers <ebiggers@xxxxxxxxxx>

> Add helper functions for creating and using AF_ALG sockets.  AF_ALG is
> the userspace interface to algorithms in the Linux kernel's crypto API.
> See https://www.kernel.org/doc/html/latest/crypto/userspace-if.html for
> more information about this interface.

AF_ALG is not defined in old distros [1]:
/usr/src/ltp/lib/tst_af_alg.c: In function 'tst_alg_create':
/usr/src/ltp/lib/tst_af_alg.c:15: error: 'AF_ALG' undeclared (first use in this function)

We should add it (not sure whether to new lapi/if_alg.h or to lapi/socket.h).

Kind regards,
Petr

[1] https://api.travis-ci.org/v3/job/506663263/log.txt



[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux