Lines Matching refs:len
162 digest2string(const uint8_t *digest, char *string, size_t len)
164 while (len--) {
186 size_t i, j, len;
193 len = strlen(test256[i].vector);
196 memcpy(buf + j, test256[i].vector, len);
197 SHA256_Update(&ctx, buf + j, len);
213 size_t i, j, len;
220 len = strlen(test384[i].vector);
223 memcpy(buf + j, test384[i].vector, len);
224 SHA384_Update(&ctx, buf + j, len);
240 size_t i, j, len;
247 len = strlen(test512[i].vector);
250 memcpy(buf + j, test512[i].vector, len);
251 SHA512_Update(&ctx, buf + j, len);