From what I can see, A128CBC-HS256 requires a key length of 256 bits —perhaps slightly unintuitive given that AES128 uses 128-bit keys.
Before I update this, I am not sure if, a) I am correct and, b) there is no impact on the OP ?
I’ve made this change to the algorithm keysize
Which would follow on to the others as well e.g. A256CBC-HS512
So I still think the Algorithm Descriptor will need to return 256 as the key length.
Ah right, it is doing 128 bit AES encryption, but also creating a 256-bit MAC. Hence the key size needs to be 256 bits.
From what I can see, A128CBC-HS256 requires a key length of 256 bits —perhaps slightly unintuitive given that AES128 uses 128-bit keys.
Before I update this, I am not sure if, a) I am correct and, b) there is no impact on the OP ?