Are these 1x1x5 and 1x2x5 bricks LEGO? I bought a bulk box of LEGO and about 10% were mega blocks. I am unsure of these pieces. They seem to match in color.
These are the Blocked Open Stud variants of

Part # 2453a : Brick 1 x 1 x 5 - Blocked Open Stud or Hollow Stud



and 

Part # 2454 : Brick 1 x 2 x 5 - Blocked Open Studs or Hollow Studs