You have several misconceptions about Social Security.
Benefit is based off of the average of 35 years. With no benefit incurred if you don't hit the 40 quarters of credits.
If she was military the she was paying in to a government pension plan. People that pay in to a government pension plan don't pay Social Security tax and that means that that income doesn't get counted towards income in the social Security calculation. Depending on credits earned she may not receive any Social Security, especially after the Windfall Elimination and Government Pension Offset are invoked.
http://www.ssa.gov/pubs/EN-05-10070.pdf