Lines Matching defs:counter
104 /* Store the initial value of 1 into the counter */
106 /* Remember where we stored the counter in the buffer */
154 * counter OCTET STRING SIZE (4..4)
189 * |out_ctr| returns a pointer to the counter data which is embedded inside the
190 * encoded data. This allows the counter bytes to be updated without
246 * The data for the DER encoded octet string of a 32 bit counter = 1
249 * This counter will be incremented in the kdf update loop.
271 size_t counter, out_len, len = derived_key_len;
297 for (counter = 1;; counter++) {
299 ctr[0] = (unsigned char)((counter >> 24) & 0xff);
300 ctr[1] = (unsigned char)((counter >> 16) & 0xff);
301 ctr[2] = (unsigned char)((counter >> 8) & 0xff);
302 ctr[3] = (unsigned char)(counter & 0xff);