Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/ecc/
A Decc_sign_hash.c35 unsigned long pbits, pbytes, i, shift_right; in ecc_sign_hash_ex() local
64 shift_right = 8 - pbits % 8; in ecc_sign_hash_ex()
67 ch = (in[i] << (8-shift_right)); in ecc_sign_hash_ex()
68 buf[i] = buf[i] ^ (in[i] >> shift_right); in ecc_sign_hash_ex()
A Decc_verify_hash.c33 unsigned long pbits, pbytes, i, shift_right; in ecc_verify_hash_ex() local
139 shift_right = 8 - pbits % 8; in ecc_verify_hash_ex()
142 ch = (hash[i] << (8-shift_right)); in ecc_verify_hash_ex()
143 buf[i] = buf[i] ^ (hash[i] >> shift_right); in ecc_verify_hash_ex()
A Decc_recover_key.c36 unsigned long pbits, pbytes, i, shift_right; in ecc_recover_key() local
159 shift_right = 8 - pbits % 8; in ecc_recover_key()
162 ch = (hash[i] << (8-shift_right)); in ecc_recover_key()
163 buf[i] = buf[i] ^ (hash[i] >> shift_right); in ecc_recover_key()

Completed in 5 milliseconds