Home | History | Annotate | Download | only in crypto

Lines Matching refs:pad

20 static void dbl(u8 *pad)
24 carry = pad[0] & 0x80;
26 pad[i] = (pad[i] << 1) | (pad[i + 1] >> 7);
27 pad[AES_BLOCK_SIZE - 1] <<= 1;
29 pad[AES_BLOCK_SIZE - 1] ^= 0x87;
54 static void pad_block(u8 *pad, const u8 *addr, size_t len)
56 os_memset(pad, 0, AES_BLOCK_SIZE);
57 os_memcpy(pad, addr, len);
60 pad[len] = 0x80;