Lines Matching refs:buf
58 unsigned char buf[BUFLEN]; in main() local
101 while ((l = read(fd,buf,BUFLEN)) > 0) { in main()
103 SHA256_Update(&ctx256, (unsigned char*)buf, l); in main()
104 SHA384_Update(&ctx384, (unsigned char*)buf, l); in main()
105 SHA512_Update(&ctx512, (unsigned char*)buf, l); in main()
112 SHA256_End(&ctx256, buf); in main()
115 printf("%s\n", buf); in main()
118 SHA384_End(&ctx384, buf); in main()
121 printf("%s\n", buf); in main()
124 SHA512_End(&ctx512, buf); in main()
127 printf("%s\n", buf); in main()