ESP-IDF
ot::Crypto::Ecdsa::P256::kMpiSize
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (2/5)...
Files
loading (3/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ot::Crypto::Ecdsa::P256::kMpiSize
ot::Crypto::Ecdsa::P256::kMpiSize variable
Max bytes in binary representation of an MPI (multi-precision int).
Syntax
Show:
Summary
Declaration
from
ecdsa.hpp:74
static
constexpr
uint8_t
kMpiSize
=
kFieldBitLength
/
8
;
Examples
References
from
examples
Code
Location
Referrer
static
constexpr
uint8_t
kMpiSize
=
kFieldBitLength
/
8
;
ecdsa.hpp:74
Ecdsa
::
P256
::
kMpiSize
)
;
crypto_platform.cpp:547
otPlatCryptoEcdsaGetPublicKey()
aPublicKey
->
m8
+
Ecdsa
::
P256
::
kMpiSize
,
Ecdsa
::
P256
::
kMpiSize
)
;
crypto_platform.cpp:551
otPlatCryptoEcdsaGetPublicKey()
OT_ASSERT
(
mbedtls_mpi_size
(
&
r
)
<=
Ecdsa
::
P256
::
kMpiSize
)
;
crypto_platform.cpp:601
otPlatCryptoEcdsaSign()
ret
=
mbedtls_mpi_write_binary
(
&
r
,
aSignature
->
m8
,
Ecdsa
::
P256
::
kMpiSize
)
;
crypto_platform.cpp:603
otPlatCryptoEcdsaSign()
ret
=
mbedtls_mpi_write_binary
(
&
s
,
aSignature
->
m8
+
Ecdsa
::
P256
::
kMpiSize
,
Ecdsa
::
P256
::
kMpiSize
)
;
crypto_platform.cpp:606
otPlatCryptoEcdsaSign()
ret
=
mbedtls_mpi_read_binary
(
&
ecdsa
.
MBEDTLS_PRIVATE
(
Q
)
.
MBEDTLS_PRIVATE
(
X
)
,
aPublicKey
->
m8
,
Ecdsa
::
P256
::
kMpiSize
)
;
crypto_platform.cpp:635
otPlatCryptoEcdsaVerify()
ret
=
mbedtls_mpi_read_binary
(
&
ecdsa
.
MBEDTLS_PRIVATE
(
Q
)
.
MBEDTLS_PRIVATE
(
Y
)
,
aPublicKey
->
m8
+
Ecdsa
::
P256
::
kMpiSize
,
crypto_platform.cpp:637
otPlatCryptoEcdsaVerify()
Ecdsa
::
P256
::
kMpiSize
)
;
crypto_platform.cpp:638
otPlatCryptoEcdsaVerify()
ret
=
mbedtls_mpi_read_binary
(
&
r
,
aSignature
->
m8
,
Ecdsa
::
P256
::
kMpiSize
)
;
crypto_platform.cpp:643
otPlatCryptoEcdsaVerify()
ret
=
mbedtls_mpi_read_binary
(
&
s
,
aSignature
->
m8
+
Ecdsa
::
P256
::
kMpiSize
,
Ecdsa
::
P256
::
kMpiSize
)
;
crypto_platform.cpp:646
otPlatCryptoEcdsaVerify()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
ot::Crypto::Ecdsa::P256::kMpiSize
is read by 3 functions:
All items filtered out
ot::Crypto::Ecdsa::P256::kMpiSize
otPlatCryptoEcdsaGetPublicKey()
otPlatCryptoEcdsaSign()
otPlatCryptoEcdsaVerify()
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