| /src/crypto/external/apache2/openssl/dist/crypto/evp/ |
| kem.c | 159 ctx->op.encap.kem = kem; 160 ctx->op.encap.algctx = kem->newctx(ossl_provider_ctx(kem->prov)); 161 if (ctx->op.encap.algctx == NULL) { 170 ret = kem->auth_encapsulate_init(ctx->op.encap.algctx, provkey, 173 ret = kem->encapsulate_init(ctx->op.encap.algctx, provkey, params); 182 ret = kem->auth_decapsulate_init(ctx->op.encap.algctx, provkey, 185 ret = kem->decapsulate_init(ctx->op.encap.algctx, provkey, params); 236 if (ctx->op.encap.algctx == NULL) { 244 return ctx->op.encap.kem->encapsulate(ctx->op.encap.algctx [all...] |
| pmeth_lib.c | 152 && ctx->op.encap.algctx != NULL)) 373 if (ctx->op.encap.algctx != NULL && ctx->op.encap.kem != NULL) 374 ctx->op.encap.kem->freectx(ctx->op.encap.algctx); 375 EVP_KEM_free(ctx->op.encap.kem); 376 ctx->op.encap.algctx = NULL; 377 ctx->op.encap.kem = NULL; 552 if (pctx->op.encap.kem != NULL) { 553 rctx->op.encap.kem = pctx->op.encap.kem [all...] |
| ctrl_params_translate.c | 437 && ctx->pctx->op.encap.algctx == NULL)
|
| /src/crypto/external/bsd/openssl/dist/crypto/evp/ |
| kem.c | 137 ctx->op.encap.kem = kem; 138 ctx->op.encap.algctx = kem->newctx(ossl_provider_ctx(kem->prov)); 139 if (ctx->op.encap.algctx == NULL) { 152 ret = kem->encapsulate_init(ctx->op.encap.algctx, provkey, params); 160 ret = kem->decapsulate_init(ctx->op.encap.algctx, provkey, params); 198 if (ctx->op.encap.algctx == NULL) { 206 return ctx->op.encap.kem->encapsulate(ctx->op.encap.algctx, 229 if (ctx->op.encap.algctx == NULL) { 233 return ctx->op.encap.kem->decapsulate(ctx->op.encap.algctx [all...] |
| pmeth_lib.c | 174 && ctx->op.encap.algctx != NULL)) 393 if (ctx->op.encap.algctx != NULL && ctx->op.encap.kem != NULL) 394 ctx->op.encap.kem->freectx(ctx->op.encap.algctx); 395 EVP_KEM_free(ctx->op.encap.kem); 396 ctx->op.encap.algctx = NULL; 397 ctx->op.encap.kem = NULL; 568 if (pctx->op.encap.kem != NULL) { 569 rctx->op.encap.kem = pctx->op.encap.kem [all...] |
| ctrl_params_translate.c | 426 && ctx->pctx->op.encap.algctx == NULL)
|
| /src/crypto/external/apache2/openssl/dist/test/ |
| evp_pkey_dhkem_test.c | 343 /* Check encap fails if NULL params are passed */ 405 int encap = ((tstid & 1) == 0); local 410 TEST_note("%s %s", t->curve, encap ? "Encap" : "Decap"); 417 if (encap) { 434 /* Test that not setting the auth public key fails the auth encap/decap init */ 439 int encap = ((tstid & 1) == 0); local 445 TEST_note("%s %s", t->curve, encap ? "Encap" : "Decap"); 450 if (encap) { 619 int encap = ((tstid & 1) == 0); local 669 int encap = ((tstid & 1) == 0); local [all...] |
| /src/crypto/external/apache2/openssl/dist/crypto/ml_kem/ |
| ml_kem.c | 1607 * Pre-compute the public key hash, needed for both encap and decap. 1758 static int encap(uint8_t *ctext, uint8_t secret[ML_KEM_SHARED_SECRET_BYTES], function 2232 * Data derived from the encap entropy defaults secret, and to avoid 2246 ret = encap(ctext, shared_secret, entropy, tmp, mdctx, key); \
|
| /src/crypto/external/apache2/openssl/dist/include/crypto/ |
| evp.h | 92 } encap; member in union:evp_pkey_ctx_st::__anon396
|
| /src/crypto/external/bsd/openssl/dist/include/crypto/ |
| evp.h | 82 } encap; member in union:evp_pkey_ctx_st::__anon1490
|
| /src/external/bsd/ipf/dist/ |
| HISTORY | 34 3544313 remove nat encap feature
|
| /src/crypto/external/apache2/openssl/dist/providers/fips/ |
| self_test_data.inc | 3113 * openssl pkeyutl -encap -inkey pub-ml-kem-512.pem \
|