| /src/crypto/external/apache2/openssl/dist/crypto/evp/ |
| kem.c | 34 EVP_KEM *kem = NULL; local 58 * Try to derive the supported kem from |ctx->keymgmt|. 74 * checking if kem is already there. 77 * 1. Do the normal kem fetch, using the fetching data given by 79 * 2. Do the provider specific kem fetch, from the same provider 83 * kem, and try to export |ctx->pkey| to that keymgmt (when this 99 EVP_KEM_free(kem); 104 kem = EVP_KEM_fetch(ctx->libctx, supported_kem, ctx->propquery); 105 if (kem != NULL) 106 tmp_prov = EVP_KEM_get0_provider(kem); 285 EVP_KEM *kem = OPENSSL_zalloc(sizeof(EVP_KEM)); local 305 EVP_KEM *kem = NULL; local [all...] |
| pmeth_lib.c | 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); 377 ctx->op.encap.kem = NULL; 552 if (pctx->op.encap.kem != NULL) { 553 rctx->op.encap.kem = pctx->op.encap.kem; 554 if (!EVP_KEM_up_ref(rctx->op.encap.kem)) 558 if (!ossl_assert(pctx->op.encap.kem != NULL)) 561 if (pctx->op.encap.kem->dupctx != NULL [all...] |
| /src/crypto/external/bsd/openssl/dist/crypto/evp/ |
| kem.c | 24 EVP_KEM *kem = NULL; local 45 * Try to derive the supported kem from |ctx->keymgmt|. 61 * checking if kem is already there. 64 * 1. Do the normal kem fetch, using the fetching data given by 66 * 2. Do the provider specific kem fetch, from the same provider 70 * kem, and try to export |ctx->pkey| to that keymgmt (when this 86 EVP_KEM_free(kem); 91 kem = EVP_KEM_fetch(ctx->libctx, supported_kem, ctx->propquery); 92 if (kem != NULL) 93 tmp_prov = EVP_KEM_get0_provider(kem); 239 EVP_KEM *kem = OPENSSL_zalloc(sizeof(EVP_KEM)); local 263 EVP_KEM *kem = NULL; local [all...] |
| pmeth_lib.c | 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); 397 ctx->op.encap.kem = NULL; 568 if (pctx->op.encap.kem != NULL) { 569 rctx->op.encap.kem = pctx->op.encap.kem; 570 if (!EVP_KEM_up_ref(rctx->op.encap.kem)) 574 if (!ossl_assert(pctx->op.encap.kem != NULL)) 577 if (pctx->op.encap.kem->dupctx != NULL [all...] |
| /src/crypto/external/apache2/openssl/dist/test/recipes/ |
| 15-test_ml_kem_codecs.t | 26 plan skip_all => "ML-KEM isn't supported in this build" 27 if disabled("ml-kem"); 61 '-pkeyopt', "hexseed:$seed", '-algorithm', "ml-kem-$alg", 62 '-provparam', "ml-kem.output_formats=$f"]))); 67 '-provparam', "ml-kem.input_formats=$f"]))); 69 '-provparam', "ml-kem.input_formats=$rest"]))); 98 ok(run(app(['openssl', 'genpkey', '-provparam', 'ml-kem.retain_seed=no', 99 '-algorithm', "ml-kem-$alg", '-pkeyopt', "hexseed:$seed", 104 local $ENV{'OPENSSL_CONF'} = data_file("ml-kem.cnf"); 108 '-algorithm', "ml-kem-$alg", '-pkeyopt', "hexseed:$seed" [all...] |
| /src/crypto/external/bsd/openssh/dist/ |
| mlkem768.sh | 10 libcrux/libcrux-ml-kem/cg/eurydice_glue.h 11 libcrux/libcrux-ml-kem/cg/libcrux_core.h 12 libcrux/libcrux-ml-kem/cg/libcrux_ct_ops.h 13 libcrux/libcrux-ml-kem/cg/libcrux_sha3_portable.h 14 libcrux/libcrux-ml-kem/cg/libcrux_mlkem768_portable.h 61 */libcrux-ml-kem/cg/eurydice_glue.h)
|
| /src/crypto/external/apache2/openssl/dist/crypto/hpke/ |
| hpke_util.c | 61 * See RFC9180 Section 7.1 "Table 2 KEM IDs" 155 /* Return an object containing KEM constants associated with a EC curve name */ 453 uint16_t kem = 0, kdf = 0, aead = 0; local 500 && (kem = synonyms_name2id(st, kemstrtab, 523 suite->kem_id = kem;
|
| /src/crypto/external/bsd/openssl/dist/apps/ |
| list.c | 57 IS_FETCHABLE(kem, EVP_KEM) 758 static void collect_kem(EVP_KEM *kem, void *stack) 762 if (is_kem_fetchable(kem) 763 && sk_EVP_KEM_push(kem_stack, kem) > 0) 764 EVP_KEM_up_ref(kem); 1494 {"kem-algorithms", OPT_KEM_ALGORITHMS, '-',
|
| /src/crypto/external/apache2/openssl/dist/apps/ |
| list.c | 63 IS_FETCHABLE(kem, EVP_KEM) 910 static void collect_kem(EVP_KEM *kem, void *stack) 914 if (is_kem_fetchable(kem) 915 && EVP_KEM_up_ref(kem) 916 && sk_EVP_KEM_push(kem_stack, kem) <= 0) 917 EVP_KEM_free(kem); /* up-ref successful but push to stack failed */ 1692 { "kem-algorithms", OPT_KEM_ALGORITHMS, '-',
|
| speed.c | 113 int kem; member in struct:openssl_speed_sec_st 293 { "kem-algorithms", OPT_KEM, '-', 294 "Benchmark KEM algorithms" }, 1878 IS_FETCHABLE(kem, EVP_KEM) 1889 static void collect_kem(EVP_KEM *kem, void *stack) 1893 if (is_kem_fetchable(kem) 1894 && EVP_KEM_up_ref(kem) 1895 && sk_EVP_KEM_push(kem_stack, kem) <= 0) 1896 EVP_KEM_free(kem); /* up-ref successful but push to stack failed */ 2250 = seconds.kem = seconds.sig = opt_int_arg() 2288 EVP_KEM *kem = sk_EVP_KEM_value(kem_stack, idx); local [all...] |
| /src/external/bsd/wpa/dist/src/crypto/ |
| crypto_openssl.c | 4599 /* KEM */ 4731 static size_t hpke_suite_id(struct hpke_context *ctx, bool kem, u8 *suite_id) 4735 if (kem) { 4736 os_memcpy(suite_id, "KEM", 3); 4750 static int hpke_labeled_extract(struct hpke_context *ctx, bool kem, 4758 unsigned int mdlen = kem ? ctx->kem_n_h : ctx->n_h; 4776 suite_id_len = hpke_suite_id(ctx, kem, suite_id); 4788 (char *) EVP_MD_get0_name(kem ? ctx->kem_h : ctx->kdf_h), 0); 4817 res = HMAC_Init_ex(hctx, salt, salt_len, kem ? ctx->kem_h : ctx->kdf_h, 4837 hpke_labeled_expand(struct hpke_context *ctx, bool kem, const u8 *prk [all...] |
| /src/crypto/external/apache2/openssl/dist/fuzz/ |
| provider.c | 54 DEFINE_ALGORITHMS(kem, EVP_KEM)
|
| /src/crypto/external/apache2/openssl/dist/include/crypto/ |
| evp.h | 86 EVP_KEM *kem; member in struct:evp_pkey_ctx_st::__anon396::__anon401 88 * Opaque ctx returned from a providers KEM algorithm
|
| /src/crypto/external/bsd/openssl/dist/include/crypto/ |
| evp.h | 76 EVP_KEM *kem; member in struct:evp_pkey_ctx_st::__anon1490::__anon1495 78 * Opaque ctx returned from a providers KEM algorithm
|
| /src/crypto/external/bsd/openssl/dist/include/openssl/ |
| evp.h | 1889 const OSSL_PARAM *EVP_KEM_gettable_ctx_params(const EVP_KEM *kem); 1890 const OSSL_PARAM *EVP_KEM_settable_ctx_params(const EVP_KEM *kem);
|
| /src/crypto/external/apache2/openssl/dist/providers/fips/ |
| self_test_data.inc | 3107 /*- KEM SELF TEST DATA */ 3111 * openssl genpkey -algorithm ML-KEM-512 -out priv-ml-kem-512.pem 3112 * openssl pkey -in priv-ml-kem-512.pem -pubout -out pub-ml-kem-512.pem 3113 * openssl pkeyutl -encap -inkey pub-ml-kem-512.pem \ 3116 * openssl pkeyutl -decap -inkey priv-ml-kem-512.pem \ 3118 * apps/openssl pkeyutl -decap -inkey priv-ml-kem-512.pem \ 3120 * openssl pkey -in priv-ml-kem-512.pem -text | 3470 "ML-KEM-512" [all...] |
| /src/crypto/external/apache2/openssl/dist/include/openssl/ |
| evp.h | 1976 const OSSL_PARAM *EVP_KEM_gettable_ctx_params(const EVP_KEM *kem); 1977 const OSSL_PARAM *EVP_KEM_settable_ctx_params(const EVP_KEM *kem);
|