Re: [PATCH v3 3/7] zram: use crypto api to check alg availability

2016-06-07 Thread Minchan Kim
On Sat, Jun 04, 2016 at 11:48:58AM +0900, Sergey Senozhatsky wrote: > There is no way to get a string with all the crypto comp > algorithms supported by the crypto comp engine, so we need > to maintain our own backends list. At the same time we > additionally need to use crypto_has_comp() to make

Re: [PATCH v3 3/7] zram: use crypto api to check alg availability

2016-06-07 Thread Minchan Kim
On Sat, Jun 04, 2016 at 11:48:58AM +0900, Sergey Senozhatsky wrote: > There is no way to get a string with all the crypto comp > algorithms supported by the crypto comp engine, so we need > to maintain our own backends list. At the same time we > additionally need to use crypto_has_comp() to make

[PATCH v3 3/7] zram: use crypto api to check alg availability

2016-06-03 Thread Sergey Senozhatsky
There is no way to get a string with all the crypto comp algorithms supported by the crypto comp engine, so we need to maintain our own backends list. At the same time we additionally need to use crypto_has_comp() to make sure that the user has requested a compression algorithm that is recognized

[PATCH v3 3/7] zram: use crypto api to check alg availability

2016-06-03 Thread Sergey Senozhatsky
There is no way to get a string with all the crypto comp algorithms supported by the crypto comp engine, so we need to maintain our own backends list. At the same time we additionally need to use crypto_has_comp() to make sure that the user has requested a compression algorithm that is recognized