Lines Matching refs:M
54 int L, M; /* L and M parameters from RFC3610 */ member
521 CRYPTO_ccm128_init(&cctx->ccm, cctx->M, cctx->L, in aria_ccm_init_key()
546 cctx->M = 12; in aria_ccm_ctrl()
572 if (len < cctx->M) in aria_ccm_ctrl()
574 len -= cctx->M; in aria_ccm_ctrl()
580 return cctx->M; in aria_ccm_ctrl()
607 cctx->M = arg; in aria_ccm_ctrl()
644 if (out != in || len < (EVP_CCM_TLS_EXPLICIT_IV_LEN + (size_t)cctx->M)) in aria_ccm_tls_cipher()
654 len -= EVP_CCM_TLS_EXPLICIT_IV_LEN + cctx->M; in aria_ccm_tls_cipher()
668 if (!CRYPTO_ccm128_tag(ccm, out + len, cctx->M)) in aria_ccm_tls_cipher()
670 return len + EVP_CCM_TLS_EXPLICIT_IV_LEN + cctx->M; in aria_ccm_tls_cipher()
675 if (CRYPTO_ccm128_tag(ccm, tag, cctx->M)) { in aria_ccm_tls_cipher()
676 if (!CRYPTO_memcmp(tag, in + len, cctx->M)) in aria_ccm_tls_cipher()
741 if (CRYPTO_ccm128_tag(ccm, tag, cctx->M)) { in aria_ccm_cipher()
743 cctx->M)) in aria_ccm_cipher()