Re: [PATCH] crypto: ccp - Check for CCP before registering crypto algs

2014-09-05 Thread Scot Doyle
whenever a command is attempted to be queued by the registered crypto algorithms. Add an API, ccp_present(), that checks for the presence of a CCP on the system. The ccp-crypto module can use this to determine if it should register it's crypto alogorithms. Reported-by: Scot Doyle lkm

AF_ALG inadvertently disabled

2014-09-04 Thread Scot Doyle
On a laptop without AMD's CCP, compiling 3.17-rc3 with # CONFIG_MODULES is not set CONFIG_CRYPTO_MANAGER_DISABLE_TESTS=y CONFIG_CRYPTO_DEV_CCP=y CONFIG_CRYPTO_DEV_CCP_DD=y # CONFIG_CRYPTO_DEV_CCP_CRYPTO is not set the strace from a test program is socket(PF_ALG, SOCK_SEQPACKET, 0)