Lines Matching defs:tmp
76 /* tmp = counter || num_bits_returned || [inbyte] */
77 unsigned char tmp[1 + 4 + 1];
86 /* (Step 3) counter = 1 (tmp[0] is the 8 bit counter) */
87 tmp[tmp_sz++] = 1;
88 /* tmp[1..4] is the fixed 32 bit no_of_bits_to_return */
89 tmp[tmp_sz++] = (unsigned char)((num_bits_returned >> 24) & 0xff);
90 tmp[tmp_sz++] = (unsigned char)((num_bits_returned >> 16) & 0xff);
91 tmp[tmp_sz++] = (unsigned char)((num_bits_returned >> 8) & 0xff);
92 tmp[tmp_sz++] = (unsigned char)(num_bits_returned & 0xff);
93 /* Tack the additional input byte onto the end of tmp if it exists */
95 tmp[tmp_sz++] = inbyte;
100 * (Step 4.1) out = out || Hash(tmp || in || [in2] || [in3])
101 * (where tmp = counter || num_bits_returned || [inbyte])
104 && EVP_DigestUpdate(ctx, tmp, tmp_sz)
124 tmp[0]++;