Home | History | Annotate | Download | only in crypto

Lines Matching refs:pad

16 static void gf_mulx(u8 *pad)
20 carry = pad[0] & 0x80;
22 pad[i] = (pad[i] << 1) | (pad[i + 1] >> 7);
23 pad[AES_BLOCK_SIZE - 1] <<= 1;
25 pad[AES_BLOCK_SIZE - 1] ^= 0x87;
47 u8 cbc[AES_BLOCK_SIZE], pad[AES_BLOCK_SIZE];
89 os_memset(pad, 0, AES_BLOCK_SIZE);
90 aes_encrypt(ctx, pad, pad);
91 gf_mulx(pad);
109 gf_mulx(pad);
113 pad[i] ^= cbc[i];
114 aes_encrypt(ctx, pad, mac);