Home
last modified time | relevance | path

Searched refs:EVP_CCM_TLS_EXPLICIT_IV_LEN (Results 1 - 18 of 18) sorted by relevance

/third_party/node/deps/openssl/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()
/third_party/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()
343 if (in == NULL || out != in || len < EVP_CCM_TLS_EXPLICIT_IV_LEN + ctx->m) in ccm_tls_cipher()
348 memcpy(out, ctx->buf, EVP_CCM_TLS_EXPLICIT_IV_LEN); in ccm_tls_cipher()
350 memcpy(ctx->iv + EVP_CCM_TLS_FIXED_IV_LEN, in, EVP_CCM_TLS_EXPLICIT_IV_LEN); in ccm_tls_cipher()
352 len -= EVP_CCM_TLS_EXPLICIT_IV_LEN + ctx->m; in ccm_tls_cipher()
361 in += EVP_CCM_TLS_EXPLICIT_IV_LEN; in ccm_tls_cipher()
362 out += EVP_CCM_TLS_EXPLICIT_IV_LEN; in ccm_tls_cipher()
366 olen = len + EVP_CCM_TLS_EXPLICIT_IV_LEN + ctx->m; in ccm_tls_cipher()
/third_party/node/deps/openssl/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...]
/third_party/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.c1886 || len < (EVP_CCM_TLS_EXPLICIT_IV_LEN + (size_t)cctx->aes.ccm.m)) in s390x_aes_ccm_tls_cipher()
1891 memcpy(out, buf, EVP_CCM_TLS_EXPLICIT_IV_LEN); in s390x_aes_ccm_tls_cipher()
1894 len -= EVP_CCM_TLS_EXPLICIT_IV_LEN + cctx->aes.ccm.m; in s390x_aes_ccm_tls_cipher()
1899 memcpy(ivec + EVP_CCM_TLS_FIXED_IV_LEN, in, EVP_CCM_TLS_EXPLICIT_IV_LEN); in s390x_aes_ccm_tls_cipher()
1905 in += EVP_CCM_TLS_EXPLICIT_IV_LEN; in s390x_aes_ccm_tls_cipher()
1906 out += EVP_CCM_TLS_EXPLICIT_IV_LEN; in s390x_aes_ccm_tls_cipher()
1913 return len + EVP_CCM_TLS_EXPLICIT_IV_LEN + cctx->aes.ccm.m; in s390x_aes_ccm_tls_cipher()
2090 if (len < EVP_CCM_TLS_EXPLICIT_IV_LEN) in s390x_aes_ccm_ctrl()
2094 len -= EVP_CCM_TLS_EXPLICIT_IV_LEN; in s390x_aes_ccm_ctrl()
3309 if (len < EVP_CCM_TLS_EXPLICIT_IV_LEN) in aes_ccm_ctrl()
[all...]
/third_party/node/deps/openssl/openssl/ssl/record/
H A Dssl3_record.c1204 recs[0].data += EVP_CCM_TLS_EXPLICIT_IV_LEN; in tls1_enc()
1205 recs[0].input += EVP_CCM_TLS_EXPLICIT_IV_LEN; in tls1_enc()
1253 recs[ctr].data += EVP_CCM_TLS_EXPLICIT_IV_LEN; in tls1_enc()
1254 recs[ctr].input += EVP_CCM_TLS_EXPLICIT_IV_LEN; in tls1_enc()
1255 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.c843 eivlen = EVP_CCM_TLS_EXPLICIT_IV_LEN; in do_ssl3_write()
/third_party/openssl/ssl/record/
H A Dssl3_record.c1204 recs[0].data += EVP_CCM_TLS_EXPLICIT_IV_LEN; in tls1_enc()
1205 recs[0].input += EVP_CCM_TLS_EXPLICIT_IV_LEN; in tls1_enc()
1253 recs[ctr].data += EVP_CCM_TLS_EXPLICIT_IV_LEN; in tls1_enc()
1254 recs[ctr].input += EVP_CCM_TLS_EXPLICIT_IV_LEN; in tls1_enc()
1255 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.c854 eivlen = EVP_CCM_TLS_EXPLICIT_IV_LEN; in do_ssl3_write()
/third_party/node/deps/openssl/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()
/third_party/openssl/ssl/
H A Dssl_ciph.c2171 out = EVP_CCM_TLS_EXPLICIT_IV_LEN + 16; in ssl_cipher_get_overhead()
2173 out = EVP_CCM_TLS_EXPLICIT_IV_LEN + 8; in ssl_cipher_get_overhead()
/third_party/openssl/ohos_lite/include/openssl/
H A Devp.h385 # define EVP_CCM_TLS_EXPLICIT_IV_LEN 8 macro
/third_party/node/deps/openssl/openssl/include/openssl/
H A Devp.h469 # define EVP_CCM_TLS_EXPLICIT_IV_LEN 8 macro
/third_party/openssl/include/openssl/
H A Devp.h467 # define EVP_CCM_TLS_EXPLICIT_IV_LEN 8 macro
/third_party/libcoap/src/
H A Dcoap_openssl.c3242 ivlen = EVP_CCM_TLS_EXPLICIT_IV_LEN; in coap_dtls_get_overhead()

Completed in 61 milliseconds