Home
last modified time | relevance | path

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

/optee_os/core/lib/libtomcrypt/src/ciphers/
A Didea.c79 ushort16 *e_key = skey->idea.ek; in _setup_key() local
84 _LOAD16(e_key[i], key + 2 * i); in _setup_key()
88 e_key[i] = _LOW16((e_key[j+(i+1)%8] << 9) | (e_key[j+(i+2)%8] >> 7)); in _setup_key()
93 d_key[i*6+0] = _mul_inv(e_key[(LTC_IDEA_ROUNDS-i)*6+0]); in _setup_key()
96 d_key[i*6+3] = _mul_inv(e_key[(LTC_IDEA_ROUNDS-i)*6+3]); in _setup_key()
97 d_key[i*6+4] = e_key[(LTC_IDEA_ROUNDS-1-i)*6+4]; in _setup_key()
98 d_key[i*6+5] = e_key[(LTC_IDEA_ROUNDS-1-i)*6+5]; in _setup_key()
100 d_key[i*6+0] = _mul_inv(e_key[(LTC_IDEA_ROUNDS-i)*6+0]); in _setup_key()
101 d_key[i*6+1] = _add_inv(e_key[(LTC_IDEA_ROUNDS-i)*6+1]); in _setup_key()
102 d_key[i*6+2] = _add_inv(e_key[(LTC_IDEA_ROUNDS-i)*6+2]); in _setup_key()
[all …]

Completed in 4 milliseconds