crypto: introduce some common functions for af_alg backend
commitf0d92b56d8831de4b7df43ed3e6404cae5d42ed8
authorLongpeng(Mike) <longpeng2@huawei.com>
Fri, 14 Jul 2017 18:04:05 +0000 (14 14:04 -0400)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 19 Jul 2017 09:11:05 +0000 (19 10:11 +0100)
tree47820eb4b7e250e74e3f0f92ea405df2db70e6f3
parent14a5a2aef47e27b6afd1f8855eb41c75b69440dc
crypto: introduce some common functions for af_alg backend

The AF_ALG socket family is the userspace interface for linux
crypto API, this patch adds af_alg family support and some common
functions for af_alg backend. It'll be used by afalg-backend crypto
latter.

Signed-off-by: Longpeng(Mike) <longpeng2@huawei.com>
Maintainer: modified to report an error if AF_ALG is requested
but cannot be supported

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
configure
crypto/Makefile.objs
crypto/afalg.c [new file with mode: 0644]
crypto/afalgpriv.h [new file with mode: 0644]