mbedTLS
MBEDTLS_ECDSA_MAX_SIG_LEN
is only used within mbedTLS.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
mbedTLS
MBEDTLS_ECDSA_MAX_SIG_LEN
MBEDTLS_ECDSA_MAX_SIG_LEN macro
Maximum ECDSA signature size for a given curve bit size
Syntax
Show:
Summary
Declaration
from
ecdsa.h:44
#define
MBEDTLS_ECDSA_MAX_SIG_LEN
(
bits
)
\
(
(
(
bits
)
>=
61
*
8
?
3
:
2
)
+
\
2
*
(
(
(
bits
)
>=
127
*
8
?
3
:
2
)
+
\
(
(
bits
)
+
8
)
/
8
)
)
Arguments
Argument
Description
bits
Curve size in bits
Return value
Maximum signature size in bytes
Notes
This macro returns a compile-time constant if its argument is one. It may evaluate its argument multiple times.
Examples
References
from
examples
Code
Location
#define
MBEDTLS_ECDSA_MAX_SIG_LEN
(
bits
)
\
ecdsa.h:44
#define
MBEDTLS_ECDSA_MAX_LEN
MBEDTLS_ECDSA_MAX_SIG_LEN
(
MBEDTLS_ECP_MAX_BITS
)
ecdsa.h:50
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out