Home
last modified time | relevance | path

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

/src/crypto/openssl/test/
H A Dml_kem_evp_extra_test.c104 unsigned char *wrpkey = NULL, *agenkey = NULL, *bgenkey = NULL; in test_ml_kem() local
154 wrpkey = OPENSSL_zalloc(wrpkeylen); in test_ml_kem()
156 if (!TEST_ptr(wrpkey) || !TEST_ptr(bgenkey)) in test_ml_kem()
159 if (!TEST_int_gt(EVP_PKEY_encapsulate(ctx, wrpkey, &wrpkeylen, bgenkey, in test_ml_kem()
174 if (!TEST_int_gt(EVP_PKEY_decapsulate(ctx, NULL, &agenkeylen, wrpkey, in test_ml_kem()
186 if (!TEST_int_gt(EVP_PKEY_decapsulate(ctx, agenkey, &agenkeylen, wrpkey, in test_ml_kem()
208 OPENSSL_free(wrpkey); in test_ml_kem()
241 unsigned char *wrpkey = NULL, *agenkey = NULL, *bgenkey = NULL; in test_non_derandomised_ml_kem() local
311 wrpkey = OPENSSL_zalloc(wrpkeylen); in test_non_derandomised_ml_kem()
313 if (!TEST_ptr(wrpkey) || !TEST_ptr(bgenkey)) in test_non_derandomised_ml_kem()
[all …]