Lines Matching defs:bytes
122 int ret=0,bit,bytes,mask;
131 bytes=(bits+7)/8;
135 buf=(unsigned char *)OPENSSL_malloc(bytes);
148 if (RAND_pseudo_bytes(buf, bytes) == -1)
153 if (RAND_bytes(buf, bytes) <= 0)
165 for (i = 0; i < bytes; i++)
199 buf[bytes-1]|=1;
200 if (!BN_bin2bn(buf,bytes,rnd)) goto err;
205 OPENSSL_cleanse(buf,bytes);
324 /* We generate |range|+8 bytes of random output. */