Home
last modified time | relevance | path

Searched refs:tag_buf (Results 1 – 7 of 7) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/src/core/tsi/alts/zero_copy_frame_protector/
Dalts_grpc_integrity_only_record_protocol.cc37 unsigned char* tag_buf; member
160 protected_slices, integrity_only_record_protocol->tag_buf); in alts_grpc_integrity_only_unprotect()
161 tag_iovec.iov_base = integrity_only_record_protocol->tag_buf; in alts_grpc_integrity_only_unprotect()
190 gpr_free(integrity_only_rp->tag_buf); in alts_grpc_integrity_only_destruct()
221 impl->tag_buf = in alts_grpc_integrity_only_record_protocol_create()
/external/grpc-grpc/src/core/tsi/alts/zero_copy_frame_protector/
Dalts_grpc_integrity_only_record_protocol.cc37 unsigned char* tag_buf; member
160 protected_slices, integrity_only_record_protocol->tag_buf); in alts_grpc_integrity_only_unprotect()
161 tag_iovec.iov_base = integrity_only_record_protocol->tag_buf; in alts_grpc_integrity_only_unprotect()
190 gpr_free(integrity_only_rp->tag_buf); in alts_grpc_integrity_only_destruct()
221 impl->tag_buf = in alts_grpc_integrity_only_record_protocol_create()
/external/arm-trusted-firmware/drivers/auth/mbedtls/
Dmbedtls_crypto.c248 unsigned char tag_buf[CRYPTO_MAX_TAG_SIZE]; in aes_gcm_decrypt() local
281 rc = mbedtls_gcm_finish(&ctx, tag_buf, sizeof(tag_buf)); in aes_gcm_decrypt()
289 diff |= ((const unsigned char *)tag)[i] ^ tag_buf[i]; in aes_gcm_decrypt()
/external/python/cryptography/src/cryptography/hazmat/backends/openssl/
Daead.py116 tag_buf = backend._ffi.new("unsigned char[]", tag_length)
118 ctx, backend._lib.EVP_CTRL_AEAD_GET_TAG, tag_length, tag_buf
121 tag = backend._ffi.buffer(tag_buf)[:]
Dciphers.py185 tag_buf = self._backend._ffi.new(
190 self._block_size_bytes, tag_buf
193 self._tag = self._backend._ffi.buffer(tag_buf)[:]
/external/grpc-grpc/test/core/tsi/alts/zero_copy_frame_protector/
Dalts_iovec_record_protocol_test.cc43 uint8_t* tag_buf; member
163 var->tag_buf = static_cast<uint8_t*>(gpr_malloc(var->tag_length)); in alts_iovec_record_protocol_test_var_create()
164 var->tag_iovec.iov_base = var->tag_buf; in alts_iovec_record_protocol_test_var_create()
193 gpr_free(var->tag_buf); in alts_iovec_record_protocol_test_var_destroy()
314 offset = alter_random_byte(var->tag_buf, var->tag_length); in integrity_only_corrupted_data()
322 revert_back_alter(var->tag_buf, offset); in integrity_only_corrupted_data()
364 tag_iovec.iov_base = var->tag_buf; in integrity_only_protect_input_check()
409 tag_iovec.iov_base = var->tag_buf; in integrity_only_unprotect_input_check()
690 memcpy(var->protected_buf + var->data_length, var->tag_buf, var->tag_length); in integrity_seal_privacy_unseal()
/external/rust/crates/clap/src/app/
Dhelp.rs908 let mut tag_buf = Cursor::new(vec![0u8; 15]); in write_templated_help() localVariable
917 let tag_length = match copy_and_capture(&mut tmplr, &mut self.writer, &mut tag_buf) { in write_templated_help()
926 tag_buf.get_ref()[0..tag_length] in write_templated_help()
932 match &tag_buf.get_ref()[0..tag_length] { in write_templated_help()