/freebsd-13-stable/contrib/bearssl/src/ssl/ |
H A D | ssl_engine.c | 1361 const br_block_cbcdec_class *bc_impl, size_t cipher_key_len) 1381 mac_key_len + cipher_key_len + iv_len, kb); 1384 cipher_key = &kb[(mac_key_len << 1) + cipher_key_len]; 1385 iv = &kb[((mac_key_len + cipher_key_len) << 1) + iv_len]; 1389 iv = &kb[(mac_key_len + cipher_key_len) << 1]; 1395 bc_impl, cipher_key, cipher_key_len, 1404 const br_block_cbcenc_class *bc_impl, size_t cipher_key_len) 1424 mac_key_len + cipher_key_len + iv_len, kb); 1428 iv = &kb[(mac_key_len + cipher_key_len) << 1]; 1431 cipher_key = &kb[(mac_key_len << 1) + cipher_key_len]; 1359 br_ssl_engine_switch_cbc_in(br_ssl_engine_context *cc, int is_client, int prf_id, int mac_id, const br_block_cbcdec_class *bc_impl, size_t cipher_key_len) argument 1402 br_ssl_engine_switch_cbc_out(br_ssl_engine_context *cc, int is_client, int prf_id, int mac_id, const br_block_cbcenc_class *bc_impl, size_t cipher_key_len) argument 1444 br_ssl_engine_switch_gcm_in(br_ssl_engine_context *cc, int is_client, int prf_id, const br_block_ctr_class *bc_impl, size_t cipher_key_len) argument 1466 br_ssl_engine_switch_gcm_out(br_ssl_engine_context *cc, int is_client, int prf_id, const br_block_ctr_class *bc_impl, size_t cipher_key_len) argument 1528 br_ssl_engine_switch_ccm_in(br_ssl_engine_context *cc, int is_client, int prf_id, const br_block_ctrcbc_class *bc_impl, size_t cipher_key_len, size_t tag_len) argument 1551 br_ssl_engine_switch_ccm_out(br_ssl_engine_context *cc, int is_client, int prf_id, const br_block_ctrcbc_class *bc_impl, size_t cipher_key_len, size_t tag_len) argument [all...] |
H A D | ssl_hs_client.c | 1647 unsigned cipher_key_len, tag_len; local 1650 cipher_key_len = T0_POP(); 1654 ENG->iaes_ctrcbc, cipher_key_len, tag_len); 1662 unsigned cipher_key_len, tag_len; local 1665 cipher_key_len = T0_POP(); 1669 ENG->iaes_ctrcbc, cipher_key_len, tag_len); 1677 unsigned cipher_key_len; local 1679 cipher_key_len = T0_POP(); 1683 ENG->iaes_ctr, cipher_key_len); 1691 unsigned cipher_key_len; local 1705 unsigned cipher_key_len; local 1721 unsigned cipher_key_len; local [all...] |
H A D | ssl_hs_server.c | 1714 unsigned cipher_key_len, tag_len; local 1717 cipher_key_len = T0_POP(); 1721 ENG->iaes_ctrcbc, cipher_key_len, tag_len); 1729 unsigned cipher_key_len, tag_len; local 1732 cipher_key_len = T0_POP(); 1736 ENG->iaes_ctrcbc, cipher_key_len, tag_len); 1744 unsigned cipher_key_len; local 1746 cipher_key_len = T0_POP(); 1750 ENG->iaes_ctr, cipher_key_len); 1758 unsigned cipher_key_len; local 1772 unsigned cipher_key_len; local 1788 unsigned cipher_key_len; local [all...] |
/freebsd-13-stable/sys/sys/ |
H A D | ktls.h | 110 int cipher_key_len; member in struct:tls_enable_v0 125 int cipher_key_len; member in struct:tls_enable 152 uint16_t cipher_key_len; member in struct:tls_session_params
|
/freebsd-13-stable/sys/kern/ |
H A D | uipc_ktls.c | 446 if (en->cipher_key_len < 0 || en->cipher_key_len > TLS_MAX_PARAM_SIZE) 452 if (en->cipher_key_len == 0) 598 tls->params.cipher_key_len = en->cipher_key_len; 599 tls->params.cipher_key = malloc(en->cipher_key_len, M_KTLS, M_WAITOK); 601 en->cipher_key_len); 659 tls_new->params.cipher_key = malloc(tls->params.cipher_key_len, M_KTLS, 662 tls->params.cipher_key_len); 719 tls->params.cipher_key_len [all...] |
/freebsd-13-stable/contrib/bearssl/src/ |
H A D | inner.h | 2245 * cipher_key_len block cipher key length (in bytes) 2249 const br_block_cbcdec_class *bc_impl, size_t cipher_key_len); 2258 * cipher_key_len block cipher key length (in bytes) 2262 const br_block_cbcenc_class *bc_impl, size_t cipher_key_len); 2270 * cipher_key_len block cipher key length (in bytes) 2274 const br_block_ctr_class *bc_impl, size_t cipher_key_len); 2282 * cipher_key_len block cipher key length (in bytes) 2286 const br_block_ctr_class *bc_impl, size_t cipher_key_len); 2312 * cipher_key_len block cipher key length (in bytes) 2318 size_t cipher_key_len, size_ [all...] |
/freebsd-13-stable/crypto/openssl/ssl/ |
H A D | ktls.c | 98 crypto_info->cipher_key_len = EVP_CIPHER_key_length(c);
|
/freebsd-13-stable/sys/dev/mlx5/mlx5_en/ |
H A D | mlx5_en_hw_tls.c | 265 if (en->cipher_key_len <= MLX5_FLD_SZ_BYTES(sw_tls_cntx, key.key_data)) { 267 en->cipher_key, en->cipher_key_len); 268 MLX5_SET(sw_tls_cntx, ctx, key.key_len, en->cipher_key_len); 335 switch (en->cipher_key_len) {
|
/freebsd-13-stable/sys/opencrypto/ |
H A D | ktls_ocf.c | 571 switch (tls->params.cipher_key_len) { 594 csp.csp_cipher_klen = tls->params.cipher_key_len; 598 switch (tls->params.cipher_key_len) { 634 csp.csp_cipher_klen = tls->params.cipher_key_len;
|
/freebsd-13-stable/tools/tools/crypto/ |
H A D | cryptocheck.c | 822 size_t cipher_key_len, const char *auth_key, size_t auth_key_len, 828 sop.keylen = cipher_key_len; 886 u_int iv_len, auth_key_len, cipher_key_len, digest_len; local 914 cipher_key_len = EVP_CIPHER_key_length(cipher); 918 cipher_key = alloc_buffer(cipher_key_len); 940 if (!ocf_init_eta_session(alg, cipher_key, cipher_key_len, auth_key, 821 ocf_init_eta_session(const struct alg *alg, const char *cipher_key, size_t cipher_key_len, const char *auth_key, size_t auth_key_len, struct ocf_session *ses) argument
|
/freebsd-13-stable/sys/dev/cxgbe/crypto/ |
H A D | t4_kern_tls.c | 262 tlsp->cipher_secret_size = tls->params.cipher_key_len; 556 switch (tls->params.cipher_key_len) { 576 switch (tls->params.cipher_key_len) { 811 memcpy(key, tls->params.cipher_key, tls->params.cipher_key_len); 815 tls->params.cipher_key_len, 816 (char *)key + tls->params.cipher_key_len); 820 (char *)key + tls->params.cipher_key_len);
|
/freebsd-13-stable/sys/dev/cxgbe/tom/ |
H A D | t4_tls.c | 909 k_ctx->cipher_secret_size = tls->params.cipher_key_len; 916 memcpy(key, tls->params.cipher_key, tls->params.cipher_key_len); 917 hash = key + tls->params.cipher_key_len; 931 tls->params.cipher_key_len, hash); 996 switch (tls->params.cipher_key_len) { 1020 switch (tls->params.cipher_key_len) {
|
/freebsd-13-stable/sys/netinet/ |
H A D | tcp_usrreq.c | 1904 tls->cipher_key_len = tls_v0.cipher_key_len;
|