Home
last modified time | relevance | path

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

/openbmc/u-boot/include/
H A Duboot_aes.h27 AES_ROUNDS = 10, /* rounds in encryption */ enumerator
30 AES_EXPAND_KEY_LENGTH = 4 * AES_STATECOLS * (AES_ROUNDS + 1),
/openbmc/u-boot/lib/
H A Daes.c519 for (idx = AES_KEYCOLS; idx < AES_STATECOLS * (AES_ROUNDS + 1); idx++) { in aes_expand_key()
553 for (round = 1; round < AES_ROUNDS + 1; round++) { in aes_encrypt()
554 if (round < AES_ROUNDS) in aes_encrypt()
574 (u32 *)expkey + AES_ROUNDS * AES_STATECOLS); in aes_decrypt()
577 for (round = AES_ROUNDS; round--; ) { in aes_decrypt()