Lines Matching refs:counter
124 size_t counter, out_len, len = derived_key_len; in SSKDF_hash_kdm() local
148 for (counter = 1;; counter++) { in SSKDF_hash_kdm()
149 c[0] = (unsigned char)((counter >> 24) & 0xff); in SSKDF_hash_kdm()
150 c[1] = (unsigned char)((counter >> 16) & 0xff); in SSKDF_hash_kdm()
151 c[2] = (unsigned char)((counter >> 8) & 0xff); in SSKDF_hash_kdm()
152 c[3] = (unsigned char)(counter & 0xff); in SSKDF_hash_kdm()
244 size_t counter, out_len, len; in SSKDF_mac_kdm() local
270 for (counter = 1;; counter++) { in SSKDF_mac_kdm()
271 c[0] = (unsigned char)((counter >> 24) & 0xff); in SSKDF_mac_kdm()
272 c[1] = (unsigned char)((counter >> 16) & 0xff); in SSKDF_mac_kdm()
273 c[2] = (unsigned char)((counter >> 8) & 0xff); in SSKDF_mac_kdm()
274 c[3] = (unsigned char)(counter & 0xff); in SSKDF_mac_kdm()