Lines Matching defs:generate
66 * along with the salt to generate that actual encryption keys via HKDF. We
170 * the more IVs we generate (which both GCM and CCM modes strictly forbid).
319 /* generate a new salt */
502 /* generate iv for wrapping the master and hmac key */
612 /* generate a fresh salt */
664 /* randomly generate the IV */
705 /* generate the hmac */
1327 zio_crypt_do_indirect_mac_checksum_impl(boolean_t generate, void *buf,
1343 if (generate) {
1355 zio_crypt_do_indirect_mac_checksum(boolean_t generate, void *buf,
1368 ret = zio_crypt_do_indirect_mac_checksum_impl(generate, buf,
1371 ASSERT(!generate);
1372 ret = zio_crypt_do_indirect_mac_checksum_impl(generate,
1380 zio_crypt_do_indirect_mac_checksum_abd(boolean_t generate, abd_t *abd,
1387 ret = zio_crypt_do_indirect_mac_checksum(generate, buf, datalen,
1932 * need to generate a temporary one from the given salt + master key.