Lines Matching refs:len
58 unsigned int len = 8; in GetChecksumResult() local
72 if (mesgd->dataLen < totalLen - len) { in GetChecksumResult()
73 for (; dataLen < totalLen - len; dataLen++) { in GetChecksumResult()
78 if (mesgd->dataLen >= totalLen - len) { in GetChecksumResult()
84 err = memset_s(mesgd->data, sizeof(mesgd->data), 0, totalLen - len); in GetChecksumResult()
90 mesgd->bitLen += mesgd->dataLen * len; in GetChecksumResult()
93 for (i = 1; i <= len; i++) { in GetChecksumResult()
94 mesgd->data[totalLen - i] = mesgd->bitLen >> ((i - 1) * len); in GetChecksumResult()
101 for (j = 0; j < len; j++) { in GetChecksumResult()
102 hash[i + groupNum * j] = (mesgd->hash[j] >> (num - i * len)) & bitNum; in GetChecksumResult()
113 void CalcFileChunkSha256(MesgDigest* mesgd, unsigned char data[], size_t len) in CalcFileChunkSha256() argument
118 for (size_t i = 0; i < len; i++) { in CalcFileChunkSha256()
161 char* CreatePathName(char *base, int len, char *name0, char *name1, char *name2) in CreatePathName() argument
165 err = memset_s(base, len, '\0', len); in CreatePathName()
170 err = strcpy_s(base, len, name0); in CreatePathName()
175 err = strcat_s(base, len, name1); in CreatePathName()
180 err = strcat_s(base, len, name2); in CreatePathName()