Ludwig,

> In section B.3 the length of the AAD is 848 bits, but the AAL value is
> encoded to 0x380 (which is 896), or have I missed something?

It is encoded as [0, 0, 0, 0, 0, 0, 3, 80] — an array of 8 bytes shows as 
decimal numbers.
3 * 256 + 80 = 848
The digits '80' are decimal, not hex.

Showing binary quantities as arrays of decimal numbers is awful. But I guess 
the editors like it because it is JSON :(

--
James Manger
_______________________________________________
jose mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/jose

Reply via email to