Efficient and Private Computations with Code-Based Masking