Calculate HMAC in OTA Setting Messages that used OTA PIN

Calculate HMAC in OTA Setting Messages that used OTA PIN SearchSearch
Author Message
Json Smith
New member
Username: Json

Post Number: 1
Registered: 07-2019
Posted on Wednesday, July 03, 2019 - 07:07 am:   

Hi everybody
In order to send messages that contain OTA Settings (WBXML Messages), to secure the message you can set the pin (userpin, networkpin). This message security section is called HMAC and Must use the following formula (as far as I know):
HMAC (M = HMAC-SHA-1(K, A))
I tried to calculate the HMAC of my message using this formula. I have already prepared my binary message (WBXML is considered as Data) and for example, I used the 1234 for userpin as the Key.
But my computing output is not equal to the output calculated by the Nowsms Application.
Does anyone know how to calculate the HMAC in OTA Setting Messages by using pin code (userpin, networkpin)?

Thank you in advance.
Json Smith
New member
Username: Json

Post Number: 2
Registered: 07-2019
Posted on Monday, July 08, 2019 - 06:29 am:   

Is there anyone who guide me about this issue?

Thank you in advance.