Laurence Lundblade
Laurence Lundblade
like QCBORDecode_EnterArray does.
The EC key generation, important and export APIs used are slated for deprecation. The Key wrap API is also.
This merge won't happen until 2.0 is in good shape. Probably late 2022 or maybe 2023. The PR is to be able to see the diff easily.
Mini sign creates a COSE_Sign1 with the algorithm fixed at compile time. It does NOT need a CBOR encoder. A ways to go for this to be complete commercial quality,...
Has no external dependency except the hash and public key verify functions, not even dependency on QCBOR.
Right now the HPKE code calls PSA directly. This should instead go through new functions in the crypto adapter for DH and HKDF. That should also result in it working...
t_cose's convention is to use useful_buf to avoid explicit pointer math. HPKE code is not like that.