Lines Matching refs:mem_want
115 size_t mem_len = 0, mem_want; in msblob2obj_decode() local
125 mem_want = 16; /* The size of the MSBLOB header */ in msblob2obj_decode()
127 || !BUF_MEM_grow(mem, mem_want)) { in msblob2obj_decode()
133 ok = BIO_read(in, &mem->data[0], mem_want) == (int)mem_want; in msblob2obj_decode()
134 mem_len += mem_want; in msblob2obj_decode()
148 mem_want = ossl_blob_length(bitlen, isdss, ispub); in msblob2obj_decode()
149 if (!BUF_MEM_grow(mem, mem_len + mem_want)) { in msblob2obj_decode()
155 ok = BIO_read(in, &mem->data[mem_len], mem_want) == (int)mem_want; in msblob2obj_decode()
156 mem_len += mem_want; in msblob2obj_decode()
184 size_t mem_len = 0, mem_want; in pvk2obj_decode() local
192 mem_want = 24; /* The size of the PVK header */ in pvk2obj_decode()
194 || !BUF_MEM_grow(mem, mem_want)) { in pvk2obj_decode()
200 ok = BIO_read(in, &mem->data[0], mem_want) == (int)mem_want; in pvk2obj_decode()
201 mem_len += mem_want; in pvk2obj_decode()
215 mem_want = saltlen + keylen; in pvk2obj_decode()
216 if (!BUF_MEM_grow(mem, mem_len + mem_want)) { in pvk2obj_decode()
222 ok = BIO_read(in, &mem->data[mem_len], mem_want) == (int)mem_want; in pvk2obj_decode()
223 mem_len += mem_want; in pvk2obj_decode()