Home
last modified time | relevance | path

Searched refs:kem (Results 1 – 25 of 25) sorted by relevance

/openssl/crypto/evp/
H A Dkem.c24 EVP_KEM *kem = NULL; in evp_kem_init() local
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()
278 if (kem == NULL) in evp_kem_new()
288 return kem; in evp_kem_new()
415 return kem; in evp_kem_from_algorithm()
425 if (kem == NULL) in EVP_KEM_free()
470 return kem != NULL && evp_is_a(kem->prov, kem->name_id, NULL, name); in EVP_KEM_is_a()
503 return evp_names_do_all(kem->prov, kem->name_id, fn, data); in EVP_KEM_names_do_all()
512 if (kem == NULL || kem->gettable_ctx_params == NULL) in EVP_KEM_gettable_ctx_params()
[all …]
H A Dpmeth_lib.c371 EVP_KEM_free(ctx->op.encap.kem); in evp_pkey_ctx_free_old_ops()
373 ctx->op.encap.kem = NULL; in evp_pkey_ctx_free_old_ops()
542 if (pctx->op.encap.kem != NULL) { in EVP_PKEY_CTX_dup()
543 rctx->op.encap.kem = pctx->op.encap.kem; in EVP_PKEY_CTX_dup()
556 EVP_KEM_free(rctx->op.encap.kem); in EVP_PKEY_CTX_dup()
557 rctx->op.encap.kem = NULL; in EVP_PKEY_CTX_dup()
692 && ctx->op.encap.kem != NULL in EVP_PKEY_CTX_set_params()
730 && ctx->op.encap.kem != NULL in EVP_PKEY_CTX_get_params()
780 && ctx->op.encap.kem != NULL in EVP_PKEY_CTX_gettable_params()
831 && ctx->op.encap.kem != NULL in EVP_PKEY_CTX_settable_params()
[all …]
H A Dbuild.info5 evp_rand.c asymcipher.c kem.c dh_support.c ec_support.c pmeth_check.c
/openssl/doc/man3/
H A DEVP_KEM_free.pod17 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);
24 int EVP_KEM_names_do_all(const EVP_KEM *kem,
26 const char *EVP_KEM_get0_description(const EVP_KEM *kem);
48 EVP_KEM_is_a() returns 1 if I<kem> is an implementation of an
59 implementation for the given I<kem>. Note that the I<kem> may have
62 by the I<kem> object and should not be freed by the caller.
[all …]
H A DEVP_PKEY_CTX_ctrl.pod654 EVP_PKEY_encapsulate_init() or EVP_PKEY_decapsulate_init() to select the kem
/openssl/doc/man7/
H A Dprovider-kem.pod5 provider-kem - The kem library E<lt>-E<gt> provider functions
53 The asymmetric kem (OSSL_OP_KEM) operation enables providers to
54 implement asymmetric kem algorithms and make them available to applications
94 An asymmetric kem algorithm implementation may not implement all of these
117 asymmetric kem operation function calls.
122 kem context in the I<ctx> parameter.
125 OSSL_FUNC_kem_dupctx() should duplicate the provider side asymmetric kem
131 encapsulation given a provider side asymmetric kem context in the I<ctx>
145 A previously initialised asymmetric kem context is passed in the I<ctx>
173 A previously initialised asymmetric kem context is passed in the I<ctx>
[all …]
H A DEVP_KEM-EC.pod28 recipient public key. A HKDF operation using the keymaterial and a kem context
34 See L<https://www.rfc-editor.org/rfc/rfc9180.html#name-dh-based-kem-dhkem>
H A DEVP_KEM-X25519.pod29 supplied recipient public key. A HKDF operation using the keymaterial and a kem
35 See L<https://www.rfc-editor.org/rfc/rfc9180.html#name-dh-based-kem-dhkem>
H A DEVP_KEM-RSA.pod38 These parameters are described in L<provider-kem(7)>.
H A Dprovider.pod164 The functions the provider can offer are described in L<provider-kem(7)>.
H A Dprovider-base.pod606 =item "tls-group-is-kem" (B<OSSL_CAPABILITY_TLS_GROUP_IS_KEM>) <unsigned integer>
624 described in L<provider-kem(7)>.
/openssl/providers/implementations/
H A Dbuild.info2 encode_decode storemgmt kem
/openssl/doc/internal/man3/
H A Devp_md_get_number.pod18 int evp_kem_get_number(const EVP_KEM *kem);
53 Returns the internal dynamic number assigned to I<kem>.
/openssl/crypto/hpke/
H A Dhpke_util.c453 uint16_t kem = 0, kdf = 0, aead = 0; in ossl_hpke_str2suite() local
500 && (kem = synonyms_name2id(st, kemstrtab, in ossl_hpke_str2suite()
520 suite->kem_id = kem; in ossl_hpke_str2suite()
/openssl/doc/man1/
H A Dopenssl-list.pod.in34 [B<-kem-algorithms>]
175 The options B<key-exchange-algorithms>, B<kem-algorithms>,
190 =item B<-kem-algorithms>
H A Dopenssl-speed.pod.in19 [B<-kem-algorithms>]
103 =item B<-kem-algorithms>
/openssl/apps/
H A Dlist.c60 IS_FETCHABLE(kem, EVP_KEM) in IS_FETCHABLE()
808 static void collect_kem(EVP_KEM *kem, void *stack) in collect_kem() argument
812 if (is_kem_fetchable(kem) in collect_kem()
813 && sk_EVP_KEM_push(kem_stack, kem) > 0) in collect_kem()
814 EVP_KEM_up_ref(kem); in collect_kem()
H A Dspeed.c114 int kem; member
1804 IS_FETCHABLE(kem, EVP_KEM) in IS_FETCHABLE()
1815 static void collect_kem(EVP_KEM *kem, void *stack) in collect_kem() argument
1819 if (is_kem_fetchable(kem) in collect_kem()
1820 && sk_EVP_KEM_push(kem_stack, kem) > 0) { in collect_kem()
1821 EVP_KEM_up_ref(kem); in collect_kem()
2211 EVP_KEM *kem = sk_EVP_KEM_value(kem_stack, idx); in speed_main() local
2213 if (strcmp(EVP_KEM_get0_name(kem), "RSA") == 0) { in speed_main()
2223 } else if (strcmp(EVP_KEM_get0_name(kem), "EC") == 0) { in speed_main()
4200 kskey_print_message(kem_name, "keygen", seconds.kem); in speed_main()
[all …]
/openssl/doc/designs/
H A Dpassing-algorithmidentifier-parameters.md57 - `doc/man7/provider-kem.pod`
/openssl/fuzz/
H A Dprovider.c53 DEFINE_ALGORITHMS(kem, EVP_KEM)
/openssl/providers/
H A Dfips.module.sources216 crypto/evp/kem.c
639 providers/implementations/kem/rsa_kem.c
H A Dfips-sources.checksums216 c67d90f42c4d2294ecd103bdb02296a13248ead4aebadc3aead0cb964e171d81 crypto/evp/kem.c
639 104ef22f0f522fd8be08e6d5c0df3d36f3da77e23754a5a3181aed62e8fe8e8e providers/implementations/kem/rsa…
/openssl/include/crypto/
H A Devp.h86 EVP_KEM *kem; member
/openssl/include/openssl/
H A Devp.h1928 const OSSL_PARAM *EVP_KEM_gettable_ctx_params(const EVP_KEM *kem);
1929 const OSSL_PARAM *EVP_KEM_settable_ctx_params(const EVP_KEM *kem);
/openssl/doc/
H A Dbuild.info5020 DEPEND[html/man7/provider-kem.html]=man7/provider-kem.pod
5021 GENERATE[html/man7/provider-kem.html]=man7/provider-kem.pod
5022 DEPEND[man/man7/provider-kem.7]=man7/provider-kem.pod
5023 GENERATE[man/man7/provider-kem.7]=man7/provider-kem.pod
5206 html/man7/provider-kem.html \
5353 man/man7/provider-kem.7 \

Completed in 167 milliseconds