Home
last modified time | relevance | path

Searched refs:tag (Results 1 – 25 of 34) sorted by relevance

12

/net-tools-latest/mbedtls-2.4.0/tests/suites/
Dtest_suite_ccm.data29 CCM lengths #4 tag too short
32 CCM lengths #5 tag too long
35 CCM lengths #6 tag length not even
44 CCM encrypt and tag RFC 3610 #1
48 CCM encrypt and tag RFC 3610 #2
52 CCM encrypt and tag RFC 3610 #3
56 CCM encrypt and tag RFC 3610 #4
60 CCM encrypt and tag RFC 3610 #5
64 CCM encrypt and tag RFC 3610 #6
68 CCM encrypt and tag RFC 3610 #7
[all …]
Dtest_suite_ccm.function46 unsigned char tag[18];
56 memset( tag, 0, sizeof( tag ) );
62 msg, out, tag, tag_len ) == res );
65 msg, out, tag, tag_len );
132 unsigned char tag[16];
144 memset( tag, 0x00, sizeof( tag ) );
152 memcpy( tag, msg + msg_len, tag_len );
183 /* Check we didn't write past the end (where the original tag is) */
184 TEST_ASSERT( memcmp( msg + msg_len, tag, tag_len ) == 0 );
Dtest_suite_cipher.function140 unsigned char tag[16];
190 memset( tag, 0, sizeof( tag ) );
219 TEST_ASSERT( 0 == mbedtls_cipher_write_tag( &ctx_enc, tag, sizeof( tag ) ) );
240 TEST_ASSERT( 0 == mbedtls_cipher_check_tag( &ctx_dec, tag, sizeof( tag ) ) );
466 unsigned char tag[20];
482 memset( tag, 0x00, sizeof( tag ) );
491 tag_len = unhexify( tag, hex_tag );
513 /* decode buffer and check tag */
521 TEST_ASSERT( tag_result == mbedtls_cipher_check_tag( &ctx, tag, tag_len ) );
547 unsigned char tag[20];
[all …]
Dtest_suite_asn1write.data10 ASN.1 Write Octet String #3 (Buffer too small for tag)
25 ASN.1 Write Octet String #8 (l = 128, buffer too small for tag)
43 ASN.1 Write IA5 String #3 (Buffer too small for tag)
Dtest_suite_x509parse.function512 oid.tag = MBEDTLS_ASN1_OID;
542 oid.tag = MBEDTLS_ASN1_OID;
595 void x509_get_time( int tag, char *time_str, int ret,
605 *end = (unsigned char)tag; end++;
606 if( tag == MBEDTLS_ASN1_UTC_TIME )
638 params.tag = params_tag;
Dtest_suite_pkparse.data209 Key ASN1 (Incorrect first tag)
212 Key ASN1 (RSAPrivateKey, incorrect version tag)
215 Key ASN1 (RSAPrivateKey, version tag missing)
221 Key ASN1 (RSAPrivateKey, correct version, incorrect tag)
/net-tools-latest/libcoap/doc/
DDoxyfile.in20 # This tag specifies the encoding used for all characters in the config file
22 # before the first occurrence of this tag. Doxygen uses libiconv (or the iconv
29 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded by
37 # The PROJECT_NUMBER tag can be used to enter a project or revision number. This
43 # Using the PROJECT_BRIEF tag one can provide an optional one line description
49 # With the PROJECT_LOGO tag one can specify an logo or icon that is included in
56 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path
63 # If the CREATE_SUBDIRS tag is set to YES, then doxygen will create 4096 sub-
73 # If the ALLOW_UNICODE_NAMES tag is set to YES, doxygen will allow non-ASCII
81 # The OUTPUT_LANGUAGE tag is used to specify the language in which all
[all …]
/net-tools-latest/tinydtls-0.8.2/doc/
DDoxyfile.in17 # This tag specifies the encoding used for all characters in the config file
19 # text before the first occurrence of this tag. Doxygen uses libiconv (or the
25 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded
30 # The PROJECT_NUMBER tag can be used to enter a project or revision number.
36 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
43 # If the CREATE_SUBDIRS tag is set to YES, then doxygen will create
52 # The OUTPUT_LANGUAGE tag is used to specify the language in which all
65 # If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will
72 # If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend
79 # This tag implements a quasi-intelligent brief description abbreviator
[all …]
/net-tools-latest/mbedtls-2.4.0/doxygen/
Dmbedtls.doxyfile19 # 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 …]
/net-tools-latest/mbedtls-2.4.0/library/
Dasn1parse.c114 size_t *len, int tag ) in mbedtls_asn1_get_tag() argument
119 if( **p != tag ) in mbedtls_asn1_get_tag()
244 int tag) in mbedtls_asn1_get_sequence_of() argument
261 buf->tag = **p; in mbedtls_asn1_get_sequence_of()
263 if( ( ret = mbedtls_asn1_get_tag( p, end, &buf->len, tag ) ) != 0 ) in mbedtls_asn1_get_sequence_of()
305 alg->tag = **p; in mbedtls_asn1_get_alg()
320 params->tag = **p; in mbedtls_asn1_get_alg()
347 if( ( params.tag != MBEDTLS_ASN1_NULL && params.tag != 0 ) || params.len != 0 ) in mbedtls_asn1_get_alg_null()
Dx509.c102 serial->tag = *(*p)++; in mbedtls_x509_get_serial()
163 if( alg->tag != ( MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE ) ) in x509_get_hash_alg()
175 md_oid.tag = *p; in x509_get_hash_alg()
229 if( params->tag != ( MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE ) ) in mbedtls_x509_get_rsassa_pss_params()
374 oid->tag = **p; in x509_get_attr_type_value()
394 val->tag = *(*p)++; in x509_get_attr_type_value()
530 unsigned char tag; in mbedtls_x509_get_time() local
536 tag = **p; in mbedtls_x509_get_time()
538 if( tag == MBEDTLS_ASN1_UTC_TIME ) in mbedtls_x509_get_time()
563 else if( tag == MBEDTLS_ASN1_GENERALIZED_TIME ) in mbedtls_x509_get_time()
[all …]
Dccm.c141 unsigned char *tag, size_t tag_len ) in ccm_auth_crypt() argument
299 memcpy( tag, y, tag_len ); in ccm_auth_crypt()
311 unsigned char *tag, size_t tag_len ) in mbedtls_ccm_encrypt_and_tag() argument
314 add, add_len, input, output, tag, tag_len ) ); in mbedtls_ccm_encrypt_and_tag()
324 const unsigned char *tag, size_t tag_len ) in mbedtls_ccm_auth_decrypt() argument
340 diff |= tag[i] ^ check_tag[i]; in mbedtls_ccm_auth_decrypt()
Dgcm.c407 unsigned char *tag, in mbedtls_gcm_finish() argument
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
461 if( ( ret = mbedtls_gcm_finish( ctx, tag, tag_len ) ) != 0 ) in mbedtls_gcm_crypt_and_tag()
473 const unsigned char *tag, in mbedtls_gcm_auth_decrypt() argument
492 diff |= tag[i] ^ check_tag[i]; in mbedtls_gcm_auth_decrypt()
697 static const unsigned char tag[MAX_TESTS * 3][16] = variable
767 memcmp( tag_buf, tag[j * 6 + i], 16 ) != 0 ) in mbedtls_gcm_self_test()
794 memcmp( tag_buf, tag[j * 6 + i], 16 ) != 0 ) in mbedtls_gcm_self_test()
[all …]
Dssl_ticket.c299 unsigned char *tag; in mbedtls_ssl_ticket_write() local
340 tag = state + clear_len; in mbedtls_ssl_ticket_write()
343 state, clear_len, state, &ciph_len, tag, 16 ) ) != 0 ) in mbedtls_ssl_ticket_write()
395 unsigned char *tag; in mbedtls_ssl_ticket_parse() local
414 tag = ticket + enc_len; in mbedtls_ssl_ticket_parse()
434 ticket, &clear_len, tag, 16 ) ) != 0 ) in mbedtls_ssl_ticket_parse()
Dcipher.c755 unsigned char *tag, size_t tag_len ) in mbedtls_cipher_write_tag() argument
757 if( NULL == ctx || NULL == ctx->cipher_info || NULL == tag ) in mbedtls_cipher_write_tag()
764 return mbedtls_gcm_finish( (mbedtls_gcm_context *) ctx->cipher_ctx, tag, tag_len ); in mbedtls_cipher_write_tag()
770 const unsigned char *tag, size_t tag_len ) in mbedtls_cipher_check_tag() argument
797 diff |= tag[i] ^ check_tag[i]; in mbedtls_cipher_check_tag()
846 unsigned char *tag, size_t tag_len ) in mbedtls_cipher_auth_encrypt() argument
854 tag_len, tag ) ); in mbedtls_cipher_auth_encrypt()
863 tag, tag_len ) ); in mbedtls_cipher_auth_encrypt()
878 const unsigned char *tag, size_t tag_len ) in mbedtls_cipher_auth_decrypt() argument
888 tag, tag_len, input, output ); in mbedtls_cipher_auth_decrypt()
[all …]
Dx509_crt.c284 uid->tag = **p; in x509_get_uid()
450 unsigned char tag; in x509_get_subject_alt_name() local
468 tag = **p; in x509_get_subject_alt_name()
473 if( ( tag & MBEDTLS_ASN1_CONTEXT_SPECIFIC ) != MBEDTLS_ASN1_CONTEXT_SPECIFIC ) in x509_get_subject_alt_name()
478 if( tag != ( MBEDTLS_ASN1_CONTEXT_SPECIFIC | 2 ) ) in x509_get_subject_alt_name()
500 buf->tag = tag; in x509_get_subject_alt_name()
555 extn_oid.tag = **p; in x509_get_crt_ext()
1788 if( a->tag == b->tag && in x509_string_cmp()
1795 if( ( a->tag == MBEDTLS_ASN1_UTF8_STRING || a->tag == MBEDTLS_ASN1_PRINTABLE_STRING ) && in x509_string_cmp()
1796 ( b->tag == MBEDTLS_ASN1_UTF8_STRING || b->tag == MBEDTLS_ASN1_PRINTABLE_STRING ) && in x509_string_cmp()
[all …]
Dpkcs5.c63 if( params->tag != ( MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE ) ) in pkcs5_parse_pbkdf2_params()
138 if( pbe_params->tag != ( MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE ) ) in mbedtls_pkcs5_pbes2()
180 if( enc_scheme_params.tag != MBEDTLS_ASN1_OCTET_STRING || in mbedtls_pkcs5_pbes2()
Dpkparse.c179 params->tag = **p; in pk_get_ecparams()
180 if( params->tag != MBEDTLS_ASN1_OID in pk_get_ecparams()
182 && params->tag != ( MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE ) in pk_get_ecparams()
190 if( ( ret = mbedtls_asn1_get_tag( p, end, &params->len, params->tag ) ) != 0 ) in pk_get_ecparams()
447 if( params->tag == MBEDTLS_ASN1_OID ) in pk_use_ecparams()
565 ( ( params->tag != MBEDTLS_ASN1_NULL && params->tag != 0 ) || in pk_get_pk_alg()
/net-tools-latest/mbedtls-2.4.0/include/mbedtls/
Dgcm.h112 unsigned char *tag );
141 const unsigned char *tag,
199 unsigned char *tag,
Dasn1.h120 int tag; /**< ASN1 type, e.g. MBEDTLS_ASN1_UTF8_STRING. */ member
189 size_t *len, int tag );
260 int tag);
Dccm.h103 unsigned char *tag, size_t tag_len );
126 const unsigned char *tag, size_t tag_len );
Dcipher.h591 unsigned char *tag, size_t tag_len );
605 const unsigned char *tag, size_t tag_len );
668 unsigned char *tag, size_t tag_len );
702 const unsigned char *tag, size_t tag_len );
Dasn1write.h58 unsigned char tag );
/net-tools-latest/mbedtls-2.4.0/tests/scripts/
Dgen_gcm_encrypt.pl62 my $tag = get_val("Tag");
72 print(":\"$tag\"");
Dgen_gcm_decrypt.pl78 my $tag = get_val("Tag");
88 print(":\"$tag\"");

12