/openthread-3.4.0/src/core/diags/ |
D | factory_diags.cpp | 55 char *aOutput, in otPlatDiagProcess() argument 61 OT_UNUSED_VARIABLE(aOutput); in otPlatDiagProcess() 90 Error Diags::ProcessChannel(uint8_t aArgsLength, char *aArgs[], char *aOutput, size_t aOutputMaxLen) in ProcessChannel() argument 103 AppendErrorResult(error, aOutput, aOutputMaxLen); in ProcessChannel() 107 Error Diags::ProcessPower(uint8_t aArgsLength, char *aArgs[], char *aOutput, size_t aOutputMaxLen) in ProcessPower() argument 119 AppendErrorResult(error, aOutput, aOutputMaxLen); in ProcessPower() 123 Error Diags::ProcessEcho(uint8_t aArgsLength, char *aArgs[], char *aOutput, size_t aOutputMaxLen) in ProcessEcho() argument 129 snprintf(aOutput, aOutputMaxLen, "%s\r\n", aArgs[0]); in ProcessEcho() 144 aOutput[i] = '0' + i % 10; in ProcessEcho() 147 snprintf(&aOutput[i], aOutputMaxLen - i, "\r\n"); in ProcessEcho() [all …]
|
D | factory_diags.hpp | 72 Error ProcessLine(const char *aString, char *aOutput, size_t aOutputMaxLen); 87 Error ProcessCmd(uint8_t aArgsLength, char *aArgs[], char *aOutput, size_t aOutputMaxLen); 131 … Error (Diags::*mCommand)(uint8_t aArgsLength, char *aArgs[], char *aOutput, size_t aOutputMaxLen); 184 Error ProcessChannel(uint8_t aArgsLength, char *aArgs[], char *aOutput, size_t aOutputMaxLen); 185 …Error ProcessContinuousWave(uint8_t aArgsLength, char *aArgs[], char *aOutput, size_t aOutputMaxLe… 186 Error ProcessGpio(uint8_t aArgsLength, char *aArgs[], char *aOutput, size_t aOutputMaxLen); 187 Error ProcessPower(uint8_t aArgsLength, char *aArgs[], char *aOutput, size_t aOutputMaxLen); 188 Error ProcessRadio(uint8_t aArgsLength, char *aArgs[], char *aOutput, size_t aOutputMaxLen); 189 Error ProcessRepeat(uint8_t aArgsLength, char *aArgs[], char *aOutput, size_t aOutputMaxLen); 190 …Error ProcessPowerSettings(uint8_t aArgsLength, char *aArgs[], char *aOutput, size_t aOutputMaxLen… [all …]
|
/openthread-3.4.0/src/posix/platform/ |
D | entropy.cpp | 92 otError otPlatEntropyGet(uint8_t *aOutput, uint16_t aOutputLength) in otPlatEntropyGet() argument 101 VerifyOrExit(aOutput && aOutputLength, error = OT_ERROR_INVALID_ARGS); in otPlatEntropyGet() 106 readLength = fread(aOutput, 1, aOutputLength, file); in otPlatEntropyGet() 126 VerifyOrExit(aOutput && aOutputLength, error = OT_ERROR_INVALID_ARGS); in otPlatEntropyGet() 130 aOutput[length] = (uint8_t)randomUint32Get(); in otPlatEntropyGet()
|
D | radio.cpp | 511 char *aOutput, in otPlatDiagProcess() argument 525 return sRadioSpinel.PlatDiagProcess(cmd, aOutput, aOutputMaxLen); in otPlatDiagProcess()
|
/openthread-3.4.0/examples/platforms/simulation/ |
D | entropy.c | 90 otError otPlatEntropyGet(uint8_t *aOutput, uint16_t aOutputLength) in otPlatEntropyGet() argument 99 otEXPECT_ACTION(aOutput && aOutputLength, error = OT_ERROR_INVALID_ARGS); in otPlatEntropyGet() 104 readLength = fread(aOutput, 1, aOutputLength, file); in otPlatEntropyGet() 124 otEXPECT_ACTION(aOutput && aOutputLength, error = OT_ERROR_INVALID_ARGS); in otPlatEntropyGet() 128 aOutput[length] = (uint8_t)randomUint32Get(); in otPlatEntropyGet()
|
/openthread-3.4.0/src/core/api/ |
D | diags_api.cpp | 45 otError otDiagProcessCmdLine(otInstance *aInstance, const char *aString, char *aOutput, size_t aOut… in otDiagProcessCmdLine() argument 49 …return AsCoreType(aInstance).Get<FactoryDiags::Diags>().ProcessLine(aString, aOutput, aOutputMaxLe… in otDiagProcessCmdLine() 52 otError otDiagProcessCmd(otInstance *aInstance, uint8_t aArgsLength, char *aArgs[], char *aOutput, … in otDiagProcessCmd() argument 54 …return AsCoreType(aInstance).Get<FactoryDiags::Diags>().ProcessCmd(aArgsLength, aArgs, aOutput, aO… in otDiagProcessCmd()
|
/openthread-3.4.0/include/openthread/ |
D | diag.h | 74 char *aOutput, 94 otError otDiagProcessCmdLine(otInstance *aInstance, const char *aString, char *aOutput, size_t aOut…
|
/openthread-3.4.0/src/core/crypto/ |
D | aes_ecb.cpp | 50 void AesEcb::Encrypt(const uint8_t aInput[kBlockSize], uint8_t aOutput[kBlockSize]) in Encrypt() 52 SuccessOrAssert(otPlatCryptoAesEncrypt(&mContext, aInput, aOutput)); in Encrypt()
|
D | aes_ecb.hpp | 91 void Encrypt(const uint8_t aInput[kBlockSize], uint8_t aOutput[kBlockSize]);
|
D | crypto_platform.cpp | 120 … otError otPlatCryptoAesEncrypt(otCryptoContext *aContext, const uint8_t *aInput, uint8_t *aOutput) in otPlatCryptoAesEncrypt() argument 129 …VerifyOrExit((mbedtls_aes_crypt_ecb(context, MBEDTLS_AES_ENCRYPT, aInput, aOutput) == 0), error = … in otPlatCryptoAesEncrypt() 449 static int handleMbedtlsEntropyPoll(void *aData, unsigned char *aOutput, size_t aInLen, size_t *aOu… in handleMbedtlsEntropyPoll() argument 453 …SuccessOrExit(otPlatEntropyGet(reinterpret_cast<uint8_t *>(aOutput), static_cast<uint16_t>(aInLen)… in handleMbedtlsEntropyPoll()
|
/openthread-3.4.0/tests/fuzz/ |
D | fuzzer_platform.cpp | 190 otError otDiagProcessCmd(otInstance *aInstance, uint8_t aArgsLength, char *aArgs[], char *aOutput, … in otDiagProcessCmd() argument 195 OT_UNUSED_VARIABLE(aOutput); in otDiagProcessCmd() 201 otError otDiagProcessCmdLine(otInstance *aInstance, const char *aString, char *aOutput, size_t aOut… in otDiagProcessCmdLine() argument 205 OT_UNUSED_VARIABLE(aOutput); in otDiagProcessCmdLine() 419 otError otPlatEntropyGet(uint8_t *aOutput, uint16_t aOutputLength) in otPlatEntropyGet() argument 423 aOutput[length] = (uint8_t)rand(); in otPlatEntropyGet() 479 char *aOutput, in otPlatDiagProcess() argument 485 OT_UNUSED_VARIABLE(aOutput); in otPlatDiagProcess()
|
/openthread-3.4.0/include/openthread/platform/ |
D | entropy.h | 69 otError otPlatEntropyGet(uint8_t *aOutput, uint16_t aOutputLength);
|
D | diag.h | 89 char *aOutput,
|
D | crypto.h | 421 otError otPlatCryptoAesEncrypt(otCryptoContext *aContext, const uint8_t *aInput, uint8_t *aOutput);
|
/openthread-3.4.0/tests/unit/ |
D | test_platform.cpp | 169 OT_TOOL_WEAK otError otPlatEntropyGet(uint8_t *aOutput, uint16_t aOutputLength) in otPlatEntropyGet() argument 173 VerifyOrExit(aOutput, error = OT_ERROR_INVALID_ARGS); in otPlatEntropyGet() 183 readLength = fread(aOutput, 1, aOutputLength, file); in otPlatEntropyGet() 195 aOutput[length] = (uint8_t)rand(); in otPlatEntropyGet() 203 OT_TOOL_WEAK void otPlatDiagProcess(otInstance *, uint8_t, char *aArgs[], char *aOutput, size_t aOu… in otPlatDiagProcess() argument 205 snprintf(aOutput, aOutputMaxLen, "diag feature '%s' is not supported\r\n", aArgs[0]); in otPlatDiagProcess()
|
/openthread-3.4.0/src/lib/spinel/ |
D | radio_spinel.hpp | 604 otError PlatDiagProcess(const char *aString, char *aOutput, size_t aOutputMaxLen);
|
D | radio_spinel_impl.hpp | 2140 char *aOutput, in PlatDiagProcess() argument 2145 mDiagOutput = aOutput; in PlatDiagProcess()
|