Function _mm_encodekey256_u32

#[target_feature(enable = "kl")]
pub unsafe fn _mm_encodekey256_u32(key_params: u32, key_lo: __m128i, key_hi: __m128i, handle: *mut u8) -> u32

Wrap a 256-bit AES key into a 512-bit key handle and stores it in handle. Returns the control parameter used to create the IWKey.

Note that these restrictions need hardware support, and the supported restrictions can be found by calling __cpuid(0x19) and checking the EAX[0:2] bits. Failing to follow these restrictions may result in a General Protection Exception.

Intel's documentation