Home
last modified time | relevance | path

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

/optee_os/core/lib/libtomcrypt/src/ciphers/
A Didea.c80 ushort16 *d_key = skey->idea.dk; in _setup_key() local
93 d_key[i*6+0] = _mul_inv(e_key[(LTC_IDEA_ROUNDS-i)*6+0]); in _setup_key()
94 d_key[i*6+1] = _add_inv(e_key[(LTC_IDEA_ROUNDS-i)*6+1+(i>0 ? 1 : 0)]); in _setup_key()
95 d_key[i*6+2] = _add_inv(e_key[(LTC_IDEA_ROUNDS-i)*6+2-(i>0 ? 1 : 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