Home
last modified time | relevance | path

Searched refs:tag_length (Results 1 – 25 of 636) sorted by relevance

12345678910>>...26

/dports/sysutils/fluent-bit/fluent-bit-1.8.11/lib/mbedtls-2.27.0/library/
H A Dpsa_crypto_aead.c49 uint8_t tag_length;
220 operation.tag_length, tag ) );
227 if( nonce_length != 12 || operation.tag_length != 16 )
250 *ciphertext_length = plaintext_length + operation.tag_length;
263 static psa_status_t psa_aead_unpadded_locate_tag( size_t tag_length,
270 if( tag_length > ciphertext_length )
272 payload_length = ciphertext_length - tag_length;
297 status = psa_aead_unpadded_locate_tag( operation.tag_length,
313 tag, operation.tag_length ) );
326 tag, operation.tag_length,
[all …]
/dports/biology/p5-BioPerl/BioPerl-1.7.7/lib/Bio/AlignIO/
H A Dphylip.pm164 $idlength, $flag_SI, $tag_length, $ws, $longid )
182 $self->tag_length($tag_length) if ( $tag_length || $DEFAULTTAGLEN );
355 $idlength, $flag_SI, $line_length, $tag_length
392 $tag_length = $self->tag_length();
420 if ( $tag_length <= $line_length ) {
421 $numtags = floor( $line_length / $tag_length );
422 $line_length = $tag_length * $numtags;
438 while (( $tempcount + $tag_length < $length )
448 $tempcount += $tag_length;
460 $tempcount += $tag_length;
[all …]
/dports/multimedia/flvtool++/flvtool-pp-c0438e8/
H A Dflvtool++.cpp169 uint32_t tag_length = deserialize_uint24(fptr); in main() local
170 if ((tag_start + tag_length) > fend) { in main()
180 serialized_buffer tagbuf(fptr, tag_length); in main()
198 fptr += tag_length; in main()
366 else if (tag_type == 8 && tag_length > 0) { in main()
418 if (tag_length > 0) { in main()
423 fptr += tag_length; in main()
538 fp.write_u24_be(tag_length); // length in main()
543 fp.write(fptr, tag_length + 4); in main()
545 if ((fptr + tag_length + 4) > fend) { in main()
[all …]
/dports/devel/grpc130/grpc-1.30.2/src/core/tsi/alts/zero_copy_frame_protector/
H A Dalts_iovec_record_protocol.cc34 size_t tag_length; member
90 if (tag.iov_len != rp->tag_length) { in ensure_header_and_tag_length()
170 return rp->tag_length; in alts_iovec_record_protocol_get_tag_length()
181 kZeroCopyFrameMessageTypeFieldSize + rp->tag_length; in alts_iovec_record_protocol_max_unprotected_data_size()
216 status = write_frame_header(data_length + rp->tag_length, in alts_iovec_record_protocol_integrity_only_protect()
232 if (bytes_written != rp->tag_length) { in alts_iovec_record_protocol_integrity_only_protect()
268 status = verify_frame_header(data_length + rp->tag_length, in alts_iovec_record_protocol_integrity_only_unprotect()
320 rp->tag_length) { in alts_iovec_record_protocol_privacy_integrity_protect()
326 data_length + rp->tag_length, in alts_iovec_record_protocol_privacy_integrity_protect()
345 if (bytes_written != data_length + rp->tag_length) { in alts_iovec_record_protocol_privacy_integrity_protect()
[all …]
H A Dalts_grpc_integrity_only_record_protocol.cc48 unprotected_slices->length + rp->header_length + rp->tag_length; in alts_grpc_integrity_only_extra_copy_protect()
62 rp->tag_length}; in alts_grpc_integrity_only_extra_copy_protect()
96 grpc_slice tag_slice = GRPC_SLICE_MALLOC(rp->tag_length); in alts_grpc_integrity_only_protect()
131 if (protected_slices->length < rp->header_length + rp->tag_length) { in alts_grpc_integrity_only_unprotect()
150 protected_slices->length - rp->tag_length, in alts_grpc_integrity_only_unprotect()
152 GPR_ASSERT(protected_slices->length == rp->tag_length); in alts_grpc_integrity_only_unprotect()
153 iovec_t tag_iovec = {nullptr, rp->tag_length}; in alts_grpc_integrity_only_unprotect()
222 static_cast<unsigned char*>(gpr_malloc(impl->base.tag_length)); in alts_grpc_integrity_only_record_protocol_create()
/dports/devel/grpc/grpc-1.42.0/src/core/tsi/alts/zero_copy_frame_protector/
H A Dalts_iovec_record_protocol.cc34 size_t tag_length; member
92 if (tag.iov_len != rp->tag_length) { in ensure_header_and_tag_length()
172 return rp->tag_length; in alts_iovec_record_protocol_get_tag_length()
183 kZeroCopyFrameMessageTypeFieldSize + rp->tag_length; in alts_iovec_record_protocol_max_unprotected_data_size()
218 status = write_frame_header(data_length + rp->tag_length, in alts_iovec_record_protocol_integrity_only_protect()
234 if (bytes_written != rp->tag_length) { in alts_iovec_record_protocol_integrity_only_protect()
270 status = verify_frame_header(data_length + rp->tag_length, in alts_iovec_record_protocol_integrity_only_unprotect()
322 rp->tag_length) { in alts_iovec_record_protocol_privacy_integrity_protect()
328 data_length + rp->tag_length, in alts_iovec_record_protocol_privacy_integrity_protect()
347 if (bytes_written != data_length + rp->tag_length) { in alts_iovec_record_protocol_privacy_integrity_protect()
[all …]
H A Dalts_grpc_integrity_only_record_protocol.cc48 unprotected_slices->length + rp->header_length + rp->tag_length; in alts_grpc_integrity_only_extra_copy_protect()
62 rp->tag_length}; in alts_grpc_integrity_only_extra_copy_protect()
96 grpc_slice tag_slice = GRPC_SLICE_MALLOC(rp->tag_length); in alts_grpc_integrity_only_protect()
131 if (protected_slices->length < rp->header_length + rp->tag_length) { in alts_grpc_integrity_only_unprotect()
150 protected_slices->length - rp->tag_length, in alts_grpc_integrity_only_unprotect()
152 GPR_ASSERT(protected_slices->length == rp->tag_length); in alts_grpc_integrity_only_unprotect()
153 iovec_t tag_iovec = {nullptr, rp->tag_length}; in alts_grpc_integrity_only_unprotect()
222 static_cast<unsigned char*>(gpr_malloc(impl->base.tag_length)); in alts_grpc_integrity_only_record_protocol_create()
/dports/devel/grpc134/grpc-1.34.1/src/core/tsi/alts/zero_copy_frame_protector/
H A Dalts_iovec_record_protocol.cc34 size_t tag_length; member
90 if (tag.iov_len != rp->tag_length) { in ensure_header_and_tag_length()
170 return rp->tag_length; in alts_iovec_record_protocol_get_tag_length()
181 kZeroCopyFrameMessageTypeFieldSize + rp->tag_length; in alts_iovec_record_protocol_max_unprotected_data_size()
216 status = write_frame_header(data_length + rp->tag_length, in alts_iovec_record_protocol_integrity_only_protect()
232 if (bytes_written != rp->tag_length) { in alts_iovec_record_protocol_integrity_only_protect()
268 status = verify_frame_header(data_length + rp->tag_length, in alts_iovec_record_protocol_integrity_only_unprotect()
320 rp->tag_length) { in alts_iovec_record_protocol_privacy_integrity_protect()
326 data_length + rp->tag_length, in alts_iovec_record_protocol_privacy_integrity_protect()
345 if (bytes_written != data_length + rp->tag_length) { in alts_iovec_record_protocol_privacy_integrity_protect()
[all …]
H A Dalts_grpc_integrity_only_record_protocol.cc48 unprotected_slices->length + rp->header_length + rp->tag_length; in alts_grpc_integrity_only_extra_copy_protect()
62 rp->tag_length}; in alts_grpc_integrity_only_extra_copy_protect()
96 grpc_slice tag_slice = GRPC_SLICE_MALLOC(rp->tag_length); in alts_grpc_integrity_only_protect()
131 if (protected_slices->length < rp->header_length + rp->tag_length) { in alts_grpc_integrity_only_unprotect()
150 protected_slices->length - rp->tag_length, in alts_grpc_integrity_only_unprotect()
152 GPR_ASSERT(protected_slices->length == rp->tag_length); in alts_grpc_integrity_only_unprotect()
153 iovec_t tag_iovec = {nullptr, rp->tag_length}; in alts_grpc_integrity_only_unprotect()
222 static_cast<unsigned char*>(gpr_malloc(impl->base.tag_length)); in alts_grpc_integrity_only_record_protocol_create()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/grpc/src/src/core/tsi/alts/zero_copy_frame_protector/
H A Dalts_iovec_record_protocol.cc34 size_t tag_length; member
90 if (tag.iov_len != rp->tag_length) { in ensure_header_and_tag_length()
170 return rp->tag_length; in alts_iovec_record_protocol_get_tag_length()
181 kZeroCopyFrameMessageTypeFieldSize + rp->tag_length; in alts_iovec_record_protocol_max_unprotected_data_size()
216 status = write_frame_header(data_length + rp->tag_length, in alts_iovec_record_protocol_integrity_only_protect()
232 if (bytes_written != rp->tag_length) { in alts_iovec_record_protocol_integrity_only_protect()
268 status = verify_frame_header(data_length + rp->tag_length, in alts_iovec_record_protocol_integrity_only_unprotect()
320 rp->tag_length) { in alts_iovec_record_protocol_privacy_integrity_protect()
326 data_length + rp->tag_length, in alts_iovec_record_protocol_privacy_integrity_protect()
345 if (bytes_written != data_length + rp->tag_length) { in alts_iovec_record_protocol_privacy_integrity_protect()
[all …]
H A Dalts_grpc_integrity_only_record_protocol.cc48 unprotected_slices->length + rp->header_length + rp->tag_length; in alts_grpc_integrity_only_extra_copy_protect()
62 rp->tag_length}; in alts_grpc_integrity_only_extra_copy_protect()
96 grpc_slice tag_slice = GRPC_SLICE_MALLOC(rp->tag_length); in alts_grpc_integrity_only_protect()
131 if (protected_slices->length < rp->header_length + rp->tag_length) { in alts_grpc_integrity_only_unprotect()
150 protected_slices->length - rp->tag_length, in alts_grpc_integrity_only_unprotect()
152 GPR_ASSERT(protected_slices->length == rp->tag_length); in alts_grpc_integrity_only_unprotect()
153 iovec_t tag_iovec = {nullptr, rp->tag_length}; in alts_grpc_integrity_only_unprotect()
222 static_cast<unsigned char*>(gpr_malloc(impl->base.tag_length)); in alts_grpc_integrity_only_record_protocol_create()
/dports/devel/pecl-grpc/grpc-1.42.0/src/core/tsi/alts/zero_copy_frame_protector/
H A Dalts_iovec_record_protocol.cc34 size_t tag_length;
92 if (tag.iov_len != rp->tag_length) {
172 return rp->tag_length;
183 kZeroCopyFrameMessageTypeFieldSize + rp->tag_length;
218 status = write_frame_header(data_length + rp->tag_length,
234 if (bytes_written != rp->tag_length) {
270 status = verify_frame_header(data_length + rp->tag_length,
322 rp->tag_length) {
328 data_length + rp->tag_length,
347 if (bytes_written != data_length + rp->tag_length) {
[all …]
H A Dalts_grpc_integrity_only_record_protocol.cc48 unprotected_slices->length + rp->header_length + rp->tag_length; in alts_grpc_integrity_only_extra_copy_protect()
62 rp->tag_length}; in alts_grpc_integrity_only_extra_copy_protect()
96 grpc_slice tag_slice = GRPC_SLICE_MALLOC(rp->tag_length); in alts_grpc_integrity_only_protect()
131 if (protected_slices->length < rp->header_length + rp->tag_length) { in alts_grpc_integrity_only_unprotect()
150 protected_slices->length - rp->tag_length, in alts_grpc_integrity_only_unprotect()
152 GPR_ASSERT(protected_slices->length == rp->tag_length); in alts_grpc_integrity_only_unprotect()
153 iovec_t tag_iovec = {nullptr, rp->tag_length}; in alts_grpc_integrity_only_unprotect()
222 static_cast<unsigned char*>(gpr_malloc(impl->base.tag_length)); in alts_grpc_integrity_only_record_protocol_create()
/dports/devel/py-grpcio/grpcio-1.43.0/src/core/tsi/alts/zero_copy_frame_protector/
H A Dalts_iovec_record_protocol.cc34 size_t tag_length; member
92 if (tag.iov_len != rp->tag_length) { in ensure_header_and_tag_length()
172 return rp->tag_length; in alts_iovec_record_protocol_get_tag_length()
183 kZeroCopyFrameMessageTypeFieldSize + rp->tag_length; in alts_iovec_record_protocol_max_unprotected_data_size()
218 status = write_frame_header(data_length + rp->tag_length, in alts_iovec_record_protocol_integrity_only_protect()
234 if (bytes_written != rp->tag_length) { in alts_iovec_record_protocol_integrity_only_protect()
270 status = verify_frame_header(data_length + rp->tag_length, in alts_iovec_record_protocol_integrity_only_unprotect()
322 rp->tag_length) { in alts_iovec_record_protocol_privacy_integrity_protect()
328 data_length + rp->tag_length, in alts_iovec_record_protocol_privacy_integrity_protect()
347 if (bytes_written != data_length + rp->tag_length) { in alts_iovec_record_protocol_privacy_integrity_protect()
[all …]
H A Dalts_grpc_integrity_only_record_protocol.cc48 unprotected_slices->length + rp->header_length + rp->tag_length; in alts_grpc_integrity_only_extra_copy_protect()
62 rp->tag_length}; in alts_grpc_integrity_only_extra_copy_protect()
96 grpc_slice tag_slice = GRPC_SLICE_MALLOC(rp->tag_length); in alts_grpc_integrity_only_protect()
131 if (protected_slices->length < rp->header_length + rp->tag_length) { in alts_grpc_integrity_only_unprotect()
150 protected_slices->length - rp->tag_length, in alts_grpc_integrity_only_unprotect()
152 GPR_ASSERT(protected_slices->length == rp->tag_length); in alts_grpc_integrity_only_unprotect()
153 iovec_t tag_iovec = {nullptr, rp->tag_length}; in alts_grpc_integrity_only_unprotect()
222 static_cast<unsigned char*>(gpr_malloc(impl->base.tag_length)); in alts_grpc_integrity_only_record_protocol_create()
/dports/audio/libshout/libshout-2.4.5/src/
H A Dformat_webm.c258 ssize_t tag_length; in webm_process_tag() local
276 if (tag_length == 0) { in webm_process_tag()
279 } else if (tag_length < 0) { in webm_process_tag()
284 to_copy = tag_length + payload_length; in webm_process_tag()
288 to_copy = tag_length; in webm_process_tag()
297 to_copy = tag_length; in webm_process_tag()
302 to_copy = tag_length; in webm_process_tag()
309 status = ebml_parse_sized_int(start_of_buffer + tag_length, in webm_process_tag()
326 status = ebml_parse_sized_int(start_of_buffer + tag_length, in webm_process_tag()
347 to_copy = tag_length; in webm_process_tag()
[all …]
/dports/security/nettle/nettle-3.7.3/testsuite/
H A Dpoly1305-test.c17 unsigned tag_length, const uint8_t *ref) in check_digest() argument
20 f(ctx, tag_length, tag); in check_digest()
21 if (memcmp (tag, ref, tag_length) != 0) in check_digest()
26 printf ("tag: "); print_hex (tag_length, tag); in check_digest()
27 printf ("ref: "); print_hex (tag_length, ref); in check_digest()
/dports/security/sequoia/sequoia-383133f6be990237044900a4df676488bf8dd71e/cargo-crates/nettle-src-3.5.1-2/nettle/testsuite/
H A Dpoly1305-test.c17 unsigned tag_length, const uint8_t *ref) in check_digest() argument
20 f(ctx, tag_length, tag); in check_digest()
21 if (memcmp (tag, ref, tag_length) != 0) in check_digest()
26 printf ("tag: "); print_hex (tag_length, tag); in check_digest()
27 printf ("ref: "); print_hex (tag_length, ref); in check_digest()
/dports/security/py-cryptography/stage/usr/local/lib/python3.8/site-packages/cryptography/hazmat/backends/openssl/
H A Daead.py102 def _encrypt(backend, cipher, nonce, data, associated_data, tag_length): argument
107 backend, cipher_name, cipher._key, nonce, None, tag_length, _ENCRYPT
120 tag_buf = backend._ffi.new("unsigned char[]", tag_length)
122 ctx, backend._lib.EVP_CTRL_AEAD_GET_TAG, tag_length, tag_buf
130 def _decrypt(backend, cipher, nonce, data, associated_data, tag_length): argument
133 if len(data) < tag_length:
135 tag = data[-tag_length:]
136 data = data[:-tag_length]
139 backend, cipher_name, cipher._key, nonce, tag, tag_length, _DECRYPT
/dports/security/py-cryptography/cryptography-3.3.2/src/cryptography/hazmat/backends/openssl/
H A Daead.py102 def _encrypt(backend, cipher, nonce, data, associated_data, tag_length):
107 backend, cipher_name, cipher._key, nonce, None, tag_length, _ENCRYPT
120 tag_buf = backend._ffi.new("unsigned char[]", tag_length)
122 ctx, backend._lib.EVP_CTRL_AEAD_GET_TAG, tag_length, tag_buf
130 def _decrypt(backend, cipher, nonce, data, associated_data, tag_length):
133 if len(data) < tag_length:
135 tag = data[-tag_length:]
136 data = data[:-tag_length]
139 backend, cipher_name, cipher._key, nonce, tag, tag_length, _DECRYPT
/dports/security/py-cryptography/cryptography-3.3.2/build/lib.dragonfly-6.3-DEVELOPMENT-x86_64-3.8/cryptography/hazmat/backends/openssl/
H A Daead.py102 def _encrypt(backend, cipher, nonce, data, associated_data, tag_length): argument
107 backend, cipher_name, cipher._key, nonce, None, tag_length, _ENCRYPT
120 tag_buf = backend._ffi.new("unsigned char[]", tag_length)
122 ctx, backend._lib.EVP_CTRL_AEAD_GET_TAG, tag_length, tag_buf
130 def _decrypt(backend, cipher, nonce, data, associated_data, tag_length): argument
133 if len(data) < tag_length:
135 tag = data[-tag_length:]
136 data = data[:-tag_length]
139 backend, cipher_name, cipher._key, nonce, tag, tag_length, _DECRYPT
/dports/multimedia/streamlink/streamlink-2.1.2/src/streamlink/plugins/
H A Dcommon_swf.py26 tag_length = header & 0x3f
27 if tag_length == 0x3f:
28 tag_length = U32LE.read(fd)
30 tag_data = fd.read(tag_length)
/dports/multimedia/livestreamer/livestreamer-1.12.2/src/livestreamer/plugins/
H A Dcommon_swf.py26 tag_length = header & 0x3f
27 if tag_length == 0x3f:
28 tag_length = U32LE.read(fd)
30 tag_data = fd.read(tag_length)
/dports/dns/dog/dog-0.1.0/dns/src/record/
H A Dcaa.rs40 let tag_length = c.read_u8()?; in read() localVariable
41 trace!("Parsed tag length -> {:?}", tag_length); in read()
44 for _ in 0 .. tag_length { in read()
51 … let remaining_length = stated_length.saturating_sub(u16::from(tag_length)).saturating_sub(2); in read()
62 let got_length = 1 + 1 + u16::from(tag_length) + remaining_length; in read()
/dports/biology/garlic/garlic-1.6/
H A Ddraw_tags.c53 int tag_length, text_width; in DrawTags_() local
99 tag_length = strlen (curr_mol_complexSP->tagA); in DrawTags_()
104 tag_length); in DrawTags_()
112 tag_length); in DrawTags_()

12345678910>>...26