Searched refs:encap (Results 1 – 6 of 6) sorted by relevance
/openssl/crypto/evp/ |
H A D | kem.c | 150 ctx->op.encap.kem = kem; in evp_kem_init() 151 ctx->op.encap.algctx = kem->newctx(ossl_provider_ctx(kem->prov)); in evp_kem_init() 152 if (ctx->op.encap.algctx == NULL) { in evp_kem_init() 161 ret = kem->auth_encapsulate_init(ctx->op.encap.algctx, provkey, in evp_kem_init() 164 ret = kem->encapsulate_init(ctx->op.encap.algctx, provkey, params); in evp_kem_init() 173 ret = kem->auth_decapsulate_init(ctx->op.encap.algctx, provkey, in evp_kem_init() 176 ret = kem->decapsulate_init(ctx->op.encap.algctx, provkey, params); in evp_kem_init() 227 if (ctx->op.encap.algctx == NULL) { in EVP_PKEY_encapsulate() 235 return ctx->op.encap.kem->encapsulate(ctx->op.encap.algctx, in EVP_PKEY_encapsulate() 266 if (ctx->op.encap.algctx == NULL) { in EVP_PKEY_decapsulate() [all …]
|
H A D | pmeth_lib.c | 369 if (ctx->op.encap.algctx != NULL && ctx->op.encap.kem != NULL) in evp_pkey_ctx_free_old_ops() 370 ctx->op.encap.kem->freectx(ctx->op.encap.algctx); in evp_pkey_ctx_free_old_ops() 372 ctx->op.encap.algctx = NULL; in evp_pkey_ctx_free_old_ops() 373 ctx->op.encap.kem = NULL; in evp_pkey_ctx_free_old_ops() 543 rctx->op.encap.kem = pctx->op.encap.kem; in EVP_PKEY_CTX_dup() 553 = pctx->op.encap.kem->dupctx(pctx->op.encap.algctx); in EVP_PKEY_CTX_dup() 695 ctx->op.encap.kem->set_ctx_params(ctx->op.encap.algctx, in EVP_PKEY_CTX_set_params() 733 ctx->op.encap.kem->get_ctx_params(ctx->op.encap.algctx, in EVP_PKEY_CTX_get_params() 780 && ctx->op.encap.kem != NULL in EVP_PKEY_CTX_gettable_params() 783 return ctx->op.encap.kem->gettable_ctx_params(ctx->op.encap.algctx, in EVP_PKEY_CTX_gettable_params() [all …]
|
H A D | ctrl_params_translate.c | 426 && ctx->pctx->op.encap.algctx == NULL) in default_fixup_args()
|
/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 …]
|
/openssl/doc/man1/ |
H A D | openssl-pkeyutl.pod.in | 32 [B<-encap>] 103 Specifies the output filename to write the secret to on I<-encap>. 194 =item B<-encap> 210 This option is used for I<-encap>/I<-decap> commands and specifies the KEM
|
/openssl/include/crypto/ |
H A D | evp.h | 92 } encap; member
|
Completed in 32 milliseconds