Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/test/
H A Dml_kem_internal_test.c120 uint8_t *encoded_public_key = NULL; in sanity_test() local
146 encoded_public_key = OPENSSL_malloc(v->pubkey_bytes); in sanity_test()
148 if (encoded_public_key == NULL || ciphertext == NULL) in sanity_test()
153 if (!ossl_ml_kem_genkey(encoded_public_key, v->pubkey_bytes, in sanity_test()
163 if (!TEST_mem_eq(encoded_public_key + v->vector_bytes, in sanity_test()
171 if (!ossl_ml_kem_parse_public_key(encoded_public_key, v->pubkey_bytes, in sanity_test()
254 OPENSSL_free(encoded_public_key); in sanity_test()