Federal prosecutors charged two computer programmers that worked for Bernard L. Madoff Investment Securities with aiding in the cover-up of a massive Ponzi scheme.

The SEC also filed a separate civil complaint against the two defendants — Jerome O’ Hara, 46, of Malverne, N.Y., and George Perez, 43, of East Brunswick, N.J.