Lines Matching refs:buf
37 unsigned char *buf;
52 buf = XMALLOC(hLen);
53 if (md == NULL || buf == NULL) {
57 if (buf != NULL) {
58 XFREE(buf);
68 STORE32H(counter, buf);
78 if ((err = hash_descriptor[hash_idx].process(md, buf, 4)) != CRYPT_OK) {
81 if ((err = hash_descriptor[hash_idx].done(md, buf)) != CRYPT_OK) {
87 *mask++ = buf[x];
94 zeromem(buf, hLen);
98 XFREE(buf);