Home
last modified time | relevance | path

Searched refs:ML_KEM_KEY (Results 1 – 11 of 11) sorted by relevance

/src/crypto/openssl/include/crypto/
H A Dml_kem.h195 } ML_KEM_KEY; typedef
214 ML_KEM_KEY *ossl_ml_kem_key_new(OSSL_LIB_CTX *libctx, const char *properties,
217 void ossl_ml_kem_key_reset(ML_KEM_KEY *key);
219 void ossl_ml_kem_key_free(ML_KEM_KEY *key);
224 ML_KEM_KEY *ossl_ml_kem_key_dup(const ML_KEM_KEY *key, int selection);
238 ML_KEM_KEY *key);
240 ML_KEM_KEY *key);
241 ML_KEM_KEY *ossl_ml_kem_set_seed(const uint8_t *seed, size_t seedlen,
242 ML_KEM_KEY *key);
243 __owur int ossl_ml_kem_genkey(uint8_t *pubenc, size_t publen, ML_KEM_KEY *key);
[all …]
/src/crypto/openssl/providers/implementations/encode_decode/
H A Dml_kem_codecs.h20 __owur ML_KEM_KEY *ossl_ml_kem_d2i_PUBKEY(const uint8_t *pubenc, int publen,
23 __owur ML_KEM_KEY *ossl_ml_kem_d2i_PKCS8(const uint8_t *prvenc, int prvlen,
26 __owur int ossl_ml_kem_key_to_text(BIO *out, const ML_KEM_KEY *key, int selection);
29 ossl_ml_kem_i2d_pubkey(const ML_KEM_KEY *key, unsigned char **out);
32 ossl_ml_kem_i2d_prvkey(const ML_KEM_KEY *key, unsigned char **out,
H A Dml_kem_codecs.c234 ML_KEM_KEY *
242 ML_KEM_KEY *ret; in ossl_ml_kem_d2i_PUBKEY()
268 ML_KEM_KEY *
277 ML_KEM_KEY *key = NULL, *ret = NULL; in ossl_ml_kem_d2i_PKCS8()
408 int ossl_ml_kem_i2d_pubkey(const ML_KEM_KEY *key, unsigned char **out) in ossl_ml_kem_i2d_pubkey()
435 int ossl_ml_kem_i2d_prvkey(const ML_KEM_KEY *key, uint8_t **out, in ossl_ml_kem_i2d_prvkey()
558 int ossl_ml_kem_key_to_text(BIO *out, const ML_KEM_KEY *key, int selection) in ossl_ml_kem_key_to_text()
H A Ddecode_der2key.c586 ML_KEM_KEY *key; in ml_kem_d2i_PKCS8()
599 ML_KEM_KEY *key; in ml_kem_d2i_PUBKEY()
H A Dencode_key2text.c445 return ossl_ml_kem_key_to_text(out, (ML_KEM_KEY *)vkey, selection); in ml_kem_to_text()
/src/crypto/openssl/crypto/ml_kem/
H A Dml_kem.c117 EVP_MD_CTX *mdctx, const ML_KEM_KEY *key);
678 EVP_MD_CTX *mdctx, const ML_KEM_KEY *key) in prf()
689 EVP_MD_CTX *mdctx, const ML_KEM_KEY *key) in hash_h()
698 EVP_MD_CTX *mdctx, ML_KEM_KEY *key) in hash_h_pubkey()
727 EVP_MD_CTX *mdctx, const ML_KEM_KEY *key) in hash_g()
742 EVP_MD_CTX *mdctx, const ML_KEM_KEY *key) in kdf()
1306 static __owur int matrix_expand(EVP_MD_CTX *mdctx, ML_KEM_KEY *key) in matrix_expand()
1336 EVP_MD_CTX *mdctx, const ML_KEM_KEY *key) in cbd_2()
1376 EVP_MD_CTX *mdctx, const ML_KEM_KEY *key) in cbd_3()
1427 EVP_MD_CTX *mdctx, const ML_KEM_KEY *key) in gencbd_vector()
[all …]
/src/crypto/openssl/providers/implementations/keymgmt/
H A Dml_kem_kmgmt.c66 static int ml_kem_pairwise_test(const ML_KEM_KEY *key, int key_flags) in ml_kem_pairwise_test()
153 ML_KEM_KEY *ossl_prov_ml_kem_new(PROV_CTX *ctx, const char *propq, int evp_type) in ossl_prov_ml_kem_new()
155 ML_KEM_KEY *key; in ossl_prov_ml_kem_new()
191 const ML_KEM_KEY *key = vkey; in ml_kem_has()
209 const ML_KEM_KEY *key1 = vkey1; in ml_kem_match()
210 const ML_KEM_KEY *key2 = vkey2; in ml_kem_match()
224 const ML_KEM_KEY *key = vkey; in ml_kem_validate()
237 ML_KEM_KEY *key = vkey; in ml_kem_export()
343 ML_KEM_KEY *key) in check_seed()
358 static int check_prvenc(const uint8_t *prvenc, ML_KEM_KEY *key) in check_prvenc()
[all …]
/src/crypto/openssl/providers/implementations/kem/
H A Dml_kem_kem.c34 ML_KEM_KEY *key;
77 ML_KEM_KEY *key = vkey; in ml_kem_encapsulate_init()
89 ML_KEM_KEY *key = vkey; in ml_kem_decapsulate_init()
150 ML_KEM_KEY *key = ctx->key; in ml_kem_encapsulate()
228 ML_KEM_KEY *key = ctx->key; in ml_kem_decapsulate()
/src/crypto/openssl/providers/implementations/include/prov/
H A Dml_kem.h13 ML_KEM_KEY *
/src/crypto/openssl/test/
H A Dml_kem_internal_test.c105 ML_KEM_KEY *private_key = NULL; in sanity_test()
106 ML_KEM_KEY *public_key = NULL; in sanity_test()
/src/crypto/openssl/doc/designs/
H A DML-KEM.md135 All the libcrypto functions (other than **ML_KEM_KEY** allocation, which