• [^] # Re: l'algo du noyau ?

    Posté par . En réponse au journal High performance SSH. Évalué à 8.

    Les développeurs du noyau Linux semblent très réticent à l’idée de permettre à des programmes en espace utilisateur d’accéder aux services de cryptographie du noyau, qui ne sont conçus que pour répondre aux seuls besoins internes du noyau.

    Par exemple :

    why we would ever want a userspace interface to [the Crypto API]?

    Doing crypto in kernel for userspace consumers is simply insane.

    Ou encore :

    The Linux crypto-API is an internal kernel API used for things such as IPsec and dm-crypt. It's not directly usable by user-mode applications. [...] In general, anything under the linux/ directory should not be used by ordinary applications directly. Anything in there you're allowed to use is re-exported under a sys/ include somewhere, and if it's a function it'll come with a manual page as well