commit | 237d7b23c75fab04a28bb07e090b3d66dd85cb37 | [log] [tgz] |
---|---|---|
author | Laurence Lundblade <lgl@securitytheory.com> | Tue Jun 11 09:18:08 2019 -0700 |
committer | Tamas Ban <tamas.ban@arm.com> | Mon Jun 24 20:53:50 2019 +0000 |
tree | c2fb3388ae5d0eea60b81a216ee91d1ee1b03a8c | |
parent | 852a33c5f300bd9983f21d7d05f6c10335f3d65a [diff] |
COSE: skip sig alg call when computing token size The pub key signing algorithm (e.g. ECDSA) is not called when calculating the size of a signed COSE message (e.g. the size of an attestation token). This optimization avoid to call the unnecessary but CPU cycle intenziv signing operation. Change-Id: Ie474c97b82ee1ad0843fead319f95017918f8af2 Signed-off-by: Laurence Lundblade <lgl@securitytheory.com>