__vcipher, __builtin_altivec_crypto_vcipher

Purpose

Performs one round of the AES cipher operation on intermediate state state_array using a given round_key.

Prototype

vector unsigned char __builtin_altivec_crypto_vcipher (vector unsigned char state_array, vector unsigned char round_key);

vector unsigned char __vcipher (vector unsigned char state_array, vector unsigned char round_key);

Note:
  • The built-in function in the form of __name is a synonym of __builtin_altivec_crypto_name.
  • The built-in function in the form of __name is provided for compatibility with IBM® XL C/C++ for AIX® 16.1.0 or earlier releases. This built-in function might be deprecated in the future.

Parameters

state_array
The input data chunk to be encrypted or the result of a previous vcipher operation.
round_key
The 128-bit AES round key value that is used to encrypt.

Result

Returns the resulting intermediate state.