Home
last modified time | relevance | path

Searched refs:pad_byte (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/net/ceph/
Dcrypto.c223 int pad_byte = AES_BLOCK_SIZE - (in_len & (AES_BLOCK_SIZE - 1)); in ceph_aes_crypt() local
224 int crypt_len = encrypt ? in_len + pad_byte : in_len; in ceph_aes_crypt()
229 memset(buf + in_len, pad_byte, pad_byte); in ceph_aes_crypt()
263 pad_byte = *(char *)(buf + in_len - 1); in ceph_aes_crypt()
264 if (pad_byte > 0 && pad_byte <= AES_BLOCK_SIZE && in ceph_aes_crypt()
265 in_len >= pad_byte) { in ceph_aes_crypt()
266 *pout_len = in_len - pad_byte; in ceph_aes_crypt()
269 __func__, pad_byte, in_len); in ceph_aes_crypt()
/Linux-v4.19/drivers/crypto/nx/
Dnx_csbcpb.h115 u8 pad_byte; member