mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-27 06:54:24 +01:00
eae6eee24c
Change the representation of an ECDSA signature from the ASN.1 DER encoding used in TLS and X.509, to the concatenation of r and s in big-endian order with a fixed size. A fixed size helps memory and buffer management and this representation is generally easier to use for anything that doesn't require the ASN.1 representation. This is the same representation as PKCS#11 (Cryptoki) except that PKCS#11 allows r and s to be truncated (both to the same length), which complicates the implementation and negates the advantage of a fixed-size representation. |
||
---|---|---|
.. | ||
crypto_extra.h | ||
crypto_platform.h | ||
crypto_struct.h | ||
crypto.h |