Hello crypto maintainers!
We've found and example of the ipsec algorithm combination, which doesn't fit
into CRYPTO_MAX_ALG_NAME long buffers:
ip x s add src 220.127.116.11 dst 18.104.22.168 proto esp spi 0 mode tunnel enc des3_ede 0x0
auth sha256 0x0 flag esn replay-window 256
on the machines without optimized crypto drivers, which doesn't fit into current
I see two possible options:
a) split CRYPTO_MAX_ALG_NAME into CRYPTO_MAX_ALG_NAME + CRYPTO_MAX_DRV_NAME pair
and make later, say, 96, because the former probably cannot be changed because
numerous user-space exports. And change half of the code to use new define.
b) rename *-generic algorithms to *-gen, so that cra_driver_name will be
while MODULE_ALIAS_CRYPTO() could still be maintained in old and new form.
What are your thoughts?