Home
last modified time | relevance | path

Searched refs:mode (Results 1 – 25 of 115) sorted by relevance

12345

/openthread-2.7.6/third_party/mbedtls/repo/include/mbedtls/
Drsa.h614 int mode, size_t ilen,
655 int mode, size_t ilen,
700 int mode,
753 int mode, size_t *olen,
803 int mode, size_t *olen,
857 int mode,
917 int mode,
965 int mode,
1027 int mode,
1080 int mode,
[all …]
Dpkcs11.h138 int mode, size_t *olen,
163 int mode,
176 int mode, size_t *olen, in mbedtls_ssl_pkcs11_decrypt() argument
180 return mbedtls_pkcs11_decrypt( (mbedtls_pkcs11_context *) ctx, mode, olen, input, output, in mbedtls_ssl_pkcs11_decrypt()
212 int mode, mbedtls_md_type_t md_alg, unsigned int hashlen, in mbedtls_ssl_pkcs11_sign() argument
217 return mbedtls_pkcs11_sign( (mbedtls_pkcs11_context *) ctx, mode, md_alg, in mbedtls_ssl_pkcs11_sign()
Dcipher_internal.h52 int (*ecb_func)( void *ctx, mbedtls_operation_t mode,
57 int (*cbc_func)( void *ctx, mbedtls_operation_t mode, size_t length,
64 int (*cfb_func)( void *ctx, mbedtls_operation_t mode, size_t length, size_t *iv_off,
86 int (*xts_func)( void *ctx, mbedtls_operation_t mode, size_t length,
Daes.h259 int mode,
306 int mode,
350 int mode,
398 int mode,
442 int mode,
Dcamellia.h137 int mode,
171 int mode,
217 int mode,
Dblowfish.h126 int mode,
160 int mode,
200 int mode,
Dgcm.h73 int mode; /*!< The operation to perform: member
169 int mode,
242 int mode,
Dpadlock.h92 int mode,
112 int mode,
Dxtea.h96 int mode,
115 int mode,
/openthread-2.7.6/tests/scripts/thread-cert/
DREADME.md37 #### `#` mode
39 This is selection mode. You may select the node to inspect here.
43 - \<number\> - select the node with id \<number\>. This will result in entering `>` mode.
45 #### `>` mode
47 This is node mode. You may run OpenThread CLI here.
49 - `exit` - go back to `#` mode.
Dnetwork_diag.py199 def __init__(self, timeout: int, child_id: int, mode: mle.Mode):
202 self._mode = mode
213 def mode(self): member in ChildTableEntry
219 …urn (self.timeout == other.timeout and self.child_id == other.child_id and self.mode == other.mode)
254 mode = mle.ModeFactory().parse(data, message_info)
257 children.append(ChildTableEntry(timeout, child_id, mode))
/openthread-2.7.6/third_party/mbedtls/repo/library/
Dcipher.c151 const mbedtls_cipher_mode_t mode ) in mbedtls_cipher_info_from_values() argument
158 def->info->mode == mode ) in mbedtls_cipher_info_from_values()
254 alg = mbedtls_psa_translate_cipher_mode( cipher_info->mode, taglen ); in mbedtls_cipher_setup_psa()
356 MBEDTLS_MODE_CFB == ctx->cipher_info->mode || in mbedtls_cipher_setkey()
357 MBEDTLS_MODE_OFB == ctx->cipher_info->mode || in mbedtls_cipher_setkey()
358 MBEDTLS_MODE_CTR == ctx->cipher_info->mode ) in mbedtls_cipher_setkey()
467 if( MBEDTLS_MODE_GCM == ctx->cipher_info->mode ) in mbedtls_cipher_update_ad()
478 mbedtls_chachapoly_mode_t mode; in mbedtls_cipher_update_ad() local
480 mode = ( ctx->operation == MBEDTLS_ENCRYPT ) in mbedtls_cipher_update_ad()
486 mode ); in mbedtls_cipher_update_ad()
[all …]
Dblowfish.c234 int mode, in mbedtls_blowfish_crypt_ecb() argument
240 BLOWFISH_VALIDATE_RET( mode == MBEDTLS_BLOWFISH_ENCRYPT || in mbedtls_blowfish_crypt_ecb()
241 mode == MBEDTLS_BLOWFISH_DECRYPT ); in mbedtls_blowfish_crypt_ecb()
248 if( mode == MBEDTLS_BLOWFISH_DECRYPT ) in mbedtls_blowfish_crypt_ecb()
268 int mode, in mbedtls_blowfish_crypt_cbc() argument
277 BLOWFISH_VALIDATE_RET( mode == MBEDTLS_BLOWFISH_ENCRYPT || in mbedtls_blowfish_crypt_cbc()
278 mode == MBEDTLS_BLOWFISH_DECRYPT ); in mbedtls_blowfish_crypt_cbc()
286 if( mode == MBEDTLS_BLOWFISH_DECRYPT ) in mbedtls_blowfish_crypt_cbc()
291 mbedtls_blowfish_crypt_ecb( ctx, mode, input, output ); in mbedtls_blowfish_crypt_cbc()
310 mbedtls_blowfish_crypt_ecb( ctx, mode, output, output ); in mbedtls_blowfish_crypt_cbc()
[all …]
Drsa.c1150 int mode, in mbedtls_rsa_rsaes_oaep_encrypt() argument
1164 RSA_VALIDATE_RET( mode == MBEDTLS_RSA_PRIVATE || in mbedtls_rsa_rsaes_oaep_encrypt()
1165 mode == MBEDTLS_RSA_PUBLIC ); in mbedtls_rsa_rsaes_oaep_encrypt()
1170 if( mode == MBEDTLS_RSA_PRIVATE && ctx->padding != MBEDTLS_RSA_PKCS_V21 ) in mbedtls_rsa_rsaes_oaep_encrypt()
1226 return( ( mode == MBEDTLS_RSA_PUBLIC ) in mbedtls_rsa_rsaes_oaep_encrypt()
1239 int mode, size_t ilen, in mbedtls_rsa_rsaes_pkcs1_v15_encrypt() argument
1248 RSA_VALIDATE_RET( mode == MBEDTLS_RSA_PRIVATE || in mbedtls_rsa_rsaes_pkcs1_v15_encrypt()
1249 mode == MBEDTLS_RSA_PUBLIC ); in mbedtls_rsa_rsaes_pkcs1_v15_encrypt()
1253 if( mode == MBEDTLS_RSA_PRIVATE && ctx->padding != MBEDTLS_RSA_PKCS_V15 ) in mbedtls_rsa_rsaes_pkcs1_v15_encrypt()
1265 if( mode == MBEDTLS_RSA_PUBLIC ) in mbedtls_rsa_rsaes_pkcs1_v15_encrypt()
[all …]
Dpadlock.c75 int mode, in mbedtls_padlock_xcryptecb() argument
90 *ctrl = 0x80 | ctx->nr | ( ( ctx->nr + ( mode^1 ) - 10 ) << 9 ); in mbedtls_padlock_xcryptecb()
115 int mode, in mbedtls_padlock_xcryptcbc() argument
137 *ctrl = 0x80 | ctx->nr | ( ( ctx->nr + ( mode ^ 1 ) - 10 ) << 9 ); in mbedtls_padlock_xcryptcbc()
Dxtea.c94 int mbedtls_xtea_crypt_ecb( mbedtls_xtea_context *ctx, int mode, in mbedtls_xtea_crypt_ecb() argument
104 if( mode == MBEDTLS_XTEA_ENCRYPT ) in mbedtls_xtea_crypt_ecb()
137 int mbedtls_xtea_crypt_cbc( mbedtls_xtea_context *ctx, int mode, size_t length, in mbedtls_xtea_crypt_cbc() argument
147 if( mode == MBEDTLS_XTEA_DECRYPT ) in mbedtls_xtea_crypt_cbc()
152 mbedtls_xtea_crypt_ecb( ctx, mode, input, output ); in mbedtls_xtea_crypt_cbc()
171 mbedtls_xtea_crypt_ecb( ctx, mode, output, output ); in mbedtls_xtea_crypt_cbc()
Daes.c1010 int mode, in mbedtls_aes_crypt_ecb() argument
1017 AES_VALIDATE_RET( mode == MBEDTLS_AES_ENCRYPT || in mbedtls_aes_crypt_ecb()
1018 mode == MBEDTLS_AES_DECRYPT ); in mbedtls_aes_crypt_ecb()
1022 return( mbedtls_aesni_crypt_ecb( ctx, mode, input, output ) ); in mbedtls_aes_crypt_ecb()
1028 if( mbedtls_padlock_xcryptecb( ctx, mode, input, output ) == 0 ) in mbedtls_aes_crypt_ecb()
1037 if( mode == MBEDTLS_AES_ENCRYPT ) in mbedtls_aes_crypt_ecb()
1048 int mode, in mbedtls_aes_crypt_cbc() argument
1058 AES_VALIDATE_RET( mode == MBEDTLS_AES_ENCRYPT || in mbedtls_aes_crypt_cbc()
1059 mode == MBEDTLS_AES_DECRYPT ); in mbedtls_aes_crypt_cbc()
1070 if( mbedtls_padlock_xcryptcbc( ctx, mode, length, iv, input, output ) == 0 ) in mbedtls_aes_crypt_cbc()
[all …]
Dcamellia.c500 int mode, in mbedtls_camellia_crypt_ecb() argument
507 CAMELLIA_VALIDATE_RET( mode == MBEDTLS_CAMELLIA_ENCRYPT || in mbedtls_camellia_crypt_ecb()
508 mode == MBEDTLS_CAMELLIA_DECRYPT ); in mbedtls_camellia_crypt_ecb()
512 ( (void) mode ); in mbedtls_camellia_crypt_ecb()
568 int mode, in mbedtls_camellia_crypt_cbc() argument
577 CAMELLIA_VALIDATE_RET( mode == MBEDTLS_CAMELLIA_ENCRYPT || in mbedtls_camellia_crypt_cbc()
578 mode == MBEDTLS_CAMELLIA_DECRYPT ); in mbedtls_camellia_crypt_cbc()
586 if( mode == MBEDTLS_CAMELLIA_DECRYPT ) in mbedtls_camellia_crypt_cbc()
591 mbedtls_camellia_crypt_ecb( ctx, mode, input, output ); in mbedtls_camellia_crypt_cbc()
610 mbedtls_camellia_crypt_ecb( ctx, mode, output, output ); in mbedtls_camellia_crypt_cbc()
[all …]
Dchachapoly.c101 ctx->mode = MBEDTLS_CHACHAPOLY_ENCRYPT; in mbedtls_chachapoly_init()
114 ctx->mode = MBEDTLS_CHACHAPOLY_ENCRYPT; in mbedtls_chachapoly_free()
131 mbedtls_chachapoly_mode_t mode ) in mbedtls_chachapoly_starts() argument
161 ctx->mode = mode; in mbedtls_chachapoly_starts()
211 if( ctx->mode == MBEDTLS_CHACHAPOLY_ENCRYPT ) in mbedtls_chachapoly_update()
293 mbedtls_chachapoly_mode_t mode, in chachapoly_crypt_and_tag() argument
304 ret = mbedtls_chachapoly_starts( ctx, nonce, mode ); in chachapoly_crypt_and_tag()
/openthread-2.7.6/src/core/diags/
DREADME.md21 Show diagnostics mode status.
25 diagnostics mode is disabled
30 Start diagnostics mode.
34 start diagnostics mode
112 Enter radio sleep mode.
122 Set radio from sleep mode to receive mode.
141 Print statistics during diagnostics mode.
153 Clear statistics during diagnostics mode.
162 Stop diagnostics mode and print statistics.
171 stop diagnostics mode
/openthread-2.7.6/third_party/nlbuild-autotools/repo/third_party/autoconf/
Dinstall-sh85 mode=0755
144 -m) mode=$2
145 case $mode in
148 echo "$0: invalid mode: $mode" >&2
219 case $mode in
230 cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;
237 cp_umask=$mode$u_plus_rw;;
336 mkdir_mode=-m$mode
449 test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1
471 { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
/openthread-2.7.6/third_party/mbedtls/repo/programs/psa/
Dkey_ladder_demo.c523 static psa_status_t run( enum program_mode mode, in run() argument
537 if( mode == MODE_GENERATE ) in run()
550 switch( mode ) in run()
614 enum program_mode mode; in main() local
661 mode = MODE_GENERATE; in main()
663 mode = MODE_SAVE; in main()
665 mode = MODE_UNWRAP; in main()
667 mode = MODE_WRAP; in main()
675 ( mode == MODE_WRAP || mode == MODE_UNWRAP ) ) in main()
681 ( mode == MODE_SAVE || mode == MODE_WRAP || mode == MODE_UNWRAP ) ) in main()
[all …]
/openthread-2.7.6/third_party/mbedtls/repo/programs/pkey/
Dkey_app_writer.c105 int mode; /* the mode to run the application in */ member
224 opt.mode = DFL_MODE; in main()
240 opt.mode = MODE_PRIVATE; in main()
242 opt.mode = MODE_PUBLIC; in main()
275 if( opt.mode == MODE_NONE && opt.output_mode != OUTPUT_MODE_NONE ) in main()
281 if( opt.mode == MODE_PUBLIC && opt.output_mode == OUTPUT_MODE_PRIVATE ) in main()
287 if( opt.mode == MODE_PRIVATE ) in main()
348 else if( opt.mode == MODE_PUBLIC ) in main()
Dkey_app.c81 int mode; /* the mode to run the application in */ member
115 opt.mode = DFL_MODE; in main()
130 opt.mode = MODE_PRIVATE; in main()
132 opt.mode = MODE_PUBLIC; in main()
146 if( opt.mode == MODE_PRIVATE ) in main()
237 else if( opt.mode == MODE_PUBLIC ) in main()
/openthread-2.7.6/third_party/mbedtls/repo/tests/suites/
Dtest_suite_nist_kw.function149 void nist_kw_plaintext_lengths( int in_len, int out_len, int mode, int res )
176 TEST_ASSERT( mbedtls_nist_kw_wrap( &ctx, mode, plaintext, in_len,
181 if( mode == MBEDTLS_KW_MODE_KWP )
200 void nist_kw_ciphertext_lengths( int in_len, int out_len, int mode, int res )
226 unwrap_ret = mbedtls_nist_kw_unwrap( &ctx, mode, ciphertext, in_len,
245 void mbedtls_nist_kw_wrap( int cipher_id, int mode, data_t *key, data_t *msg,
260 TEST_ASSERT( mbedtls_nist_kw_wrap( &ctx, mode, msg->x, msg->len,
280 void mbedtls_nist_kw_unwrap( int cipher_id, int mode, data_t *key, data_t *msg,
295 TEST_ASSERT( mbedtls_nist_kw_unwrap( &ctx, mode, msg->x, msg->len,

12345