Be more precise about HMAC-BLAKE2s-256 and the key length
This commit is contained in:
parent
f6b88ee3fb
commit
2ad99b56b8
|
@ -4,8 +4,9 @@ embeddedType EntityRef.Cap .
|
||||||
; The sequence of Caveats is run RIGHT-TO-LEFT.
|
; The sequence of Caveats is run RIGHT-TO-LEFT.
|
||||||
; That is, the newest Caveats are at the right.
|
; That is, the newest Caveats are at the right.
|
||||||
;
|
;
|
||||||
; Let f = HMAC-BLAKE2s, e = canonical machine-oriented serialization of some preserves value,
|
; Let f(k,d) = HMAC-BLAKE2s-256(k,d)[0..16),
|
||||||
; and k = the original secret key for the ref.
|
; e = canonical machine-oriented serialization of some preserves value, and
|
||||||
|
; k = the original secret key for the ref.
|
||||||
;
|
;
|
||||||
; The `sig` is then f(f(f(f(k, e(oid)), ...), Caveat), ...).
|
; The `sig` is then f(f(f(f(k, e(oid)), ...), Caveat), ...).
|
||||||
;
|
;
|
||||||
|
|
Loading…
Reference in New Issue