Home
last modified time | relevance | path

Searched refs:tagSize (Results 1 - 24 of 24) sorted by relevance

/test/xts/acts/security/huks/huks_napi_BasicTest/src/
H A Dhuks_wrapped_test_common.cpp184 const uint32_t tagSize = Unittest::ImportWrapped::AEAD_TAG_SIZE; in ImportWrappedKey() local
185 uint8_t kekTagBuf[tagSize] = {0}; in ImportWrappedKey()
186 struct OH_Huks_Blob kekTag = {.size = tagSize, .data = kekTagBuf}; in ImportWrappedKey()
187 if (memcpy_s(kekTag.data, tagSize, plainCipher->data + (plainCipher->size - tagSize), tagSize) != EOK) { in ImportWrappedKey()
190 plainCipher->size -= tagSize; in ImportWrappedKey()
193 uint8_t agreeKeyTagBuf[tagSize] = {0}; in ImportWrappedKey()
194 struct OH_Huks_Blob agreeKeyTag = {.size = tagSize, .data = agreeKeyTagBuf}; in ImportWrappedKey()
195 if (memcpy_s(agreeKeyTagBuf, tagSize, kekCipherTex in ImportWrappedKey()
[all...]
/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/protocol/
H A Dtlv_protocol.cpp37 WifiDirectUtils::IntToBytes(key, format_.tagSize, tagVector); in Write()
49 if (data_.size() - readPos_ < format_.tagSize + format_.lengthSize) { in Read()
53 key = (int)WifiDirectUtils::BytesToInt(data_.data() + readPos_, format_.tagSize); in Read()
54 readPos_ += format_.tagSize; in Read()
H A Dwifi_direct_protocol.h24 uint32_t tagSize; member
/test/xts/acts/security/huks/huks_ndk_Test/entry/src/main/cpp/
H A Dutils.cpp391 const uint32_t tagSize = AEAD_TAG_SIZE; in ImportWrappedKey() local
392 uint8_t kekTagBuf[tagSize] = {0}; in ImportWrappedKey()
393 struct OH_Huks_Blob kekTag = {.size = tagSize, .data = kekTagBuf}; in ImportWrappedKey()
394 std::copy(plainCipher->data + (plainCipher->size - tagSize), in ImportWrappedKey()
395 plainCipher->data + (plainCipher->size - tagSize) + tagSize, kekTag.data); in ImportWrappedKey()
396 plainCipher->size -= tagSize; in ImportWrappedKey()
397 uint8_t agreeKeyTagBuf[tagSize] = {0}; in ImportWrappedKey()
398 struct OH_Huks_Blob agreeKeyTag = {.size = tagSize, .data = agreeKeyTagBuf}; in ImportWrappedKey()
399 std::copy(kekCipherText->data + (kekCipherText->size - tagSize), in ImportWrappedKey()
[all...]
/third_party/protobuf/csharp/src/Google.Protobuf/
H A DFieldCodec.cs744 private readonly int tagSize;
795 tagSize = CodedOutputStream.ComputeRawVarint32Size(tag);
797 tagSize += CodedOutputStream.ComputeRawVarint32Size(endTag);
877 public int CalculateSizeWithTag(T value) => IsDefault(value) ? 0 : ValueSizeCalculator(value) + tagSize;
/test/xts/acts/communication/nfc_Controller/entry/src/ohosTest/js/test/
H A DMifareClassicTag.test.js575 let tagSize = MifareClassicTag.getTagSize();
576 console.info("[NFC_test] MifareClassicTag18 tagSize: " + tagSize);
577 expect(tagSize).assertInstanceOf('Number')
579 console.info('[NFC_test] MifareClassicTag18 tagSize error' + error)
/third_party/skia/third_party/externals/dng_sdk/source/
H A Ddng_info.cpp749 uint32 tagSize = SafeUint32Mult(tagCount, TagTypeSize (tagType)); in ParseMakerNoteIFD() local
753 if (tagSize > 4) in ParseMakerNoteIFD()
759 SafeUint64Add(tagOffset, tagSize) > maxOffset) in ParseMakerNoteIFD()
1845 uint32 tagSize = SafeUint32Mult(tagCount, TagTypeSize (tagType)); in ParseDNGPrivateData() local
1863 stream.SetReadPosition (SafeUint64Add(tagOffset, tagSize)); in ParseDNGPrivateData()
H A Ddng_parse_utils.cpp2161 uint32 tagSize = tagCount * TagTypeSize (tagType); in DumpTagValues() local
2176 printf (" %s, size = %u\n", LookupTagType (tagType), (unsigned) tagSize); in DumpTagValues()
2178 DumpHexAscii (stream, tagSize); in DumpTagValues()
H A Ddng_image_writer.cpp620 uint32 tagSize = fTag [index]->Size (); in Size() local
622 if (tagSize > 4) in Size()
625 size += (tagSize + 1) & ~1; in Size()
/third_party/protobuf/php/src/Google/Protobuf/Internal/
H A DMessage.php1605 $size += $count * GPBWire::tagSize($field);
1787 $size += $count * GPBWire::tagSize($field);
1797 $data_size += GPBWire::tagSize($key_field);
1803 $data_size += GPBWire::tagSize($value_field);
1818 $size += GPBWire::tagSize($field);
1822 $size += $count * GPBWire::tagSize($field);
1829 $size += GPBWire::tagSize($field);
H A DGPBWire.php401 public static function tagSize($field) function
/foundation/communication/nfc/frameworks/js/napi/tag/
H A Dnfc_napi_tag_mifare_classic.cpp145 int tagSize = 0; in GetTagSize() local
151 tagSize = nfcMifareClassicTagPtr->GetSize(); in GetTagSize()
153 napi_create_int32(env, tagSize, &result); in GetTagSize()
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
H A DFieldSet.java811 int tagSize = CodedOutputStream.computeTagSize(number); in computeElementSize()
815 tagSize *= 2; in computeElementSize()
817 return tagSize + computeElementSizeNoTag(type, value); in computeElementSize()
/third_party/skia/third_party/externals/swiftshader/include/vulkan/
H A Dvulkan_structs.hpp15008 , tagSize( tagSize_ )
15028 , tagSize( tag_.size() * sizeof( T ) )
15070 tagSize = tagSize_;
15085 tagSize = tag_.size() * sizeof( T );
15108 ( object == rhs.object ) && ( tagName == rhs.tagName ) && ( tagSize == rhs.tagSize ) &&
15125 size_t tagSize = {}; member
15833 , tagSize( tagSize_ )
15853 , tagSize( tag_.size() * sizeof( T ) )
15894 tagSize
15948 size_t tagSize = {}; global() member
[all...]
H A Dvulkan_core.h8739 size_t tagSize; member
9740 size_t tagSize; member
/third_party/skia/include/third_party/vulkan/vulkan/
H A Dvulkan_core.h8424 size_t tagSize; member
9352 size_t tagSize; member
/third_party/vulkan-headers/include/vulkan/
H A Dvulkan_structs.hpp21116 , tagSize( tagSize_ )
21135 : pNext( pNext_ ), objectType( objectType_ ), object( object_ ), tagName( tagName_ ), tagSize( tag_.size() * sizeof( T ) ), pTag( tag_.data() ) in pTag()
21176 tagSize = tagSize_;
21190 tagSize = tag_.size() * sizeof( T );
21221 return std::tie( sType, pNext, objectType, object, tagName, tagSize, pTag );
21234 ( tagSize == rhs.tagSize ) && ( pTag == rhs.pTag );
21250 size_t tagSize = {}; member
22050 , tagSize( tagSize_ )
22073 , tagSize( tag
22189 size_t tagSize = {}; global() member
38078 size_t tagSize = {}; global() member
[all...]
H A Dvulkan_core.h11634 size_t tagSize; member
12740 size_t tagSize; member
16697 size_t tagSize; member
H A Dvulkan_hash.hpp2933 VULKAN_HPP_HASH_COMBINE( seed, debugMarkerObjectTagInfoEXT.tagSize );
3048 VULKAN_HPP_HASH_COMBINE( seed, debugUtilsObjectTagInfoEXT.tagSize );
5080 VULKAN_HPP_HASH_COMBINE( seed, frameBoundaryEXT.tagSize );
/third_party/mesa3d/include/vulkan/
H A Dvulkan_core.h9833 size_t tagSize; member
10875 size_t tagSize; member
/third_party/skia/third_party/externals/dawn/third_party/khronos/vulkan/
H A Dvulkan_core.h8899 size_t tagSize; member
9900 size_t tagSize; member
/third_party/vk-gl-cts/external/vulkancts/scripts/src/
H A Dvulkan_sc_core.h6839 size_t tagSize; member
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/generated/vulkansc/
H A Dvulkan_json_data.hpp[all...]
H A Dvulkan_json_parser.hpp12268 parse_size_t("tagSize", obj["tagSize"], (o.tagSize)); in parse_VkDebugUtilsObjectTagInfoEXT()

Completed in 432 milliseconds