Home
last modified time | relevance | path

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

/system/vold/
Dcryptfs.cpp1981 #define CRYPT_INPLACE_BUFSIZE 4096 macro
1982 #define CRYPT_SECTORS_PER_BUFSIZE (CRYPT_INPLACE_BUFSIZE / CRYPT_SECTOR_SIZE)
2321 off64_t offset = pos * CRYPT_INPLACE_BUFSIZE; in encrypt_one_block_f2fs()
2323 if (pread64(priv_dat->realfd, priv_dat->buffer, CRYPT_INPLACE_BUFSIZE, offset) <= 0) { in encrypt_one_block_f2fs()
2328 if (pwrite64(priv_dat->cryptofd, priv_dat->buffer, CRYPT_INPLACE_BUFSIZE, offset) <= 0) { in encrypt_one_block_f2fs()
2423 char *buf[CRYPT_INPLACE_BUFSIZE]; in cryptfs_enable_inplace_full()
2492 if (unix_read(realfd, buf, CRYPT_INPLACE_BUFSIZE) <= 0) { in cryptfs_enable_inplace_full()
2496 if (unix_write(cryptofd, buf, CRYPT_INPLACE_BUFSIZE) <= 0) { in cryptfs_enable_inplace_full()
2598 char block[CRYPT_INPLACE_BUFSIZE]; in cryptfs_SHA256_fileblock()