Lines Matching refs:out_len
121 size_t out_len;
131 static int encode_string(unsigned char *out, size_t out_max_len, size_t *out_len,
133 static int right_encode(unsigned char *out, size_t out_max_len, size_t *out_len,
135 static int bytepad(unsigned char *out, size_t *out_len,
140 size_t *out_len,
190 kctx->out_len = EVP_MD_get_size(ossl_prov_digest_md(&kctx->digest));
232 dst->out_len = src->out_len;
273 size_t out_len, block_len;
307 if (!bytepad(NULL, &out_len, kmac_string, sizeof(kmac_string),
312 out = OPENSSL_malloc(out_len);
319 && EVP_DigestUpdate(ctx, out, out_len)
346 lbits = (kctx->xof_mode ? 0 : (kctx->out_len * 8));
350 && EVP_DigestFinalXOF(ctx, out, kctx->out_len);
351 *outl = kctx->out_len;
373 && !OSSL_PARAM_set_size_t(p, kctx->out_len))
427 kctx->out_len = sz;
465 * *out_len.
469 static int right_encode(unsigned char *out, size_t out_max_len, size_t *out_len,
489 *out_len = len + 1;
500 static int encode_string(unsigned char *out, size_t out_max_len, size_t *out_len,
504 *out_len = 0;
523 *out_len = sz;
536 static int bytepad(unsigned char *out, size_t *out_len,
545 if (out_len == NULL) {
550 *out_len = (sz + w - 1) / w * w;
574 if (out_len != NULL)
575 *out_len = sz;
581 size_t *out_len,
590 if (!bytepad(NULL, out_len, tmp, tmp_len, NULL, 0, w))
592 if (!ossl_assert(*out_len <= out_max_len))