Home
last modified time | relevance | path

Searched refs:AES_STATECOLS (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/lib/
H A Daes.c400 u8 tmp[4 * AES_STATECOLS]; in mix_sub_columns()
448 u8 tmp[4 * AES_STATECOLS]; in inv_mix_sub_columns()
491 for (i = 0; i < 4 * AES_STATECOLS; i++) in inv_mix_sub_columns()
519 for (idx = AES_KEYCOLS; idx < AES_STATECOLS * (AES_ROUNDS + 1); idx++) { in aes_expand_key()
547 u8 state[AES_STATECOLS * 4]; in aes_encrypt()
550 memcpy(state, in, AES_STATECOLS * 4); in aes_encrypt()
560 (u32 *)expkey + round * AES_STATECOLS); in aes_encrypt()
568 u8 state[AES_STATECOLS * 4]; in aes_decrypt()
574 (u32 *)expkey + AES_ROUNDS * AES_STATECOLS); in aes_decrypt()
579 (u32 *)expkey + round * AES_STATECOLS); in aes_decrypt()
/openbmc/u-boot/include/
H A Duboot_aes.h25 AES_STATECOLS = 4, /* columns in the state & expanded key */ enumerator
30 AES_EXPAND_KEY_LENGTH = 4 * AES_STATECOLS * (AES_ROUNDS + 1),