Lines Matching defs:sz
147 size_t sz;
207 sz = p->data_size;
208 if (sz == 0
209 || sz > EVP_GCM_TLS_TAG_LEN
215 if (!OSSL_PARAM_set_octet_string(p, ctx->buf, sz)) {
234 size_t sz;
243 if (!OSSL_PARAM_get_octet_string(p, &vp, EVP_GCM_TLS_TAG_LEN, &sz)) {
247 if (sz == 0 || ctx->enc) {
251 ctx->taglen = sz;
256 if (!OSSL_PARAM_get_size_t(p, &sz)) {
260 if (sz == 0 || sz > sizeof(ctx->iv)) {
264 if (ctx->ivlen != sz) {
268 ctx->ivlen = sz;
278 sz = gcm_tls_init(ctx, p->data, p->data_size);
279 if (sz == 0) {
283 ctx->tls_aad_pad_sz = sz;
379 int sz = ctx->ivlen - offset;
382 if (sz <= 0 || ctx->ivlen < GCM_IV_DEFAULT_SIZE)
386 if (RAND_bytes_ex(ctx->libctx, ctx->iv + offset, sz, 0) <= 0)