Lines Matching refs:ivlen
101 size_t ivlen; in ossl_ccm_set_ctx_params() local
107 ivlen = 15 - sz; in ossl_ccm_set_ctx_params()
108 if (ivlen < 2 || ivlen > 8) { in ossl_ccm_set_ctx_params()
112 if (ctx->l != ivlen) { in ossl_ccm_set_ctx_params()
113 ctx->l = ivlen; in ossl_ccm_set_ctx_params()
226 const unsigned char *iv, size_t ivlen, in ccm_init() argument
237 if (ivlen != ccm_get_ivlen(ctx)) { in ccm_init()
241 memcpy(ctx->iv, iv, ivlen); in ccm_init()
256 const unsigned char *iv, size_t ivlen, in ossl_ccm_einit() argument
259 return ccm_init(vctx, key, keylen, iv, ivlen, params, 1); in ossl_ccm_einit()
263 const unsigned char *iv, size_t ivlen, in ossl_ccm_dinit() argument
266 return ccm_init(vctx, key, keylen, iv, ivlen, params, 0); in ossl_ccm_dinit()