Searched refs:shift_right (Results 1 – 3 of 3) sorted by relevance
35 unsigned long pbits, pbytes, i, shift_right; in ecc_sign_hash_ex() local64 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()
33 unsigned long pbits, pbytes, i, shift_right; in ecc_verify_hash_ex() local139 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()
36 unsigned long pbits, pbytes, i, shift_right; in ecc_recover_key() local159 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