Lines Matching refs:data_size
83 if ((p->data_size & 1) || (p->data_size < 4) || p->data_size > 16) { in ossl_ccm_set_ctx_params()
93 memcpy(ctx->buf, p->data, p->data_size); in ossl_ccm_set_ctx_params()
96 ctx->m = p->data_size; in ossl_ccm_set_ctx_params()
124 sz = ccm_tls_init(ctx, p->data, p->data_size); in ossl_ccm_set_ctx_params()
138 if (ccm_tls_iv_set_fixed(ctx, p->data, p->data_size) == 0) { in ossl_ccm_set_ctx_params()
170 if (ccm_get_ivlen(ctx) > p->data_size) { in ossl_ccm_get_ctx_params()
174 if (!OSSL_PARAM_set_octet_string(p, ctx->iv, p->data_size) in ossl_ccm_get_ctx_params()
175 && !OSSL_PARAM_set_octet_ptr(p, &ctx->iv, p->data_size)) { in ossl_ccm_get_ctx_params()
183 if (ccm_get_ivlen(ctx) > p->data_size) { in ossl_ccm_get_ctx_params()
187 if (!OSSL_PARAM_set_octet_string(p, ctx->iv, p->data_size) in ossl_ccm_get_ctx_params()
188 && !OSSL_PARAM_set_octet_ptr(p, &ctx->iv, p->data_size)) { in ossl_ccm_get_ctx_params()
216 if (!ctx->hw->gettag(ctx, p->data, p->data_size)) in ossl_ccm_get_ctx_params()