Home
last modified time | relevance | path

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

/optee_os/core/lib/libtomcrypt/src/ciphers/
A Drc5.c77 skey->rc5.rounds = num_rounds; in _rc5_setup()
78 S = skey->rc5.K; in _rc5_setup()
142 A += skey->rc5.K[0]; in _rc5_ecb_encrypt()
143 B += skey->rc5.K[1]; in _rc5_ecb_encrypt()
144 K = skey->rc5.K + 2; in _rc5_ecb_encrypt()
146 if ((skey->rc5.rounds & 1) == 0) { in _rc5_ecb_encrypt()
155 for (r = 0; r < skey->rc5.rounds; r++) { in _rc5_ecb_encrypt()
198 K = skey->rc5.K + (skey->rc5.rounds << 1); in _rc5_ecb_decrypt()
200 if ((skey->rc5.rounds & 1) == 0) { in _rc5_ecb_decrypt()
216 A -= skey->rc5.K[0]; in _rc5_ecb_decrypt()
[all …]
/optee_os/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_cipher.h193 struct rc5_key rc5; member

Completed in 5 milliseconds