/freebsd/crypto/openssl/crypto/evp/ |
H A D | kem.c | 160 ctx->op.encap.kem = kem; in evp_kem_init() 161 ctx->op.encap.algctx = kem->newctx(ossl_provider_ctx(kem->prov)); in evp_kem_init() 162 if (ctx->op.encap.algctx == NULL) { in evp_kem_init() 171 ret = kem->auth_encapsulate_init(ctx->op.encap.algctx, provkey, in evp_kem_init() 174 ret = kem->encapsulate_init(ctx->op.encap.algctx, provkey, params); in evp_kem_init() 183 ret = kem->auth_decapsulate_init(ctx->op.encap.algctx, provkey, in evp_kem_init() 186 ret = kem->decapsulate_init(ctx->op.encap.algctx, provkey, params); in evp_kem_init() 237 if (ctx->op.encap.algctx == NULL) { in EVP_PKEY_encapsulate() 245 return ctx->op.encap.kem->encapsulate(ctx->op.encap.algctx, in EVP_PKEY_encapsulate() 276 if (ctx->op.encap.algctx == NULL) { in EVP_PKEY_decapsulate() [all …]
|
H A D | pmeth_lib.c | 152 && ctx->op.encap.algctx != NULL)) in evp_pkey_ctx_state() 373 if (ctx->op.encap.algctx != NULL && ctx->op.encap.kem != NULL) in evp_pkey_ctx_free_old_ops() 374 ctx->op.encap.kem->freectx(ctx->op.encap.algctx); in evp_pkey_ctx_free_old_ops() 375 EVP_KEM_free(ctx->op.encap.kem); in evp_pkey_ctx_free_old_ops() 376 ctx->op.encap.algctx = NULL; in evp_pkey_ctx_free_old_ops() 377 ctx->op.encap.kem = NULL; in evp_pkey_ctx_free_old_ops() 553 if (pctx->op.encap.kem != NULL) { in EVP_PKEY_CTX_dup() 554 rctx->op.encap.kem = pctx->op.encap.kem; in EVP_PKEY_CTX_dup() 555 if (!EVP_KEM_up_ref(rctx->op.encap.kem)) in EVP_PKEY_CTX_dup() 558 if (pctx->op.encap.algctx != NULL) { in EVP_PKEY_CTX_dup() [all …]
|
H A D | ctrl_params_translate.c | 429 && ctx->pctx->op.encap.algctx == NULL) in default_fixup_args()
|
/freebsd/crypto/openssl/test/ |
H A D | evp_pkey_dhkem_test.c | 398 int encap = ((tstid & 1) == 0); in test_nopublic() local 403 TEST_note("%s %s", t->curve, encap ? "Encap" : "Decap"); in test_nopublic() 410 if (encap) { in test_nopublic() 432 int encap = ((tstid & 1) == 0); in test_noauthpublic() local 438 TEST_note("%s %s", t->curve, encap ? "Encap" : "Decap"); in test_noauthpublic() 443 if (encap) { in test_noauthpublic() 606 int encap = ((tstid & 1) == 0); in test_ec_badpublic() local 609 TEST_note("%s %s", t->curve, encap ? "Encap" : "Decap"); in test_ec_badpublic() 619 if (encap) { in test_ec_badpublic() 655 int encap = ((tstid & 1) == 0); in test_ec_badauth() local [all …]
|
/freebsd/sys/netinet/ |
H A D | in_gif.c | 379 const struct encap_config encap; member 383 .encap = { 393 .encap = { 404 .encap = { 428 &ipv4_encap_cfg[i].encap, NULL, M_WAITOK); in in_gif_init()
|
/freebsd/sys/netinet6/ |
H A D | in6_gif.c | 410 const struct encap_config encap; member 415 .encap = { 426 .encap = { 435 .encap = { 459 &ipv6_encap_cfg[i].encap, NULL, M_WAITOK); in in6_gif_init()
|
/freebsd/sys/ofed/drivers/infiniband/core/ |
H A D | ib_uverbs_std_types_flow_action.c | 223 struct ib_flow_spec_list encap; member 298 ret = flow_action_esp_get_encap(&esp_attr->encap, attrs); in parse_flow_action_esp() 302 esp_attr->hdr.encap = &esp_attr->encap; in parse_flow_action_esp()
|
/freebsd/sys/dev/mlx5/mlx5_accel/ |
H A D | mlx5_ipsec_fs.c | 182 static void setup_fte_spi(struct mlx5_flow_spec *spec, u32 spi, bool encap) in setup_fte_spi() argument 187 if (encap) { in setup_fte_spi() 400 if (attrs->encap) in setup_pkt_transport_reformat() 405 if (attrs->encap) in setup_pkt_transport_reformat() 413 if (attrs->encap) in setup_pkt_transport_reformat() 420 if (attrs->encap) { in setup_pkt_transport_reformat() 448 if (attrs->encap) in setup_pkt_reformat() 578 if (!attrs->encap) in rx_add_rule() 581 setup_fte_spi(spec, attrs->spi, attrs->encap); in rx_add_rule()
|
H A D | ipsec.h | 106 u8 encap : 1; member
|
H A D | mlx5_ipsec.c | 208 attrs->encap = true; in mlx5e_ipsec_build_accel_xfrm_attrs()
|
/freebsd/crypto/openssl/doc/man1/ |
H A D | openssl-pkeyutl.pod.in | 32 [B<-encap>] 103 via the B<-encap> option or decapsulation via the B<-decap> option. 104 The B<-encap> option also produces a separate (public) ciphertext output which 199 =item B<-encap> 246 This option is used with the I<-encap>/I<-decap> commands and specifies the KEM 655 $ openssl pkeyutl -encap -inkey mlkem768_pub.pem -pubin -out ciphertext -secret shared_secret.bin
|
/freebsd/lib/libc/net/ |
H A D | protocols | 105 encap 98 ENCAP # Yet Another IP encapsulation
|
/freebsd/crypto/heimdal/lib/gssapi/ |
H A D | ChangeLog | 1666 * arcfour.c (_gssapi_wrap_arcfour): fix calculating the encap 2184 * unwrap.c: encap/decap now takes a oid if the enctype/keytype is 2187 * verify_mic.c: encap/decap now takes a oid if the enctype/keytype 2190 * get_mic.c: encap/decap now takes a oid if the enctype/keytype is 2193 * accept_sec_context.c: encap/decap now takes a oid 2195 * init_sec_context.c: encap/decap now takes a oid 2198 OM_uint32, depend on gssapi interface add all new encap/decap 2205 * encapsulate.c: add encap functions that doesn't take the token 2206 type also make all encap function take the oid mech that they
|
/freebsd/sys/dev/sfxge/common/ |
H A D | ef10_filter.c | 969 __in boolean_t encap, in efx_mcdi_get_parser_disp_info() argument 985 MCDI_IN_SET_DWORD(req, GET_PARSER_DISP_INFO_OUT_OP, encap ? in efx_mcdi_get_parser_disp_info()
|
/freebsd/sys/dev/ice/ |
H A D | ice_flow.c | 1533 #define ICE_FLOW_GEN_PROFID(hash, hdr, encap) \ 1536 (((u64)(encap) << ICE_FLOW_PROF_ENCAP_S) & \ 1535 ICE_FLOW_GEN_PROFID(hash,hdr,encap) global() argument
|
/freebsd/crypto/openssl/crypto/ml_kem/ |
H A D | ml_kem.c | 1444 int encap(uint8_t *ctext, uint8_t secret[ML_KEM_SHARED_SECRET_BYTES], in encap() function 1935 ret = encap(ctext, shared_secret, entropy, tmp, mdctx, key); \ in ossl_ml_kem_encap_seed()
|
/freebsd/crypto/openssl/include/crypto/ |
H A D | evp.h | 92 } encap; member
|
/freebsd/sys/net/ |
H A D | if_vxlan.c | 2479 csum_flags_to_inner_flags(uint32_t csum_flags_in, const uint32_t encap) in csum_flags_to_inner_flags() 2481 uint32_t csum_flags = encap; in csum_flags_to_inner_flags() 2477 csum_flags_to_inner_flags(uint32_t csum_flags_in,const uint32_t encap) csum_flags_to_inner_flags() argument
|
/freebsd/sys/ofed/include/rdma/ |
H A D | ib_verbs.h | 1953 struct ib_flow_spec_list *encap; member
|
/freebsd/usr.sbin/cxgbetool/ |
H A D | cxgbetool.c | 1064 encap = 1; in set_filter_mode()
|
/freebsd/contrib/file/magic/Magdir/ |
H A D | animation | 143 >8 string drc1 \b, Dirac (wavelet compression), encap in ISO base media (MP4)
|
/freebsd/usr.sbin/services_mkdb/ |
H A D | services | 1792 prsvp 3455/udp rsvp-encap #RSVP Port
|
/freebsd/contrib/tcpdump/ |
H A D | CHANGES | 1710 "(encap)". Under -v, both the inner and output packets are dumped
|
/freebsd/share/doc/IPv6/ |
H A D | IMPLEMENTATION | 2116 CON: due to differences in encap/decap logic from RFC2401, it may not
|
/freebsd/crypto/openssl/providers/fips/ |
H A D | self_test_data.inc | 3088 * openssl pkeyutl -encap -inkey pub-ml-kem-512.pem \
|