Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzio_crypt.c253 ret = random_get_bytes(key->zk_salt, ZIO_DATA_SALT_LEN); in zio_crypt_key_init()
259 key->zk_salt, ZIO_DATA_SALT_LEN, key->zk_current_keydata, in zio_crypt_key_init()
327 bcopy(salt, key->zk_salt, ZIO_DATA_SALT_LEN); in zio_crypt_key_change_salt()
356 bcopy(key->zk_salt, salt, ZIO_DATA_SALT_LEN); in zio_crypt_key_get_salt()
618 ret = random_get_bytes(key->zk_salt, ZIO_DATA_SALT_LEN); in zio_crypt_key_unwrap()
624 key->zk_salt, ZIO_DATA_SALT_LEN, key->zk_current_keydata, in zio_crypt_key_unwrap()
1908 if (bcmp(salt, key->zk_salt, ZIO_DATA_SALT_LEN) == 0) { in zio_do_crypt_data()
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dzio_crypt.h89 uint8_t zk_salt[ZIO_DATA_SALT_LEN]; member