/openthread-3.5.0/third_party/mbedtls/repo/tests/suites/ |
D | test_suite_ccm.data | 35 CCM lengths #4 tag too short 38 CCM lengths #5 tag too long 41 CCM lengths #6 tag length not even 51 CCM lengths #9 tag length 0 57 CCM* fixed tag lengths #1 all OK 60 CCM* fixed tag lengths #2 all OK - tag length 0 63 CCM* encrypt and tag #1 67 CCM* encrypt and tag #2 71 CCM* encrypt and tag #3 75 CCM* auth decrypt tag #1 [all …]
|
D | test_suite_ssl.data | 689 Record crypt, AES-128-CBC, 1.2, SHA-384, short tag 693 Record crypt, AES-128-CBC, 1.2, SHA-384, short tag, CID 4+4 697 Record crypt, AES-128-CBC, 1.2, SHA-384, short tag, CID 4+0 701 Record crypt, AES-128-CBC, 1.2, SHA-384, short tag, EtM 705 Record crypt, AES-128-CBC, 1.2, SHA-384, short tag, EtM, CID 4+4 709 Record crypt, AES-128-CBC, 1.2, SHA-384, short tag, EtM, CID 4+0 737 Record crypt, AES-128-CBC, 1.2, SHA-256, short tag 741 Record crypt, AES-128-CBC, 1.2, SHA-256, short tag, CID 4+4 745 Record crypt, AES-128-CBC, 1.2, SHA-256, short tag, CID 4+0 749 Record crypt, AES-128-CBC, 1.2, SHA-256, short tag, EtM [all …]
|
D | test_suite_ccm.function | 46 unsigned char tag[18]; 56 memset( tag, 0, sizeof( tag ) ); 62 msg, out, tag, tag_len ) == res ); 65 msg, out, tag, tag_len ); 88 unsigned char tag[18]; 98 memset( tag, 0, sizeof( tag ) ); 104 add, add_len, msg, out, tag, tag_len ) == res ); 107 add_len, msg, out, tag, tag_len ); 158 unsigned char tag[16]; 163 memset( tag, 0x00, sizeof( tag ) ); [all …]
|
D | test_suite_oid.function | 20 asn1_buf.tag = MBEDTLS_ASN1_OID; 44 asn1_buf.tag = MBEDTLS_ASN1_OID; 68 ext_oid.tag = MBEDTLS_ASN1_OID; 92 md_oid.tag = MBEDTLS_ASN1_OID;
|
D | test_suite_cipher.function | 710 unsigned char tag[16]; 760 memset( tag, 0, sizeof( tag ) ); 789 TEST_ASSERT( 0 == mbedtls_cipher_write_tag( &ctx_enc, tag, sizeof( tag ) ) ); 810 TEST_ASSERT( 0 == mbedtls_cipher_check_tag( &ctx_dec, tag, sizeof( tag ) ) ); 1065 data_t * clear, data_t * ad, data_t * tag, 1078 ((void) tag); 1097 /* decode buffer and check tag->x */ 1105 TEST_ASSERT( tag_result == mbedtls_cipher_check_tag( &ctx, tag->x, tag->len ) ); 1122 data_t * ad, data_t * cipher, data_t * tag, 1126 * Take an AEAD ciphertext + tag and perform a pair [all …]
|
D | test_suite_asn1parse.function | 27 unsigned char tag; 29 /* First get the length, skipping over the tag. */ 36 /* Since we have a valid element start (tag and length), retrieve and 37 * check the tag. */ 38 tag = start[0]; 39 TEST_EQUAL( mbedtls_asn1_get_tag( p, end, &len2, tag ^ 1 ), 42 TEST_EQUAL( mbedtls_asn1_get_tag( p, end, &len2, tag ), 0 ); 47 switch( tag & 0x1f ) 112 /* No further testing implemented for this tag. */ 191 static int traverse_callback( void *ctx, int tag, [all …]
|
/openthread-3.5.0/doc/ |
D | Doxyfile.in | 55 # This tag specifies the encoding used for all characters in the config file 57 # before the first occurrence of this tag. Doxygen uses libiconv (or the iconv 64 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded by 72 # The PROJECT_NUMBER tag can be used to enter a project or revision number. This 78 # Using the PROJECT_BRIEF tag one can provide an optional one line description 84 # With the PROJECT_LOGO tag one can specify an logo or icon that is included in 91 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path 98 # If the CREATE_SUBDIRS tag is set to YES, then doxygen will create 4096 sub- 108 # The OUTPUT_LANGUAGE tag is used to specify the language in which all 123 # If the BRIEF_MEMBER_DESC tag is set to YES doxygen will include brief member [all …]
|
/openthread-3.5.0/third_party/mbedtls/repo/library/ |
D | asn1parse.c | 105 size_t *len, int tag ) in mbedtls_asn1_get_tag() argument 110 if( **p != tag ) in mbedtls_asn1_get_tag() 139 int tag, int *val ) in asn1_get_tagged_int() argument 144 if( ( ret = mbedtls_asn1_get_tag( p, end, &len, tag ) ) != 0 ) in asn1_get_tagged_int() 253 int (*cb)( void *ctx, int tag, in mbedtls_asn1_traverse_sequence_of() argument 272 unsigned char const tag = *(*p)++; in mbedtls_asn1_traverse_sequence_of() local 274 if( ( tag & tag_must_mask ) != tag_must_val ) in mbedtls_asn1_traverse_sequence_of() 280 if( ( tag & tag_may_mask ) == tag_may_val ) in mbedtls_asn1_traverse_sequence_of() 284 ret = cb( ctx, tag, *p, len ); in mbedtls_asn1_traverse_sequence_of() 331 int tag; member [all …]
|
D | ccm.c | 152 unsigned char *tag, size_t tag_len ) in ccm_auth_crypt() argument 311 memcpy( tag, y, tag_len ); in ccm_auth_crypt() 323 unsigned char *tag, size_t tag_len ) in mbedtls_ccm_star_encrypt_and_tag() argument 330 CCM_VALIDATE_RET( tag_len == 0 || tag != NULL ); in mbedtls_ccm_star_encrypt_and_tag() 332 add, add_len, input, output, tag, tag_len ) ); in mbedtls_ccm_star_encrypt_and_tag() 339 unsigned char *tag, size_t tag_len ) in mbedtls_ccm_encrypt_and_tag() argument 346 CCM_VALIDATE_RET( tag_len == 0 || tag != NULL ); in mbedtls_ccm_encrypt_and_tag() 351 add_len, input, output, tag, tag_len ) ); in mbedtls_ccm_encrypt_and_tag() 361 const unsigned char *tag, size_t tag_len ) in mbedtls_ccm_star_auth_decrypt() argument 373 CCM_VALIDATE_RET( tag_len == 0 || tag != NULL ); in mbedtls_ccm_star_auth_decrypt() [all …]
|
D | psa_crypto_aead.c | 182 uint8_t *tag; in mbedtls_psa_aead_encrypt() local 196 tag = ciphertext + plaintext_length; in mbedtls_psa_aead_encrypt() 208 tag, operation.tag_length ) ); in mbedtls_psa_aead_encrypt() 222 operation.tag_length, tag ) ); in mbedtls_psa_aead_encrypt() 251 tag ) ); in mbedtls_psa_aead_encrypt() 256 (void) tag; in mbedtls_psa_aead_encrypt() 306 const uint8_t *tag = NULL; in mbedtls_psa_aead_decrypt() local 315 plaintext_size, &tag ); in mbedtls_psa_aead_decrypt() 329 tag, operation.tag_length ) ); in mbedtls_psa_aead_decrypt() 342 tag, operation.tag_length, in mbedtls_psa_aead_decrypt() [all …]
|
D | x509.c | 92 serial->tag = *(*p)++; in mbedtls_x509_get_serial() 153 if( alg->tag != ( MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE ) ) in x509_get_hash_alg() 165 md_oid.tag = *p; in x509_get_hash_alg() 219 if( params->tag != ( MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE ) ) in mbedtls_x509_get_rsassa_pss_params() 366 oid->tag = **p; in x509_get_attr_type_value() 386 val->tag = *(*p)++; in x509_get_attr_type_value() 604 unsigned char tag; in mbedtls_x509_get_time() local 610 tag = **p; in mbedtls_x509_get_time() 612 if( tag == MBEDTLS_ASN1_UTC_TIME ) in mbedtls_x509_get_time() 614 else if( tag == MBEDTLS_ASN1_GENERALIZED_TIME ) in mbedtls_x509_get_time() [all …]
|
D | chachapoly.c | 286 unsigned char tag[16] ) in chachapoly_crypt_and_tag() 302 ret = mbedtls_chachapoly_finish( ctx, tag ); in chachapoly_crypt_and_tag() 315 unsigned char tag[16] ) in mbedtls_chachapoly_encrypt_and_tag() 319 CHACHAPOLY_VALIDATE_RET( tag != NULL ); in mbedtls_chachapoly_encrypt_and_tag() 326 input, output, tag ) ); in mbedtls_chachapoly_encrypt_and_tag() 334 const unsigned char tag[16], in mbedtls_chachapoly_auth_decrypt() 344 CHACHAPOLY_VALIDATE_RET( tag != NULL ); in mbedtls_chachapoly_auth_decrypt() 358 diff |= tag[i] ^ check_tag[i]; in mbedtls_chachapoly_auth_decrypt()
|
D | cipher.c | 1061 unsigned char *tag, size_t tag_len ) in mbedtls_cipher_write_tag() argument 1064 CIPHER_VALIDATE_RET( tag_len == 0 || tag != NULL ); in mbedtls_cipher_write_tag() 1084 tag, tag_len ) ); in mbedtls_cipher_write_tag() 1095 (mbedtls_chachapoly_context*) ctx->cipher_ctx, tag ) ); in mbedtls_cipher_write_tag() 1103 const unsigned char *tag, size_t tag_len ) in mbedtls_cipher_check_tag() argument 1109 CIPHER_VALIDATE_RET( tag_len == 0 || tag != NULL ); in mbedtls_cipher_check_tag() 1148 if( mbedtls_ct_memcmp( tag, check_tag, tag_len ) != 0 ) in mbedtls_cipher_check_tag() 1171 if( mbedtls_ct_memcmp( tag, check_tag, tag_len ) != 0 ) in mbedtls_cipher_check_tag() 1292 unsigned char *tag, size_t tag_len ) in mbedtls_cipher_aead_encrypt() argument 1309 if( output == NULL || tag != output + ilen ) in mbedtls_cipher_aead_encrypt() [all …]
|
D | gcm.c | 401 unsigned char *tag, in mbedtls_gcm_finish() argument 410 GCM_VALIDATE_RET( tag != NULL ); in mbedtls_gcm_finish() 418 memcpy( tag, ctx->base_ectr, tag_len ); in mbedtls_gcm_finish() 435 tag[i] ^= ctx->buf[i]; in mbedtls_gcm_finish() 451 unsigned char *tag ) in mbedtls_gcm_crypt_and_tag() argument 460 GCM_VALIDATE_RET( tag != NULL ); in mbedtls_gcm_crypt_and_tag() 468 if( ( ret = mbedtls_gcm_finish( ctx, tag, tag_len ) ) != 0 ) in mbedtls_gcm_crypt_and_tag() 480 const unsigned char *tag, in mbedtls_gcm_auth_decrypt() argument 493 GCM_VALIDATE_RET( tag != NULL ); in mbedtls_gcm_auth_decrypt() 506 diff |= tag[i] ^ check_tag[i]; in mbedtls_gcm_auth_decrypt()
|
D | asn1write.c | 101 int mbedtls_asn1_write_tag( unsigned char **p, unsigned char *start, unsigned char tag ) in mbedtls_asn1_write_tag() argument 106 *--(*p) = tag; in mbedtls_asn1_write_tag() 229 static int asn1_write_tagged_int( unsigned char **p, unsigned char *start, int val, int tag ) in asn1_write_tagged_int() argument 253 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_tag( p, start, tag ) ); in asn1_write_tagged_int() 268 int mbedtls_asn1_write_tagged_string( unsigned char **p, unsigned char *start, int tag, in mbedtls_asn1_write_tagged_string() argument 278 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_tag( p, start, tag ) ); in mbedtls_asn1_write_tagged_string()
|
/openthread-3.5.0/third_party/mbedtls/repo/doxygen/ |
D | mbedtls.doxyfile | 19 # This tag specifies the encoding used for all characters in the config file 21 # text before the first occurrence of this tag. Doxygen uses libiconv (or the 27 # The PROJECT_NAME tag is a single word (or sequence of words) that should 33 # The PROJECT_NUMBER tag can be used to enter a project or revision number. 39 # Using the PROJECT_BRIEF tag one can provide an optional one line description 45 # With the PROJECT_LOGO tag one can specify an logo or icon that is 52 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) 59 # If the CREATE_SUBDIRS tag is set to YES, then doxygen will create 68 # The OUTPUT_LANGUAGE tag is used to specify the language in which all 81 # If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will [all …]
|
/openthread-3.5.0/third_party/mbedtls/repo/include/mbedtls/ |
D | asn1.h | 100 #define MBEDTLS_ASN1_IS_STRING_TAG( tag ) \ argument 101 ( ( tag ) < 32u && ( \ 102 ( ( 1u << ( tag ) ) & ( ( 1u << MBEDTLS_ASN1_BMP_STRING ) | \ 158 int tag; /**< ASN1 type, e.g. MBEDTLS_ASN1_UTF8_STRING. */ member 242 size_t *len, int tag ); 397 int tag ); 511 int (*cb)( void *ctx, int tag,
|
D | ccm.h | 165 unsigned char *tag, size_t tag_len ); 213 unsigned char *tag, size_t tag_len ); 250 const unsigned char *tag, size_t tag_len ); 295 const unsigned char *tag, size_t tag_len );
|
D | gcm.h | 181 unsigned char *tag ); 222 const unsigned char *tag, 298 unsigned char *tag,
|
D | chachapoly.h | 309 unsigned char tag[16] ); 341 const unsigned char tag[16],
|
D | asn1write.h | 73 unsigned char tag ); 226 int tag, const char *text,
|
/openthread-3.5.0/tests/unit/ |
D | test_aes.cpp | 123 uint8_t tag[kTagLength]; in TestMacCommandFrame() local 159 aesCcm.Finalize(tag); in TestMacCommandFrame() 160 SuccessOrQuit(message->Append(tag)); in TestMacCommandFrame() 194 uint8_t tag[kTagLength]; in TestInPlaceAesCcmProcessing() local 232 aesCcm.Finalize(tag); in TestInPlaceAesCcmProcessing() 233 SuccessOrQuit(message->Append(tag)); in TestInPlaceAesCcmProcessing() 243 aesCcm.Finalize(tag); in TestInPlaceAesCcmProcessing() 244 VerifyOrQuit(message->Compare(msgLength, tag)); in TestInPlaceAesCcmProcessing()
|
/openthread-3.5.0/third_party/mbedtls/repo/tests/scripts/ |
D | gen_gcm_encrypt.pl | 77 my $tag = get_val("Tag"); 87 print(":\"$tag\"");
|
D | gen_gcm_decrypt.pl | 93 my $tag = get_val("Tag"); 103 print(":\"$tag\"");
|
/openthread-3.5.0/tools/harness-simulation/posix/ |
D | launch_testbed.py | 92 def advertise_devices(s: socket.socket, dst, ven: str, add: str, nodeids: Iterable[int], tag: str): 189 tag = item['tag'] 230 for tag, number in devices: 231 … advertise_devices(s, src, ven=ven, add=addr, nodeids=range(nodeid, nodeid + number), tag=tag)
|