]> git.proxmox.com Git - mirror_zfs.git/blobdiff - module/zfs/hkdf.c
Remove bcopy(), bzero(), bcmp()
[mirror_zfs.git] / module / zfs / hkdf.c
index 2c91401d5b4f52b9cb682e4c7d35789b9fcd676a..580544c8ac1af9f19dd8b206fbd5419f729170f8 100644 (file)
@@ -132,7 +132,7 @@ hkdf_sha512_expand(uint8_t *extract_key, uint8_t *info, uint_t info_len,
                if (ret != CRYPTO_SUCCESS)
                        return (SET_ERROR(EIO));
 
-               bcopy(T, out_buf + pos,
+               memcpy(out_buf + pos, T,
                    (i != N) ? SHA512_DIGEST_LENGTH : (out_len - pos));
                pos += SHA512_DIGEST_LENGTH;
        }