/external/boringssl/src/crypto/cipher/ |
D | e_chacha20poly1305.c | 33 unsigned char tag_len; member 37 size_t key_len, size_t tag_len) { in aead_chacha20_poly1305_init() argument 40 if (tag_len == 0) { in aead_chacha20_poly1305_init() 41 tag_len = POLY1305_TAG_LEN; in aead_chacha20_poly1305_init() 44 if (tag_len > POLY1305_TAG_LEN) { in aead_chacha20_poly1305_init() 59 c20_ctx->tag_len = tag_len; in aead_chacha20_poly1305_init() 114 if (in_len + c20_ctx->tag_len < in_len) { in aead_chacha20_poly1305_seal() 119 if (max_out_len < in_len + c20_ctx->tag_len) { in aead_chacha20_poly1305_seal() 141 memcpy(out + in_len, tag, c20_ctx->tag_len); in aead_chacha20_poly1305_seal() 142 *out_len = in_len + c20_ctx->tag_len; in aead_chacha20_poly1305_seal() [all …]
|
D | e_tls.c | 55 size_t tag_len, enum evp_aead_direction_t dir, in aead_tls_init() argument 58 if (tag_len != EVP_AEAD_DEFAULT_TAG_LENGTH && in aead_tls_init() 59 tag_len != EVP_MD_size(md)) { in aead_tls_init() 363 size_t key_len, size_t tag_len, in aead_rc4_sha1_tls_init() argument 365 return aead_tls_init(ctx, key, key_len, tag_len, dir, EVP_rc4(), EVP_sha1(), in aead_rc4_sha1_tls_init() 370 size_t key_len, size_t tag_len, in aead_aes_128_cbc_sha1_tls_init() argument 372 return aead_tls_init(ctx, key, key_len, tag_len, dir, EVP_aes_128_cbc(), in aead_aes_128_cbc_sha1_tls_init() 377 EVP_AEAD_CTX *ctx, const uint8_t *key, size_t key_len, size_t tag_len, in aead_aes_128_cbc_sha1_tls_implicit_iv_init() argument 379 return aead_tls_init(ctx, key, key_len, tag_len, dir, EVP_aes_128_cbc(), in aead_aes_128_cbc_sha1_tls_implicit_iv_init() 385 size_t tag_len, in aead_aes_128_cbc_sha256_tls_init() argument [all …]
|
D | e_rc4.c | 102 unsigned char tag_len; member 108 size_t tag_len) { in aead_rc4_md5_tls_init() argument 113 if (tag_len == EVP_AEAD_DEFAULT_TAG_LENGTH) { in aead_rc4_md5_tls_init() 114 tag_len = MD5_DIGEST_LENGTH; in aead_rc4_md5_tls_init() 117 if (tag_len > MD5_DIGEST_LENGTH) { in aead_rc4_md5_tls_init() 152 rc4_ctx->tag_len = tag_len; in aead_rc4_md5_tls_init() 187 if (in_len + rc4_ctx->tag_len < in_len) { in aead_rc4_md5_tls_seal() 197 if (max_out_len < in_len + rc4_ctx->tag_len) { in aead_rc4_md5_tls_seal() 257 if (rc4_ctx->tag_len == MD5_DIGEST_LENGTH) { in aead_rc4_md5_tls_seal() 261 memcpy(out + in_len, digest, rc4_ctx->tag_len); in aead_rc4_md5_tls_seal() [all …]
|
D | e_ssl3.c | 84 size_t tag_len, enum evp_aead_direction_t dir, in aead_ssl3_init() argument 86 if (tag_len != EVP_AEAD_DEFAULT_TAG_LENGTH && in aead_ssl3_init() 87 tag_len != EVP_MD_size(md)) { in aead_ssl3_init() 311 size_t key_len, size_t tag_len, in aead_rc4_md5_ssl3_init() argument 313 return aead_ssl3_init(ctx, key, key_len, tag_len, dir, EVP_rc4(), EVP_md5()); in aead_rc4_md5_ssl3_init() 317 size_t key_len, size_t tag_len, in aead_rc4_sha1_ssl3_init() argument 319 return aead_ssl3_init(ctx, key, key_len, tag_len, dir, EVP_rc4(), EVP_sha1()); in aead_rc4_sha1_ssl3_init() 323 size_t key_len, size_t tag_len, in aead_aes_128_cbc_sha1_ssl3_init() argument 325 return aead_ssl3_init(ctx, key, key_len, tag_len, dir, EVP_aes_128_cbc(), in aead_aes_128_cbc_sha1_ssl3_init() 330 size_t key_len, size_t tag_len, in aead_aes_256_cbc_sha1_ssl3_init() argument [all …]
|
D | e_aes.c | 1060 uint8_t tag_len; member 1064 size_t key_len, size_t tag_len) { in aead_aes_gcm_init() argument 1073 if (tag_len == EVP_AEAD_DEFAULT_TAG_LENGTH) { in aead_aes_gcm_init() 1074 tag_len = EVP_AEAD_AES_GCM_TAG_LEN; in aead_aes_gcm_init() 1077 if (tag_len > EVP_AEAD_AES_GCM_TAG_LEN) { in aead_aes_gcm_init() 1089 gcm_ctx->tag_len = tag_len; in aead_aes_gcm_init() 1110 if (in_len + gcm_ctx->tag_len < in_len) { in aead_aes_gcm_seal() 1115 if (max_out_len < in_len + gcm_ctx->tag_len) { in aead_aes_gcm_seal() 1138 CRYPTO_gcm128_tag(&gcm, out + in_len, gcm_ctx->tag_len); in aead_aes_gcm_seal() 1139 *out_len = in_len + gcm_ctx->tag_len; in aead_aes_gcm_seal() [all …]
|
D | aead.c | 34 const uint8_t *key, size_t key_len, size_t tag_len, in EVP_AEAD_CTX_init() argument 41 return EVP_AEAD_CTX_init_with_direction(ctx, aead, key, key_len, tag_len, in EVP_AEAD_CTX_init() 47 size_t tag_len, in EVP_AEAD_CTX_init_with_direction() argument 60 ok = aead->init(ctx, key, key_len, tag_len); in EVP_AEAD_CTX_init_with_direction() 62 ok = aead->init_with_direction(ctx, key, key_len, tag_len, dir); in EVP_AEAD_CTX_init_with_direction()
|
D | internal.h | 83 size_t tag_len); 85 size_t tag_len, enum evp_aead_direction_t dir);
|
/external/tcpdump/ |
D | print-pppoe.c | 145 u_short tag_type = 0xffff, tag_len; in pppoe_print() local 156 tag_len = EXTRACT_16BITS(p + 2); in pppoe_print() 160 if (tag_len) { in pppoe_print() 167 TCHECK2(*p, tag_len); in pppoe_print() 168 for (v = p; v < p + tag_len && tag_str_len < MAXTAGPRINT-1; v++) in pppoe_print() 187 for (v=p; v<p+tag_len; v++) { in pppoe_print() 198 p += tag_len; in pppoe_print()
|
/external/srtp/srtp/ |
D | srtp.c | 606 int tag_len; in srtp_protect() local 684 tag_len = auth_get_tag_length(stream->rtp_auth); in srtp_protect() 823 octet_string_hex_string(auth_tag, tag_len)); in srtp_protect() 832 *pkt_octet_len += tag_len; in srtp_protect() 852 int tag_len, prefix_len; in srtp_unprotect() local 913 tag_len = auth_get_tag_length(stream->rtp_auth); in srtp_unprotect() 969 enc_octet_len = (uint32_t)(*pkt_octet_len - tag_len in srtp_unprotect() 982 auth_tag = (uint8_t *)hdr + *pkt_octet_len - tag_len; in srtp_unprotect() 1017 *pkt_octet_len - tag_len); in srtp_unprotect() 1023 octet_string_hex_string(tmp_tag, tag_len)); in srtp_unprotect() [all …]
|
/external/boringssl/src/crypto/modes/ |
D | gcm_test.c | 314 tag_len; in run_test_case() local 329 !decode_hex(&tag, &tag_len, test->tag, test_num, "tag")) { in run_test_case() 344 if (tag_len != 16) { in run_test_case() 367 if (!CRYPTO_gcm128_finish(&ctx, tag, tag_len) || in run_test_case() 383 if (!CRYPTO_gcm128_finish(&ctx, tag, tag_len)) { in run_test_case()
|
/external/srtp/crypto/hash/ |
D | hmac.c | 171 int msg_octets, int tag_len, uint8_t *result) { in hmac_compute() argument 177 if (tag_len > 20) in hmac_compute() 204 for (i=0; i < tag_len; i++) in hmac_compute() 208 octet_string_hex_string((uint8_t *)hash_value, tag_len)); in hmac_compute()
|
D | null_auth.c | 109 int msg_octets, int tag_len, uint8_t *result) { in null_auth_compute() argument
|
/external/protobuf/python/google/protobuf/internal/ |
D | decoder.py | 228 tag_len = len(tag_bytes) 238 pos = new_pos + tag_len 405 tag_len = len(tag_bytes) 421 pos = new_pos + tag_len 497 tag_len = len(tag_bytes) 509 pos = new_pos + tag_len 534 tag_len = len(tag_bytes) 546 pos = new_pos + tag_len 573 tag_len = len(tag_bytes) 589 pos = new_pos + tag_len [all …]
|
/external/nanopb-c/generator/google/protobuf/internal/ |
D | decoder.py | 211 tag_len = len(tag_bytes) 221 pos = new_pos + tag_len 387 tag_len = len(tag_bytes) 399 pos = new_pos + tag_len 424 tag_len = len(tag_bytes) 436 pos = new_pos + tag_len 463 tag_len = len(tag_bytes) 479 pos = new_pos + tag_len 508 tag_len = len(tag_bytes) 528 pos = new_pos + tag_len
|
/external/srtp/include/ |
D | ekt.h | 165 unsigned tag_len); 170 unsigned tag_len);
|
/external/boringssl/src/include/openssl/ |
D | aead.h | 237 size_t tag_len, ENGINE *impl); 244 size_t tag_len, enum evp_aead_direction_t dir);
|
/external/kernel-headers/original/uapi/linux/ |
D | virtio_9p.h | 39 __u16 tag_len; member
|
D | if_pppox.h | 120 __be16 tag_len; member
|
/external/srtp/crypto/include/ |
D | null_auth.h | 65 int msg_octets, int tag_len, uint8_t *result);
|
D | hmac.h | 75 int msg_octets, int tag_len, uint8_t *result);
|
D | crypto_kernel.h | 220 int tag_len);
|
/external/srtp/googlepatches/ |
D | google-7-srtp-security-fix.patch | 62 tag_len = auth_get_tag_length(stream->rtcp_auth); 67 *pkt_octet_len -(tag_len + sizeof(srtcp_trailer_t)));
|
/external/google-breakpad/src/client/linux/minidump_writer/ |
D | minidump_writer.cc | 1083 size_t tag_len = value_len; in WriteCPUInformation() local 1086 tag_len = static_cast<size_t>(p - tag); in WriteCPUInformation() 1087 value += tag_len + 1; in WriteCPUInformation() 1088 value_len -= tag_len + 1; in WriteCPUInformation() 1090 tag_len = strlen(tag); in WriteCPUInformation() 1098 if (tag_len == strlen(entry->tag) && in WriteCPUInformation() 1099 !memcmp(tag, entry->tag, tag_len)) { in WriteCPUInformation()
|
/external/wpa_supplicant_8/src/wps/ |
D | httpread.c | 829 int tag_len = os_strlen(tag); in httpread_hdr_line_get() local 836 if (!os_strncasecmp(hdr, tag, tag_len)) { in httpread_hdr_line_get() 837 hdr += tag_len; in httpread_hdr_line_get()
|
/external/srtp/crypto/kernel/ |
D | crypto_kernel.c | 451 int tag_len) { in crypto_kernel_alloc_auth() argument 465 return ((at)->alloc(ap, key_len, tag_len)); in crypto_kernel_alloc_auth()
|