Lines Matching refs:rand_bytes
19 def rand_bytes(length): function
86 return Poly1305(rand_bytes(POLY1305_KEY_SIZE))
88 return Polyval(rand_bytes(POLYVAL_BLOCK_SIZE))
130 data = rand_bytes(data_len)
137 data = rand_bytes(4096)
147 in_data = rand_bytes(max_len)
158 ctx = hmac.new(rand_bytes(32), digestmod=alg)
159 data = rand_bytes(4096)
163 key = rand_bytes(key_len)
180 h = hashlib.new(alg, digest_size=out_len, key=rand_bytes(key_len))
181 h.update(rand_bytes(100))
217 key = rand_bytes(NH_KEY_BYTES)
218 msg = rand_bytes(NH_MESSAGE_BYTES)