Home
last modified time | relevance | path

Searched refs:MbedTls (Results 1 – 6 of 6) sorted by relevance

/openthread-3.7.0/src/core/crypto/
Dcrypto_platform.cpp490 return ot::Crypto::MbedTls::MapError( in otPlatCryptoRandomGet()
506 …ret = mbedtls_ecp_gen_key(MBEDTLS_ECP_DP_SECP256R1, mbedtls_pk_ec(pk), MbedTls::CryptoSecurePrng, … in otPlatCryptoEcdsaGenerateKey()
520 return (ret >= 0) ? kErrorNone : MbedTls::MapError(ret); in otPlatCryptoEcdsaGenerateKey()
537 MbedTls::CryptoSecurePrng, nullptr) == 0, in otPlatCryptoEcdsaGetPublicKey()
548 VerifyOrExit(ret == 0, error = MbedTls::MapError(ret)); in otPlatCryptoEcdsaGetPublicKey()
552 VerifyOrExit(ret == 0, error = MbedTls::MapError(ret)); in otPlatCryptoEcdsaGetPublicKey()
580 MbedTls::CryptoSecurePrng, nullptr) == 0, in otPlatCryptoEcdsaSign()
590 VerifyOrExit(ret == 0, error = MbedTls::MapError(ret)); in otPlatCryptoEcdsaSign()
594 … Sha256::Hash::kSize, MBEDTLS_MD_SHA256, MbedTls::CryptoSecurePrng, nullptr); in otPlatCryptoEcdsaSign()
599 VerifyOrExit(ret == 0, error = MbedTls::MapError(ret)); in otPlatCryptoEcdsaSign()
[all …]
Dmbedtls.cpp54 MbedTls::MbedTls(void) in MbedTls() function in ot::Crypto::MbedTls
65 Error MbedTls::MapError(int aMbedTlsError) in MapError()
175 int MbedTls::CryptoSecurePrng(void *, unsigned char *aBuffer, size_t aSize) in CryptoSecurePrng()
Dmbedtls.hpp74 class MbedTls : private NonCopyable class
81 MbedTls(void);
/openthread-3.7.0/src/core/meshcop/
Dsecure_transport.cpp325 mbedtls_ssl_conf_rng(&mConf, Crypto::MbedTls::CryptoSecurePrng, nullptr); in Setup()
364 rval = mbedtls_ssl_cookie_setup(&mCookieCtx, Crypto::MbedTls::CryptoSecurePrng, nullptr); in Setup()
426 return Crypto::MbedTls::MapError(rval); in Setup()
457 Crypto::MbedTls::CryptoSecurePrng, nullptr); in SetApplicationSecureKeys()
762 return Crypto::MbedTls::MapError(rval); in SetClientId()
781 SuccessOrExit(error = Crypto::MbedTls::MapError(mbedtls_ssl_write(&mSsl, buffer, aLength))); in Send()
/openthread-3.7.0/src/cli/
Dcli_tcp.cpp151 mbedtls_ssl_conf_rng(&mSslConfig, Crypto::MbedTls::CryptoSecurePrng, nullptr); in Process()
166 nullptr, 0, Crypto::MbedTls::CryptoSecurePrng, nullptr); in Process()
/openthread-3.7.0/src/core/instance/
Dinstance.hpp460 Crypto::MbedTls mMbedTls;