Searched refs:pTemplate1 (Results 1 – 1 of 1) sorted by relevance
103 CK_ATTRIBUTE* pTemplate1, in static_encodeTwoTemplates() argument122 if (pTemplate1 == NULL) in static_encodeTwoTemplates()146 nBufferSize += PKCS11_GET_SIZE_WITH_ALIGNMENT(pTemplate1[i].ulValueLen); in static_encodeTwoTemplates()174 sItem.attributeType = (uint32_t)pTemplate1[i].type; in static_encodeTwoTemplates()176 sItem.dataOffset = ((pTemplate1[i].pValue == NULL) ? 0 : nDataOffset); in static_encodeTwoTemplates()178 sItem.dataValueLen = (uint32_t)pTemplate1[i].ulValueLen; in static_encodeTwoTemplates()182 if (pTemplate1[i].pValue != NULL) in static_encodeTwoTemplates()185 … memcpy(pBuffer + nDataOffset, (uint8_t*)pTemplate1[i].pValue, (uint32_t)pTemplate1[i].ulValueLen); in static_encodeTwoTemplates()187 nDataOffset += PKCS11_GET_SIZE_WITH_ALIGNMENT(pTemplate1[i].ulValueLen); in static_encodeTwoTemplates()