/third_party/node/deps/openssl/openssl/providers/implementations/ciphers/ |
H A D | ciphercommon_ccm.c | 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()
|
/third_party/openssl/providers/implementations/ciphers/ |
H A D | ciphercommon_ccm.c | 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() 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 D | e_aria.c | 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()
|
H A D | e_aes.c | 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...] |
/third_party/openssl/crypto/evp/ |
H A D | e_aria.c | 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()
|
H A D | e_aes.c | 1886 || 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 D | ssl3_record.c | 1204 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 D | rec_layer_d1.c | 888 eivlen = EVP_CCM_TLS_EXPLICIT_IV_LEN; in do_dtls1_write()
|
H A D | rec_layer_s3.c | 843 eivlen = EVP_CCM_TLS_EXPLICIT_IV_LEN; in do_ssl3_write()
|
/third_party/openssl/ssl/record/ |
H A D | ssl3_record.c | 1204 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 D | rec_layer_d1.c | 888 eivlen = EVP_CCM_TLS_EXPLICIT_IV_LEN; in do_dtls1_write()
|
H A D | rec_layer_s3.c | 854 eivlen = EVP_CCM_TLS_EXPLICIT_IV_LEN; in do_ssl3_write()
|
/third_party/node/deps/openssl/openssl/ssl/ |
H A D | ssl_ciph.c | 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()
|
/third_party/openssl/ssl/ |
H A D | ssl_ciph.c | 2171 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 D | evp.h | 385 # define EVP_CCM_TLS_EXPLICIT_IV_LEN 8 macro
|
/third_party/node/deps/openssl/openssl/include/openssl/ |
H A D | evp.h | 469 # define EVP_CCM_TLS_EXPLICIT_IV_LEN 8 macro
|
/third_party/openssl/include/openssl/ |
H A D | evp.h | 467 # define EVP_CCM_TLS_EXPLICIT_IV_LEN 8 macro
|
/third_party/libcoap/src/ |
H A D | coap_openssl.c | 3242 ivlen = EVP_CCM_TLS_EXPLICIT_IV_LEN; in coap_dtls_get_overhead()
|