Lines Matching defs:tmp
59 char *tmp;
68 if((len = str2bin(chapSecret, &tmp)) == 0) {
72 MD5Update(&ctx, tmp, len);
73 free(tmp);
75 if((len = str2bin(cp, &tmp)) == 0) {
79 MD5Update(&ctx, tmp, len);
80 free(tmp);
92 char *tmp;
101 if((len = str2bin(chapSecret, &tmp)) == 0) {
105 SHA1_Update(&ctx, tmp, len);
106 free(tmp);
108 if((len = str2bin(cp, &tmp)) == 0) {
112 SHA1_Update(&ctx, tmp, len);
113 free(tmp);
155 unsigned char tmp[1024];
157 if(len > sizeof(tmp))
161 read(fd, tmp, len);
163 return bin2str(encoding, tmp, len);