ESP-IDF
ot::Utils::VerhoeffChecksum
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (2/5)...
Files
loading (3/5)...
Summary
Syntax
Methods
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ot::Utils::VerhoeffChecksum
ot::Utils::VerhoeffChecksum class
Syntax
Show:
Summary
Declaration
from
verhoeff_checksum.hpp:48
class
VerhoeffChecksum
{
public
:
static
constexpr
uint16_t
kMaxStringLength
=
OT_VERHOEFF_CHECKSUM_MAX_STRING_LENGTH
;
static
Error
Calculate
(
const
char
*
aDecimalString
,
char
&
aChecksum
)
;
static
Error
Validate
(
const
char
*
aDecimalString
)
;
VerhoeffChecksum
(
void
)
=
delete
;
private
:
static
Error
ComputeCode
(
const
char
*
aDecimalString
,
uint8_t
&
aCode
,
bool
aValidate
)
;
static
uint8_t
Lookup
(
uint8_t
aIndex
,
const
uint8_t
aCompressedArray
[
]
)
;
static
uint8_t
Multiply
(
uint8_t
aFirst
,
uint8_t
aSecond
)
;
static
uint8_t
Permute
(
uint8_t
aPosition
,
uint8_t
aValue
)
;
static
uint8_t
InverseOf
(
uint8_t
aValue
)
;
}
;
Fields
Field
Description
ot::Utils::VerhoeffChecksum::kMaxStringLength
Specifies the maximum length of decimal string input.
Methods
Calculate()
Validate()
ComputeCode()
Lookup()
Multiply()
Permute()
InverseOf()
Examples
References
from
examples
Code
Location
Referrer
class
VerhoeffChecksum
verhoeff_checksum.hpp:48
uint8_t
VerhoeffChecksum
::
Lookup
(
uint8_t
aIndex
,
const
uint8_t
aCompressedArray
[
]
)
verhoeff_checksum.cpp:44
ot::Utils::VerhoeffChecksum::Lookup()
uint8_t
VerhoeffChecksum
::
Multiply
(
uint8_t
aFirst
,
uint8_t
aSecond
)
verhoeff_checksum.cpp:65
ot::Utils::VerhoeffChecksum::Multiply()
uint8_t
VerhoeffChecksum
::
Permute
(
uint8_t
aPosition
,
uint8_t
aValue
)
verhoeff_checksum.cpp:76
ot::Utils::VerhoeffChecksum::Permute()
uint8_t
VerhoeffChecksum
::
InverseOf
(
uint8_t
aValue
)
verhoeff_checksum.cpp:86
ot::Utils::VerhoeffChecksum::InverseOf()
Error
VerhoeffChecksum
::
Calculate
(
const
char
*
aDecimalString
,
char
&
aChecksum
)
verhoeff_checksum.cpp:93
ot::Utils::VerhoeffChecksum::Calculate()
Error
VerhoeffChecksum
::
Validate
(
const
char
*
aDecimalString
)
verhoeff_checksum.cpp:105
ot::Utils::VerhoeffChecksum::Validate()
Error
VerhoeffChecksum
::
ComputeCode
(
const
char
*
aDecimalString
,
uint8_t
&
aCode
,
bool
aValidate
)
verhoeff_checksum.cpp:117
ot::Utils::VerhoeffChecksum::ComputeCode()
return
VerhoeffChecksum
::
Calculate
(
aDecimalString
,
*
aChecksum
)
;
verhoeff_checksum_api.cpp:50
otVerhoeffChecksumCalculate()
return
VerhoeffChecksum
::
Validate
(
aDecimalString
)
;
verhoeff_checksum_api.cpp:57
otVerhoeffChecksumValidate()
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