/freebsd/crypto/openssl/crypto/evp/ |
H A D | kem.c | 24 EVP_KEM *kem = NULL; in evp_kem_init() local 86 EVP_KEM_free(kem); in evp_kem_init() 91 kem = EVP_KEM_fetch(ctx->libctx, supported_kem, ctx->propquery); in evp_kem_init() 92 if (kem != NULL) in evp_kem_init() 93 tmp_prov = EVP_KEM_get0_provider(kem); in evp_kem_init() 97 kem = evp_kem_fetch_from_prov((OSSL_PROVIDER *)tmp_prov, in evp_kem_init() 100 if (kem == NULL) { in evp_kem_init() 107 if (kem == NULL) in evp_kem_init() 132 EVP_KEM_free(kem); in evp_kem_init() 137 ctx->op.encap.kem = kem; in evp_kem_init() [all …]
|
H A D | pmeth_lib.c | 393 if (ctx->op.encap.algctx != NULL && ctx->op.encap.kem != NULL) in evp_pkey_ctx_free_old_ops() 394 ctx->op.encap.kem->freectx(ctx->op.encap.algctx); in evp_pkey_ctx_free_old_ops() 395 EVP_KEM_free(ctx->op.encap.kem); in evp_pkey_ctx_free_old_ops() 397 ctx->op.encap.kem = NULL; in evp_pkey_ctx_free_old_ops() 568 if (pctx->op.encap.kem != NULL) { in EVP_PKEY_CTX_dup() 569 rctx->op.encap.kem = pctx->op.encap.kem; in EVP_PKEY_CTX_dup() 570 if (!EVP_KEM_up_ref(rctx->op.encap.kem)) in EVP_PKEY_CTX_dup() 574 if (!ossl_assert(pctx->op.encap.kem != NULL)) in EVP_PKEY_CTX_dup() 577 if (pctx->op.encap.kem->dupctx != NULL) in EVP_PKEY_CTX_dup() 579 = pctx->op.encap.kem->dupctx(pctx->op.encap.algctx); in EVP_PKEY_CTX_dup() [all …]
|
H A D | build.info | 5 evp_rand.c asymcipher.c kem.c dh_support.c ec_support.c pmeth_check.c
|
/freebsd/crypto/openssl/doc/man3/ |
H A D | EVP_KEM_free.pod | 17 void EVP_KEM_free(EVP_KEM *kem); 18 int EVP_KEM_up_ref(EVP_KEM *kem); 19 const char *EVP_KEM_get0_name(const EVP_KEM *kem); 20 int EVP_KEM_is_a(const EVP_KEM *kem, const char *name); 21 OSSL_PROVIDER *EVP_KEM_get0_provider(const EVP_KEM *kem); 23 void (*fn)(EVP_KEM *kem, void *arg), void *arg); 24 int EVP_KEM_names_do_all(const EVP_KEM *kem, 26 const char *EVP_KEM_get0_description(const EVP_KEM *kem); 27 const OSSL_PARAM *EVP_KEM_gettable_ctx_params(const EVP_KEM *kem); 28 const OSSL_PARAM *EVP_KEM_settable_ctx_params(const EVP_KEM *kem); [all …]
|
H A D | EVP_PKEY_CTX_ctrl.pod | 638 kem operation. RSA is the only key type that supports encapsulation currently,
|
/freebsd/crypto/openssl/doc/man7/ |
H A D | provider-kem.pod | 5 provider-kem - The kem library E<lt>-E<gt> provider functions 47 The asymmetric kem (OSSL_OP_KEM) operation enables providers to 48 implement asymmetric kem algorithms and make them available to applications 86 An asymmetric kem algorithm implementation may not implement all of these 98 An asymmetric kem algorithm must also implement some mechanism for generating, 105 structure for holding context information during an asymmetric kem operation. 107 asymmetric kem operation function calls. 112 kem context in the I<ctx> parameter. 115 OSSL_FUNC_kem_dupctx() should duplicate the provider side asymmetric kem 121 encapsulation given a provider side asymmetric kem context in the I<ctx> [all …]
|
H A D | provider.pod | 164 The functions the provider can offer are described in L<provider-kem(7)>.
|
H A D | provider-base.pod | 573 =item "tls-group-is-kem" (B<OSSL_CAPABILITY_TLS_GROUP_IS_KEM>) <unsigned integer> 591 described in L<provider-kem(7)>.
|
/freebsd/crypto/openssl/providers/implementations/ |
H A D | build.info | 2 encode_decode storemgmt kem
|
/freebsd/crypto/openssl/doc/internal/man3/ |
H A D | evp_md_get_number.pod | 18 int evp_kem_get_number(const EVP_KEM *kem); 53 Returns the internal dynamic number assigned to I<kem>.
|
/freebsd/crypto/openssl/doc/man1/ |
H A D | openssl-list.pod.in | 33 [B<-kem-algorithms>] 139 The options B<key-exchange-algorithms>, B<kem-algorithms>, 154 =item B<-kem-algorithms>
|
/freebsd/crypto/openssh/ |
H A D | mlkem768.sh | 61 */libcrux-ml-kem/cg/eurydice_glue.h)
|
/freebsd/crypto/openssl/apps/ |
H A D | list.c | 57 IS_FETCHABLE(kem, EVP_KEM) in IS_FETCHABLE() 758 static void collect_kem(EVP_KEM *kem, void *stack) in collect_kem() argument 762 if (is_kem_fetchable(kem) in collect_kem() 763 && sk_EVP_KEM_push(kem_stack, kem) > 0) in collect_kem() 764 EVP_KEM_up_ref(kem); in collect_kem() 1494 {"kem-algorithms", OPT_KEM_ALGORITHMS, '-',
|
/freebsd/contrib/wpa/src/crypto/ |
H A D | crypto_openssl.c | 4731 static size_t hpke_suite_id(struct hpke_context *ctx, bool kem, u8 *suite_id) in hpke_suite_id() argument 4735 if (kem) { in hpke_suite_id() 4750 static int hpke_labeled_extract(struct hpke_context *ctx, bool kem, in hpke_labeled_extract() argument 4758 unsigned int mdlen = kem ? ctx->kem_n_h : ctx->n_h; in hpke_labeled_extract() 4776 suite_id_len = hpke_suite_id(ctx, kem, suite_id); in hpke_labeled_extract() 4788 (char *) EVP_MD_get0_name(kem ? ctx->kem_h : ctx->kdf_h), 0); in hpke_labeled_extract() 4817 res = HMAC_Init_ex(hctx, salt, salt_len, kem ? ctx->kem_h : ctx->kdf_h, in hpke_labeled_extract() 4837 hpke_labeled_expand(struct hpke_context *ctx, bool kem, const u8 *prk, in hpke_labeled_expand() argument 4864 suite_id_len = hpke_suite_id(ctx, kem, suite_id); in hpke_labeled_expand() 4889 (char *) EVP_MD_get0_name(kem ? ctx->kem_h : ctx->kdf_h), 0); in hpke_labeled_expand() [all …]
|
/freebsd/secure/lib/libcrypto/man/man7/ |
H A D | Makefile | 115 MAN+= provider-kem.7
|
/freebsd/crypto/openssl/providers/ |
H A D | fips.module.sources | 205 crypto/evp/kem.c 569 providers/implementations/kem/rsa_kem.c
|
H A D | fips-sources.checksums | 205 5179624b8e03615dc9caedc9ec16d094fa081495613dd552d71c2c39475bcd83 crypto/evp/kem.c 569 58acb0ff36bf7e463ba714b347b714eccab9fda77c4ca6bacc3a55e6d2ce5ad9 providers/implementations/kem/rsa…
|
/freebsd/secure/lib/libcrypto/ |
H A D | Makefile | 259 SRCS+= evp_pkey.c evp_rand.c evp_utils.c exchange.c kdf_lib.c kdf_meth.c kem.c keymgmt_lib.c keymgm… 711 ${LCRYPTO_SRC}/providers/implementations/kem \
|
/freebsd/crypto/openssl/include/crypto/ |
H A D | evp.h | 76 EVP_KEM *kem; member
|
/freebsd/crypto/openssl/include/openssl/ |
H A D | 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);
|
/freebsd/crypto/openssl/doc/ |
H A D | build.info | 4596 DEPEND[html/man7/provider-kem.html]=man7/provider-kem.pod 4597 GENERATE[html/man7/provider-kem.html]=man7/provider-kem.pod 4598 DEPEND[man/man7/provider-kem.7]=man7/provider-kem.pod 4599 GENERATE[man/man7/provider-kem.7]=man7/provider-kem.pod 4764 html/man7/provider-kem.html \ 4890 man/man7/provider-kem.7 \
|