Module self_test

Source
Expand description

MbedTLS self tests.

Calling MbedTLS self test functions before they’re enabled using the enable() function here will result in a panic.

Using this module in multithreaded or async environment will fail. The self test functions rely on global variables to track operations and anything non-self-test related operations will clobber these variables, resulting in self test failures. Make sure no other code uses MbedTLS while running the self tests. Multiple self test operations done simultaneously may also return failures.

Functions§

aes
arc4
aria
base64
camellia
ccm
cmac
ctr_drbg
des
dhm
disable
Safety
ecjpake
ecp
enable
Set callback functions to enable the MbedTLS self tests.
entropy
gcm
hmac_drbg
md2
md4
md5
mpi
nist_kw
pkcs5
ripemd160
rsa
sha1
sha256
sha512
x509
xtea