Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/sys/
H A Dlofi.h231 extern const char lofi_crypto_magic[6];
/illumos-gate/usr/src/cmd/lofiadm/
H A Dmain.c160 const char lofi_crypto_magic[6] = LOFI_CRYPTO_MAGIC; variable
1848 char buf[sizeof (lofi_crypto_magic)]; in check_file_is_encrypted()
1850 int rest = sizeof (lofi_crypto_magic); in check_file_is_encrypted()
1861 got = read(fd, buf + sizeof (lofi_crypto_magic) - rest, rest); in check_file_is_encrypted()
1875 return (strncmp(buf, lofi_crypto_magic, in check_file_is_encrypted()
1876 sizeof (lofi_crypto_magic)) == 0); in check_file_is_encrypted()
/illumos-gate/usr/src/uts/common/io/
H A Dlofi.c219 const char lofi_crypto_magic[6] = LOFI_CRYPTO_MAGIC; variable
2689 if (strncmp(buf, lofi_crypto_magic, sizeof (lofi_crypto_magic)) == 0) { in lofi_init_crypto()
2740 bcopy(lofi_crypto_magic, marker, sizeof (lofi_crypto_magic)); in lofi_init_crypto()
2741 marker += sizeof (lofi_crypto_magic); in lofi_init_crypto()
2756 bcopy(lofi_crypto_magic, lsp->ls_crypto.magic, in lofi_init_crypto()
2757 sizeof (lofi_crypto_magic)); in lofi_init_crypto()