This PR extends security tests to use ByteBuffers backed by MemorySegments. Tests in the areas of Signature, Cipher, MessageDigest, and Mac are updated.
------------- Commit messages: - 8357466: Create test for Ciphers that are using ByteBuffers backed by MemorySegments Changes: https://git.openjdk.org/jdk/pull/26967/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26967&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8357466 Stats: 571 lines in 14 files changed: 260 ins; 96 del; 215 mod Patch: https://git.openjdk.org/jdk/pull/26967.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/26967/head:pull/26967 PR: https://git.openjdk.org/jdk/pull/26967