Lines Matching refs:qsize
150 unsigned qsize;
154 qsize = EVP_MD_size(evpmd);
163 if (seed_len < (size_t)qsize) {
166 if (seed_len > (size_t)qsize) {
168 seed_len = qsize;
207 if (!RAND_bytes(seed, qsize)) {
214 memcpy(buf, seed, qsize);
215 memcpy(buf2, seed, qsize);
217 for (i = qsize - 1; i < qsize; i--) {
225 if (!EVP_Digest(seed, qsize, md, NULL, evpmd, NULL) ||
226 !EVP_Digest(buf, qsize, buf2, NULL, evpmd, NULL)) {
229 for (i = 0; i < qsize; i++) {
235 md[qsize - 1] |= 0x01;
236 if (!BN_bin2bn(md, qsize, q)) {
273 for (i = qsize - 1; i < qsize; i--) {
280 if (!EVP_Digest(buf, qsize, md, NULL, evpmd, NULL)) {
285 if (!BN_bin2bn(md, qsize, r0) ||
286 !BN_lshift(r0, r0, (qsize << 3) * k) ||