void sign (
ap_uint <H> digest,
ap_uint <N> k,
ap_uint <N>& r,
ap_uint <N>& s
)
DSA signing function.
Parameters:
digest |
Digest value of message to be signed. |
k |
A per-message secret number. |
r |
Element of signature pair. |
s |
Element of signature pair. Pair(r, s) forms a complete signature pair of DSA. |