Lines Matching defs:encrypted
270 * The L1ARC has a slightly different system for storing encrypted data.
271 * Raw (encrypted + possibly compressed) data has a few subtle differences from
273 * possible to decrypt encrypted data (or vice-versa) if the keys aren't loaded.
277 * performance hit. If the caller requests encrypted data, however, we must be
279 * data is stored in hdr->b_crypt_hdr.b_rabd. An encrypted header, therefore,
280 * may have both an encrypted version and a decrypted version of its data at
860 ARC_FILL_ENCRYPTED = 1 << 2, /* fill with encrypted data */
1314 * This function will return B_TRUE if the buffer is encrypted in memory.
1362 * compression is enabled or this is an encrypted block, this will be the same
1802 * be relatively low, since most objects in an encrypted objset will
1803 * be encrypted (instead of authenticated) anyway.
1846 * This function will take a header that only has raw encrypted data in
1916 * data and decrypting encrypted data into the plaintext abd.
1939 * If we only have the encrypted version of the data, but the
2006 boolean_t encrypted = (flags & ARC_FILL_ENCRYPTED) != 0;
2013 IMPLY(encrypted, HDR_ENCRYPTED(hdr));
2014 IMPLY(encrypted, ARC_BUF_ENCRYPTED(buf));
2015 IMPLY(encrypted, ARC_BUF_COMPRESSED(buf));
2016 IMPLY(encrypted, !arc_buf_is_shared(buf));
2019 * If the caller wanted encrypted data we just need to copy it from
2023 if (encrypted) {
2031 * Adjust encrypted and authenticated headers to accommodate
2065 ASSERT(!encrypted);
2182 * If this function is being called to decrypt an encrypted buffer or verify an
2695 * 1. the buffer is not encrypted
2733 const void *tag, boolean_t encrypted, boolean_t compressed,
2745 IMPLY(encrypted, compressed);
2763 * compressed. This must be overridden if the buffer is encrypted since
2764 * encrypted buffers cannot be decompressed.
2766 if (encrypted) {
2777 ASSERT0(encrypted);
3099 * If we have no more encrypted buffers and we've already
3128 * encrypted buffers, since they cannot be shared.
3408 * allocated arc_buf_t to one that is suitable for a raw encrypted write. It
3519 * This buffer will be considered encrypted even if the ot is not an
3520 * encrypted type. It will become authenticated instead in
5714 * we maintain encrypted data separately from compressed / uncompressed
5715 * data. If the user is requesting raw encrypted data and we don't have
5925 * This block is in the ghost cache or encrypted data
5949 * encrypted data we must wait until the first
6697 * Fill the hdr with data. If the buffer is encrypted we have no choice
8629 * If the data was encrypted, decrypt it now. Note that