| 1 | Kernel Patches |
| 2 | ============== |
| 3 | |
| 4 | The following kernel patches are provided in this directory: |
| 5 | |
| 6 | * `asym` contains the patches to integrate algif_akcipher.c for making |
| 7 | the asymmetric ciphers available to user space. These patches are needed |
| 8 | for when using the --enable-lib-asym configure option and the |
| 9 | kcapi_akcipher_* API functions. |
| 10 | |
| 11 | * `kpp` contains the patches for making the KPP kernel crypto API |
| 12 | available to user space. This API offers DH and ECDH. The patches are |
| 13 | required when using the --enable-lib-kpp configure option and the |
| 14 | kcapi_kpp_* API calls. The KPP currently will not allow setting the key |
| 15 | due to the sanity checks in crypto_dh_decode_key which verifies the values |
| 16 | pf p and g. As they are not set with the setkey call, these sanity checks |
| 17 | will flag the data as invalid. If you need afalg_kpp to work, please let me |
| 18 | know. |
| 19 | |
| 20 | Note, the `kpp` patches go on top of the `asym` patches. |