/openthread-3.4.0/third_party/mbedtls/repo/library/ |
D | chacha20.c | 79 static inline void chacha20_quarter_round( uint32_t state[16], in chacha20_quarter_round() 86 state[a] += state[b]; in chacha20_quarter_round() 87 state[d] ^= state[a]; in chacha20_quarter_round() 88 state[d] = ROTL32( state[d], 16 ); in chacha20_quarter_round() 91 state[c] += state[d]; in chacha20_quarter_round() 92 state[b] ^= state[c]; in chacha20_quarter_round() 93 state[b] = ROTL32( state[b], 12 ); in chacha20_quarter_round() 96 state[a] += state[b]; in chacha20_quarter_round() 97 state[d] ^= state[a]; in chacha20_quarter_round() 98 state[d] = ROTL32( state[d], 8 ); in chacha20_quarter_round() [all …]
|
D | cmac.c | 220 mbedtls_platform_zeroize( cmac_ctx->state, sizeof( cmac_ctx->state ) ); in mbedtls_cipher_cmac_starts() 229 unsigned char *state; in mbedtls_cipher_cmac_update() local 239 state = ctx->cmac_ctx->state; in mbedtls_cipher_cmac_update() 250 cmac_xor_block( state, cmac_ctx->unprocessed_block, state, block_size ); in mbedtls_cipher_cmac_update() 252 if( ( ret = mbedtls_cipher_update( ctx, state, block_size, state, in mbedtls_cipher_cmac_update() 270 cmac_xor_block( state, input, state, block_size ); in mbedtls_cipher_cmac_update() 272 if( ( ret = mbedtls_cipher_update( ctx, state, block_size, state, in mbedtls_cipher_cmac_update() 297 unsigned char *state, *last_block; in mbedtls_cipher_cmac_finish() local 310 state = cmac_ctx->state; in mbedtls_cipher_cmac_finish() 331 cmac_xor_block( state, M_last, state, block_size ); in mbedtls_cipher_cmac_finish() [all …]
|
D | sha256.c | 91 ctx->state[0] = 0x6A09E667; in mbedtls_sha256_starts_ret() 92 ctx->state[1] = 0xBB67AE85; in mbedtls_sha256_starts_ret() 93 ctx->state[2] = 0x3C6EF372; in mbedtls_sha256_starts_ret() 94 ctx->state[3] = 0xA54FF53A; in mbedtls_sha256_starts_ret() 95 ctx->state[4] = 0x510E527F; in mbedtls_sha256_starts_ret() 96 ctx->state[5] = 0x9B05688C; in mbedtls_sha256_starts_ret() 97 ctx->state[6] = 0x1F83D9AB; in mbedtls_sha256_starts_ret() 98 ctx->state[7] = 0x5BE0CD19; in mbedtls_sha256_starts_ret() 103 ctx->state[0] = 0xC1059ED8; in mbedtls_sha256_starts_ret() 104 ctx->state[1] = 0x367CD507; in mbedtls_sha256_starts_ret() [all …]
|
D | sha512.c | 110 ctx->state[0] = UL64(0x6A09E667F3BCC908); in mbedtls_sha512_starts_ret() 111 ctx->state[1] = UL64(0xBB67AE8584CAA73B); in mbedtls_sha512_starts_ret() 112 ctx->state[2] = UL64(0x3C6EF372FE94F82B); in mbedtls_sha512_starts_ret() 113 ctx->state[3] = UL64(0xA54FF53A5F1D36F1); in mbedtls_sha512_starts_ret() 114 ctx->state[4] = UL64(0x510E527FADE682D1); in mbedtls_sha512_starts_ret() 115 ctx->state[5] = UL64(0x9B05688C2B3E6C1F); in mbedtls_sha512_starts_ret() 116 ctx->state[6] = UL64(0x1F83D9ABFB41BD6B); in mbedtls_sha512_starts_ret() 117 ctx->state[7] = UL64(0x5BE0CD19137E2179); in mbedtls_sha512_starts_ret() 125 ctx->state[0] = UL64(0xCBBB9D5DC1059ED8); in mbedtls_sha512_starts_ret() 126 ctx->state[1] = UL64(0x629A292A367CD507); in mbedtls_sha512_starts_ret() [all …]
|
D | md2.c | 102 memset( ctx->state, 0, 46 ); in mbedtls_md2_starts_ret() 124 ctx->state[i + 16] = ctx->buffer[i]; in mbedtls_internal_md2_process() 125 ctx->state[i + 32] = in mbedtls_internal_md2_process() 126 (unsigned char)( ctx->buffer[i] ^ ctx->state[i]); in mbedtls_internal_md2_process() 133 ctx->state[j] = (unsigned char) in mbedtls_internal_md2_process() 134 ( ctx->state[j] ^ PI_SUBST[t] ); in mbedtls_internal_md2_process() 135 t = ctx->state[j]; in mbedtls_internal_md2_process() 229 memcpy( output, ctx->state, 16 ); in mbedtls_md2_finish_ret()
|
D | chachapoly.c | 100 ctx->state = CHACHAPOLY_STATE_INIT; in mbedtls_chachapoly_init() 113 ctx->state = CHACHAPOLY_STATE_INIT; in mbedtls_chachapoly_free() 160 ctx->state = CHACHAPOLY_STATE_AAD; in mbedtls_chachapoly_starts() 176 if( ctx->state != CHACHAPOLY_STATE_AAD ) in mbedtls_chachapoly_update_aad() 194 if( ( ctx->state != CHACHAPOLY_STATE_AAD ) && in mbedtls_chachapoly_update() 195 ( ctx->state != CHACHAPOLY_STATE_CIPHERTEXT ) ) in mbedtls_chachapoly_update() 200 if( ctx->state == CHACHAPOLY_STATE_AAD ) in mbedtls_chachapoly_update() 202 ctx->state = CHACHAPOLY_STATE_CIPHERTEXT; in mbedtls_chachapoly_update() 243 if( ctx->state == CHACHAPOLY_STATE_INIT ) in mbedtls_chachapoly_finish() 248 if( ctx->state == CHACHAPOLY_STATE_AAD ) in mbedtls_chachapoly_finish() [all …]
|
D | ripemd160.c | 74 ctx->state[0] = 0x67452301; in mbedtls_ripemd160_starts_ret() 75 ctx->state[1] = 0xEFCDAB89; in mbedtls_ripemd160_starts_ret() 76 ctx->state[2] = 0x98BADCFE; in mbedtls_ripemd160_starts_ret() 77 ctx->state[3] = 0x10325476; in mbedtls_ripemd160_starts_ret() 78 ctx->state[4] = 0xC3D2E1F0; in mbedtls_ripemd160_starts_ret() 119 local.A = local.Ap = ctx->state[0]; in mbedtls_internal_ripemd160_process() 120 local.B = local.Bp = ctx->state[1]; in mbedtls_internal_ripemd160_process() 121 local.C = local.Cp = ctx->state[2]; in mbedtls_internal_ripemd160_process() 122 local.D = local.Dp = ctx->state[3]; in mbedtls_internal_ripemd160_process() 123 local.E = local.Ep = ctx->state[4]; in mbedtls_internal_ripemd160_process() [all …]
|
D | md4.c | 74 ctx->state[0] = 0x67452301; in mbedtls_md4_starts_ret() 75 ctx->state[1] = 0xEFCDAB89; in mbedtls_md4_starts_ret() 76 ctx->state[2] = 0x98BADCFE; in mbedtls_md4_starts_ret() 77 ctx->state[3] = 0x10325476; in mbedtls_md4_starts_ret() 117 local.A = ctx->state[0]; in mbedtls_internal_md4_process() 118 local.B = ctx->state[1]; in mbedtls_internal_md4_process() 119 local.C = ctx->state[2]; in mbedtls_internal_md4_process() 120 local.D = ctx->state[3]; in mbedtls_internal_md4_process() 207 ctx->state[0] += local.A; in mbedtls_internal_md4_process() 208 ctx->state[1] += local.B; in mbedtls_internal_md4_process() [all …]
|
D | md5.c | 73 ctx->state[0] = 0x67452301; in mbedtls_md5_starts_ret() 74 ctx->state[1] = 0xEFCDAB89; in mbedtls_md5_starts_ret() 75 ctx->state[2] = 0x98BADCFE; in mbedtls_md5_starts_ret() 76 ctx->state[3] = 0x10325476; in mbedtls_md5_starts_ret() 124 local.A = ctx->state[0]; in mbedtls_internal_md5_process() 125 local.B = ctx->state[1]; in mbedtls_internal_md5_process() 126 local.C = ctx->state[2]; in mbedtls_internal_md5_process() 127 local.D = ctx->state[3]; in mbedtls_internal_md5_process() 213 ctx->state[0] += local.A; in mbedtls_internal_md5_process() 214 ctx->state[1] += local.B; in mbedtls_internal_md5_process() [all …]
|
D | sha1.c | 85 ctx->state[0] = 0x67452301; in mbedtls_sha1_starts_ret() 86 ctx->state[1] = 0xEFCDAB89; in mbedtls_sha1_starts_ret() 87 ctx->state[2] = 0x98BADCFE; in mbedtls_sha1_starts_ret() 88 ctx->state[3] = 0x10325476; in mbedtls_sha1_starts_ret() 89 ctx->state[4] = 0xC3D2E1F0; in mbedtls_sha1_starts_ret() 148 local.A = ctx->state[0]; in mbedtls_internal_sha1_process() 149 local.B = ctx->state[1]; in mbedtls_internal_sha1_process() 150 local.C = ctx->state[2]; in mbedtls_internal_sha1_process() 151 local.D = ctx->state[3]; in mbedtls_internal_sha1_process() 152 local.E = ctx->state[4]; in mbedtls_internal_sha1_process() [all …]
|
D | ssl_ticket.c | 211 unsigned char *state = state_len_bytes + TICKET_CRYPT_LEN_BYTES; in mbedtls_ssl_ticket_write() local 242 state, end - state, in mbedtls_ssl_ticket_write() 255 state, clear_len, in mbedtls_ssl_ticket_write() 256 state, end - state, &ciph_len, in mbedtls_ssl_ticket_write()
|
D | ecdsa.c | 67 } state; member 77 ctx->state = ecdsa_ver_init; in ecdsa_restart_ver_init() 107 } state; member 119 ctx->state = ecdsa_sig_init; in ecdsa_restart_sig_init() 144 } state; member 153 ctx->state = ecdsa_det_init; in ecdsa_restart_det_init() 289 if( rs_ctx->sig->state == ecdsa_sig_mul ) in ecdsa_sign_restartable() 291 if( rs_ctx->sig->state == ecdsa_sig_modn ) in ecdsa_sign_restartable() 322 rs_ctx->sig->state = ecdsa_sig_mul; in ecdsa_sign_restartable() 336 rs_ctx->sig->state = ecdsa_sig_modn; in ecdsa_sign_restartable() [all …]
|
/openthread-3.4.0/src/core/backbone_router/ |
D | bbr_leader.cpp | 156 State state; in UpdateBackboneRouterPrimary() local 165 state = kStateRemoved; in UpdateBackboneRouterPrimary() 169 state = kStateAdded; in UpdateBackboneRouterPrimary() 174 state = kStateToTriggerRereg; in UpdateBackboneRouterPrimary() 180 state = kStateNone; in UpdateBackboneRouterPrimary() 184 state = kStateToTriggerRereg; in UpdateBackboneRouterPrimary() 188 state = kStateRefreshed; in UpdateBackboneRouterPrimary() 192 state = kStateUnchanged; in UpdateBackboneRouterPrimary() 214 LogBackboneRouterPrimary(state, mConfig); in UpdateBackboneRouterPrimary() 217 Get<BackboneRouter::Local>().HandleBackboneRouterPrimaryUpdate(state, mConfig); in UpdateBackboneRouterPrimary() [all …]
|
/openthread-3.4.0/src/cli/ |
D | README_JOINER.md | 13 - [state](#state) 29 state 80 ### state subsection 82 Usage: `joiner state` 84 Print the Joiner state. 94 > joiner state
|
D | README_SRP_CLIENT.md | 16 - [state](#state) 38 state 101 name:"dev4312", state:Registered, addrs:[fd00:0:0:0:0:0:0:1] 103 instance:"ins2", name:"_test2._udp", state:Registered, port:111, priority:1, weight:1 104 … instance:"ins1", name:"_test1._udp,_sub1,_sub2", state:Registered, port:777, priority:0, weight:0 112 name:"dev4312", state:Registered, addrs:[fd00:0:0:0:0:0:0:1] 114 instance:"ins1", name:"_test1._udp", state:Registered, port:777, priority:0, weight:0 116 instance:"ins2", name:"_test2._udp,_sub1,_sub2", state:Removed, port:111, priority:1, weight:1 124 name:"dev4312", state:Removed, addrs:[fd00:0:0:0:0:0:0:1] 127 instance:"ins1", name:"_test1._udp", state:Removed, port:777, priority:0, weight:0 [all …]
|
D | README_BR.md | 16 - [state](#state) 35 state 61 ### state subsection 63 Usage: `br state` 65 Get the Border Routing state: 73 > br state
|
D | README_SRP_SERVER.md | 18 - [state](#state) 39 state 204 ### state subsection 206 Usage: `srp server state` 208 Print the state of the SRP server. It could be `disabled`, `stopped` or `running`. 215 > srp server state
|
D | README_COMMISSIONER.md | 21 - [state](#state) 239 ### state subsection 241 Usage: `commissioner state` 243 Get Commissioner state. 245 This command will return the current Commissioner state. 248 > commissioner state
|
/openthread-3.4.0/script/ |
D | update-makefiles.py | 77 state = STATE_SEARCH if search_string else STATE_MATCH_START 80 if state == STATE_SEARCH: 83 state = STATE_MATCH_START 84 elif state == STATE_MATCH_START: 88 state = STATE_MATCH_END 89 elif state == STATE_MATCH_END: 92 state = STATE_DONE 96 if state != STATE_DONE:
|
/openthread-3.4.0/tests/toranj/ncp/ |
D | test-039-address-cache-table-snoop.py | 144 verify(entry.state == wpan.ADDRESS_CACHE_ENTRY_STATE_QUERY) 159 verify(cache_table[index].state == wpan.ADDRESS_CACHE_ENTRY_STATE_RETRY_QUERY) 184 verify(cache_table[index].state == wpan.ADDRESS_CACHE_ENTRY_STATE_RETRY_QUERY) 203 verify(cache_table[index].state == wpan.ADDRESS_CACHE_ENTRY_STATE_QUERY) 230 verify(cache_table[index].state == wpan.ADDRESS_CACHE_ENTRY_STATE_SNOOPED) 256 verify(cache_table[index].state == wpan.ADDRESS_CACHE_ENTRY_STATE_CACHED) 279 verify(cache_table[index].state == wpan.ADDRESS_CACHE_ENTRY_STATE_CACHED) 298 verify(cache_table[index].state == wpan.ADDRESS_CACHE_ENTRY_STATE_CACHED) 317 verify(cache_table[index].state == wpan.ADDRESS_CACHE_ENTRY_STATE_CACHED) 348 snooped_entries = [entry for entry in cache_table if entry.state == wpan.ADDRESS_CACHE_ENTRY_STATE_… [all …]
|
/openthread-3.4.0/tests/scripts/thread-cert/ |
D | Cert_8_3_01_CommissionerPetition.py | 151 p.thread_meshcop.tlv.state == MESHCOP_ACCEPT 190 p.thread_meshcop.tlv.state == MESHCOP_ACCEPT 204 p.thread_meshcop.tlv.state == MESHCOP_ACCEPT 243 p.thread_meshcop.tlv.state == MESHCOP_ACCEPT 284 p.thread_meshcop.tlv.state == MESHCOP_REJECT 306 p.thread_meshcop.tlv.state == MESHCOP_REJECT 360 p.thread_meshcop.tlv.state == MESHCOP_ACCEPT and\
|
D | Cert_9_2_04_ActiveDataset.py | 216 lambda p: p.thread_meshcop.tlv.state == 1).must_next() 237 lambda p: p.thread_meshcop.tlv.state == -1).must_next() 248 lambda p: p.thread_meshcop.tlv.state == -1).must_next() 260 lambda p: p.thread_meshcop.tlv.state == -1).must_next() 272 lambda p: p.thread_meshcop.tlv.state == -1).must_next() 283 lambda p: p.thread_meshcop.tlv.state == -1).must_next() 293 lambda p: p.thread_meshcop.tlv.state == -1).must_next() 304 lambda p: p.thread_meshcop.tlv.state == 1).must_next() 315 lambda p: p.thread_meshcop.tlv.state == 1).must_next()
|
/openthread-3.4.0/third_party/mbedtls/repo/tests/src/ |
D | helpers.c | 35 jmp_buf state; member 275 return ¶m_failed_ctx.state; in mbedtls_test_param_failed_get_state_buf() 280 memset( param_failed_ctx.state, 0, sizeof( param_failed_ctx.state ) ); in mbedtls_test_param_failed_reset_state() 306 longjmp( param_failed_ctx.state, 1 ); in mbedtls_param_failed()
|
/openthread-3.4.0/src/core/meshcop/ |
D | meshcop_leader.cpp | 72 StateTlv::State state = StateTlv::kReject; in HandleTmf() local 108 state = StateTlv::kAccept; in HandleTmf() 112 SendPetitionResponse(aMessage, aMessageInfo, state); in HandleTmf() 148 uint8_t state; in HandleTmf() local 155 SuccessOrExit(Tlv::Find<StateTlv>(aMessage, state)); in HandleTmf() 166 else if (state != StateTlv::kAccept) in HandleTmf()
|
/openthread-3.4.0/tools/ot-fct/ |
D | cli.cpp | 209 uint8_t state = kStateSearchDomain; in ProcessCalibrationTable() local 216 if ((state == kStateSearchDomain) && (*arg == "-b")) in ProcessCalibrationTable() 233 state = kStateSearchPower; in ProcessCalibrationTable() 235 else if ((state == kStateSearchPower) && (*arg == "-c")) in ProcessCalibrationTable() 250 state = kStateSearchDomain; in ProcessCalibrationTable() 259 if (state == kStateSearchPower) in ProcessCalibrationTable()
|