projects
/
nmigen-gf.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
5b155b5c59bbdbe1b9531c6f49e4d087eef33cce
[nmigen-gf.git]
/
gf_reference
/
clmulr.py
1
from
.
clmul
import
clmul
2
3
4
def
clmulh
(
a
,
b
,
XLEN
):
5
return
clmul
(
a
,
b
) >> (
XLEN
-
1
)