Home
last modified time | relevance | path

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

/optee_os/core/lib/libtomcrypt/src/ciphers/
A Drc2.c72 unsigned *xkey = skey->rc2.xkey; in rc2_setup_ex() local
158 const unsigned *xkey; in _rc2_ecb_encrypt() local
165 xkey = skey->rc2.xkey; in _rc2_ecb_encrypt()
186 x10 = (x10 + xkey[x76 & 63]) & 0xFFFF; in _rc2_ecb_encrypt()
187 x32 = (x32 + xkey[x10 & 63]) & 0xFFFF; in _rc2_ecb_encrypt()
188 x54 = (x54 + xkey[x32 & 63]) & 0xFFFF; in _rc2_ecb_encrypt()
189 x76 = (x76 + xkey[x54 & 63]) & 0xFFFF; in _rc2_ecb_encrypt()
237 const unsigned *xkey; in _rc2_ecb_decrypt() local
244 xkey = skey->rc2.xkey; in _rc2_ecb_decrypt()
253 x76 = (x76 - xkey[x54 & 63]) & 0xFFFF; in _rc2_ecb_decrypt()
[all …]
/optee_os/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_cipher.h97 struct rc2_key { unsigned xkey[64]; }; member

Completed in 5 milliseconds