Home
last modified time | relevance | path

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

/net/ceph/
A Dcrypto.c214 int pad_byte = AES_BLOCK_SIZE - (in_len & (AES_BLOCK_SIZE - 1)); in ceph_aes_crypt() local
215 int crypt_len = encrypt ? in_len + pad_byte : in_len; in ceph_aes_crypt()
220 memset(buf + in_len, pad_byte, pad_byte); in ceph_aes_crypt()
254 pad_byte = *(char *)(buf + in_len - 1); in ceph_aes_crypt()
255 if (pad_byte > 0 && pad_byte <= AES_BLOCK_SIZE && in ceph_aes_crypt()
256 in_len >= pad_byte) { in ceph_aes_crypt()
257 *pout_len = in_len - pad_byte; in ceph_aes_crypt()
260 __func__, pad_byte, in_len); in ceph_aes_crypt()

Completed in 3 milliseconds