Are these 1x1x5 and 1x2x5 bricks LEGO?
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