Searched refs:ML_KEM_KEY (Results 1 – 11 of 11) sorted by relevance
| /src/crypto/openssl/include/crypto/ |
| H A D | ml_kem.h | 195 } 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 D | ml_kem_codecs.h | 20 __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 D | ml_kem_codecs.c | 234 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 D | decode_der2key.c | 586 ML_KEM_KEY *key; in ml_kem_d2i_PKCS8() 599 ML_KEM_KEY *key; in ml_kem_d2i_PUBKEY()
|
| H A D | encode_key2text.c | 445 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 D | ml_kem.c | 117 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 D | ml_kem_kmgmt.c | 66 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 D | ml_kem_kem.c | 34 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 D | ml_kem.h | 13 ML_KEM_KEY *
|
| /src/crypto/openssl/test/ |
| H A D | ml_kem_internal_test.c | 105 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 D | ML-KEM.md | 135 All the libcrypto functions (other than **ML_KEM_KEY** allocation, which
|