Searched refs:EVP_CCM_TLS_EXPLICIT_IV_LEN (Results 1 – 8 of 8) sorted by relevance
33 if (len < EVP_CCM_TLS_EXPLICIT_IV_LEN) in ccm_tls_init()37 len -= EVP_CCM_TLS_EXPLICIT_IV_LEN; in ccm_tls_init()346 if (in == NULL || out != in || len < EVP_CCM_TLS_EXPLICIT_IV_LEN + ctx->m) in ccm_tls_cipher()351 memcpy(out, ctx->buf, EVP_CCM_TLS_EXPLICIT_IV_LEN); in ccm_tls_cipher()353 memcpy(ctx->iv + EVP_CCM_TLS_FIXED_IV_LEN, in, EVP_CCM_TLS_EXPLICIT_IV_LEN); in ccm_tls_cipher()355 len -= EVP_CCM_TLS_EXPLICIT_IV_LEN + ctx->m; in ccm_tls_cipher()364 in += EVP_CCM_TLS_EXPLICIT_IV_LEN; in ccm_tls_cipher()365 out += EVP_CCM_TLS_EXPLICIT_IV_LEN; in ccm_tls_cipher()369 olen = len + EVP_CCM_TLS_EXPLICIT_IV_LEN + ctx->m; in ccm_tls_cipher()
571 if (len < EVP_CCM_TLS_EXPLICIT_IV_LEN) in aria_ccm_ctrl()573 len -= EVP_CCM_TLS_EXPLICIT_IV_LEN; in aria_ccm_ctrl()648 if (out != in || len < (EVP_CCM_TLS_EXPLICIT_IV_LEN + (size_t)cctx->M)) in aria_ccm_tls_cipher()653 EVP_CCM_TLS_EXPLICIT_IV_LEN); in aria_ccm_tls_cipher()656 EVP_CCM_TLS_EXPLICIT_IV_LEN); in aria_ccm_tls_cipher()658 len -= EVP_CCM_TLS_EXPLICIT_IV_LEN + cctx->M; in aria_ccm_tls_cipher()666 in += EVP_CCM_TLS_EXPLICIT_IV_LEN; in aria_ccm_tls_cipher()667 out += EVP_CCM_TLS_EXPLICIT_IV_LEN; in aria_ccm_tls_cipher()674 return len + EVP_CCM_TLS_EXPLICIT_IV_LEN + cctx->M; in aria_ccm_tls_cipher()
1880 || len < (EVP_CCM_TLS_EXPLICIT_IV_LEN + (size_t)cctx->aes.ccm.m)) in s390x_aes_ccm_tls_cipher()1885 memcpy(out, buf, EVP_CCM_TLS_EXPLICIT_IV_LEN); in s390x_aes_ccm_tls_cipher()1888 len -= EVP_CCM_TLS_EXPLICIT_IV_LEN + cctx->aes.ccm.m; in s390x_aes_ccm_tls_cipher()1893 memcpy(ivec + EVP_CCM_TLS_FIXED_IV_LEN, in, EVP_CCM_TLS_EXPLICIT_IV_LEN); in s390x_aes_ccm_tls_cipher()1899 in += EVP_CCM_TLS_EXPLICIT_IV_LEN; in s390x_aes_ccm_tls_cipher()1900 out += EVP_CCM_TLS_EXPLICIT_IV_LEN; in s390x_aes_ccm_tls_cipher()1907 return len + EVP_CCM_TLS_EXPLICIT_IV_LEN + cctx->aes.ccm.m; in s390x_aes_ccm_tls_cipher()2084 if (len < EVP_CCM_TLS_EXPLICIT_IV_LEN) in s390x_aes_ccm_ctrl()2088 len -= EVP_CCM_TLS_EXPLICIT_IV_LEN; in s390x_aes_ccm_ctrl()3303 if (len < EVP_CCM_TLS_EXPLICIT_IV_LEN) in aes_ccm_ctrl()[all …]
1220 recs[0].data += EVP_CCM_TLS_EXPLICIT_IV_LEN; in tls1_enc()1221 recs[0].input += EVP_CCM_TLS_EXPLICIT_IV_LEN; in tls1_enc()1269 recs[ctr].data += EVP_CCM_TLS_EXPLICIT_IV_LEN; in tls1_enc()1270 recs[ctr].input += EVP_CCM_TLS_EXPLICIT_IV_LEN; in tls1_enc()1271 recs[ctr].length -= EVP_CCM_TLS_EXPLICIT_IV_LEN; in tls1_enc()
888 eivlen = EVP_CCM_TLS_EXPLICIT_IV_LEN; in do_dtls1_write()
858 eivlen = EVP_CCM_TLS_EXPLICIT_IV_LEN; in do_ssl3_write()
2172 out = EVP_CCM_TLS_EXPLICIT_IV_LEN + 16; in ssl_cipher_get_overhead()2174 out = EVP_CCM_TLS_EXPLICIT_IV_LEN + 8; in ssl_cipher_get_overhead()
469 # define EVP_CCM_TLS_EXPLICIT_IV_LEN 8 macro