@Override
    public KeyPair generateKeyPair() {
        byte[] privateKeyBytes = new byte[32];
        NativeCrypto.RAND_bytes(privateKeyBytes);
        byte[] publicKeyBytes = NativeCrypto.MLDSA65_public_key_from_seed(privateKeyBytes);

        return new KeyPair(new OpenSslMlDsaPublicKey(publicKeyBytes),
                new OpenSslMlDsaPrivateKey(privateKeyBytes));
    }
An implementation of {@link KeyPairGenerator} for ML-DSA keys which uses BoringSSL to perform all
the operations.
common/src/main/java/org/conscrypt/OpenSslMlDsaKeyPairGenerator.java