Home | History | Annotate | Download | only in tools

Lines Matching refs:origsiz

308 try_decompress(const struct blob *in, uint64_t origsiz, int wbits)
320 if (origsiz > SIZE_MAX || origsiz > UINT_MAX ||
321 (olen = (u_int)origsiz) > BOUND)
351 decompress(const struct blob *plaintext, uint64_t origsiz)
353 if (try_decompress(plaintext, origsiz, MAX_WBITS) == 0) /* rfc1950 */
355 return try_decompress(plaintext, origsiz, -MAX_WBITS); /* rfc1951 */
360 uint64_t origsiz, const fido_cred_t *cred)
396 tmp = htole64(origsiz);
403 if (decompress(&plaintext, origsiz) < 0)
418 const struct blob *nonce, uint64_t origsiz)
424 decode(ciphertext, nonce, origsiz, cred) == 0)
447 struct blob *nonce, uint64_t *origsiz)
474 if (*origsiz != 0 ||
476 (*origsiz = cbor_get_int(v[i].value)) > SIZE_MAX)
480 if (ciphertext->ptr == NULL || nonce->ptr == NULL || *origsiz == 0)
493 uint64_t origsiz = 0;
498 if (decode_blob_entry(item, &ciphertext, &nonce, &origsiz) < 0) {
504 origsiz)) != NULL) {
525 (size_t)origsiz, cred_id, rp_id);