Re: [RFC PATCH 1/1] crypto: af_alg - Support symmetric encryption via keyring keys

From: Stephan Mueller
Date: Wed Oct 12 2022 - 11:21:34 EST


Am Mittwoch, 12. Oktober 2022, 16:49:56 CEST schrieb Frederick Lawler:

Hi Frederick,

> I believe I've addressed most of the feedback. Starting with we agree
> preferring key_serial_t. I changed to to use IS_REACHABLE(), and set
> ALG_SET_KEY_BY_KEY_SERIAL to 10 leaving a comment about libkcapi
> reserving values 7-9.

This reservation should not be observed. I provided patches for adding AF_ALG
interfaces for KPP and AKCIPHER some time ago which were rejected. Libkcapi
still contains the interface implementations but are not compiled by default.

As the patches are rejected, their values should not be considered as
relevant. Thus, I think your patch should not keep holes in the numbers.

Ciao
Stephan