modify blockcipher to hw2