Home
last modified time | relevance | path

Searched refs:EVP_CCM_TLS_EXPLICIT_IV_LEN (Results 1 – 8 of 8) sorted by relevance

/freebsd/crypto/openssl/providers/implementations/ciphers/
H A Dciphercommon_ccm.c33 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()
/freebsd/crypto/openssl/crypto/evp/
H A De_aria.c571 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()
H A De_aes.c1880 || 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 …]
/freebsd/crypto/openssl/ssl/record/
H A Dssl3_record.c1220 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()
H A Drec_layer_d1.c888 eivlen = EVP_CCM_TLS_EXPLICIT_IV_LEN; in do_dtls1_write()
H A Drec_layer_s3.c858 eivlen = EVP_CCM_TLS_EXPLICIT_IV_LEN; in do_ssl3_write()
/freebsd/crypto/openssl/ssl/
H A Dssl_ciph.c2172 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()
/freebsd/crypto/openssl/include/openssl/
H A Devp.h469 # define EVP_CCM_TLS_EXPLICIT_IV_LEN 8 macro