JavacardOS will not accept order any more, please contact our partner Feitian online Store:
https://ftsafe.en.alibaba.com/index.html
https://ftsafe.en.alibaba.com/index.html
Does extended length APDU affect calculation of C-MAC
Does extended length APDU affect calculation of C-MAC
Hi! If I want to send an extended length APDU, does it affect calculation of various C-MAC?
Re: Does extended length APDU affect calculation of C-MAC
notuo wrote:Hi! If I want to send an extended length APDU, does it affect calculation of various C-MAC?
There is no effect at all. The crypto operation is the same regardless of the length of the data.
Re: Does extended length APDU affect calculation of C-MAC
Do you have a reference that specifically addresses extended length APDUs for GP?
My concern is related to the coding of Lc and the SCP01 length (L) byte for encrypted data.
For SCP01, the length of the data field prior to padding is explicitly encoded in one byte and pre-pended to the data field. LC is the data field total length including padding and CMAC, L is the length of the data field prior to padding.
My concern is related to the coding of Lc and the SCP01 length (L) byte for encrypted data.
For SCP01, the length of the data field prior to padding is explicitly encoded in one byte and pre-pended to the data field. LC is the data field total length including padding and CMAC, L is the length of the data field prior to padding.
Last edited by notuo on Wed Apr 27, 2016 4:31 am, edited 1 time in total.
Re: Does extended length APDU affect calculation of C-MAC
GP does not specify the size of Lc or Le. It says to adjust the Lc for instance but doesn't specify how big Lc is.
Who is online
Users browsing this forum: Bing [Bot] and 23 guests