Searched refs:shift_right (Results 1 – 3 of 3) sorted by relevance
42 unsigned long pbits, pbytes, i, shift_right; in ecc_sign_hash_ex() local71 shift_right = 8 - pbits % 8; in ecc_sign_hash_ex()74 ch = (in[i] << (8-shift_right)); in ecc_sign_hash_ex()75 buf[i] = buf[i] ^ (in[i] >> shift_right); in ecc_sign_hash_ex()
40 unsigned long pbits, pbytes, i, shift_right; in ecc_verify_hash_ex() local145 shift_right = 8 - pbits % 8; in ecc_verify_hash_ex()148 ch = (hash[i] << (8-shift_right)); in ecc_verify_hash_ex()149 buf[i] = buf[i] ^ (hash[i] >> shift_right); in ecc_verify_hash_ex()
43 unsigned long pbits, pbytes, i, shift_right; in ecc_recover_key() local165 shift_right = 8 - pbits % 8; in ecc_recover_key()168 ch = (hash[i] << (8-shift_right)); in ecc_recover_key()169 buf[i] = buf[i] ^ (hash[i] >> shift_right); in ecc_recover_key()
Completed in 4 milliseconds