mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-05-14 07:38:16 +02:00
Erroring on a symmetric-key type would actually be an extra line of code. In theory we could try to save that one line of code, but it is premature optimisation at this point. Also, this is a predominantly asymmetric crypto feature, it is less confusing/more user friendly if we don't allow symmetric keys here. Signed-off-by: Janos Follath <janos.follath@arm.com>