Home
last modified time | relevance | path

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

/optee_os/core/lib/libtomcrypt/src/ciphers/safer/
A Dsafer.c93 #define EXP(x) safer_ebox[(x) & 0xFF] macro
274 a = EXP(a) + *++key; b = LOG(b) ^ *++key; in _safer_ecb_encrypt()
275 c = LOG(c) ^ *++key; d = EXP(d) + *++key; in _safer_ecb_encrypt()
276 e = EXP(e) + *++key; f = LOG(f) ^ *++key; in _safer_ecb_encrypt()
277 g = LOG(g) ^ *++key; h = EXP(h) + *++key; in _safer_ecb_encrypt()
335 h = LOG(h) ^ *--key; g = EXP(g) - *--key; in _safer_ecb_decrypt()
336 f = EXP(f) - *--key; e = LOG(e) ^ *--key; in _safer_ecb_decrypt()
337 d = LOG(d) ^ *--key; c = EXP(c) - *--key; in _safer_ecb_decrypt()
338 b = EXP(b) - *--key; a = LOG(a) ^ *--key; in _safer_ecb_decrypt()

Completed in 3 milliseconds