Lines Matching refs:tag
32 #define TAGID_LEN 6 /* Length of tag ID */
33 #define TAGINFO_LEN 20 /* Length of vendor information field in tag */
40 unsigned char tagVersion[4]; // tag version. Will be 2 here.
131 struct spw303v_tag *tag = buf;
134 memset(tag->signiture_1, 0, 20);
135 memcpy(tag->signiture_1, IMAGETAG_MAGIC1_TCOM, strlen(IMAGETAG_MAGIC1_TCOM));
138 memset(tag->certf1Address, 0, 74);
141 crc = ntohl(*((uint32_t *)&tag->imageCRC));
145 memcpy(tag->imageCRC, &crc, 4);
147 /* Update tag crc */
149 memcpy(tag->headerCRC, &crc, 4);