Re: [PATCH v2 01/23] crypto: provide single place for hash algo information

From: Dmitry Kasatkin
Date: Tue Oct 22 2013 - 07:30:04 EST


On Tue, Oct 22, 2013 at 6:24 AM, Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> wrote:
> On Mon, Oct 21, 2013 at 06:42:46PM -0400, Mimi Zohar wrote:
>> From: Dmitry Kasatkin <d.kasatkin@xxxxxxxxxxx>
>>
>> This patch provides a single place for information about hash algorithms,
>> such as hash sizes and kernel driver names, which will be used by IMA
>> and the public key code.
>>
>> Changelog:
>> - Fix sparse and checkpatch warnings
>> - Move hash algo enums to uapi for userspace signing functions.
>>
>> Signed-off-by: Dmitry Kasatkin <d.kasatkin@xxxxxxxxxxx>
>> Signed-off-by: Mimi Zohar <zohar@xxxxxxxxxxxxxxxxxx>
>
> Are you adding a user-space interface for this? If so please use
> the existing crypto user-space API.
>

Hello,

We are not adding user-space interface.
We just need to algo definitions which are in sync between user space,
IMA/EVM and kernel module signing.
Module signing perl script uses hard coded values. We want to improve
it export them to user space.

But please give us a hint, what crypto user-space API helps for us?

Thanks!

Dmitry


> Thanks,
> --
> Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
> Home Page: http://gondor.apana.org.au/~herbert/
> PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
> --
> To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html



--
Thanks,
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/