Home
last modified time | relevance | path

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

/system/vold/
DEncryptInplace.h22 #define CRYPT_INPLACE_BUFSIZE 4096 macro
DEncryptInplace.cpp47 #define CRYPT_SECTORS_PER_BUFSIZE (CRYPT_INPLACE_BUFSIZE / CRYPT_SECTOR_SIZE)
368 off64_t offset = pos * CRYPT_INPLACE_BUFSIZE; in encrypt_one_block_f2fs()
370 if (pread64(priv_dat->realfd, priv_dat->buffer, CRYPT_INPLACE_BUFSIZE, offset) <= 0) { in encrypt_one_block_f2fs()
376 if (pwrite64(priv_dat->cryptofd, priv_dat->buffer, CRYPT_INPLACE_BUFSIZE, offset) <= 0) { in encrypt_one_block_f2fs()
473 char* buf[CRYPT_INPLACE_BUFSIZE]; in cryptfs_enable_inplace_full()
541 if (unix_read(realfd, buf, CRYPT_INPLACE_BUFSIZE) <= 0) { in cryptfs_enable_inplace_full()
545 if (unix_write(cryptofd, buf, CRYPT_INPLACE_BUFSIZE) <= 0) { in cryptfs_enable_inplace_full()
Dcryptfs.cpp2063 char block[CRYPT_INPLACE_BUFSIZE]; in cryptfs_SHA256_fileblock()