How to get Encrypt and KeyCreate to work? ATAES132A

Go To Last Post
2 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi, 

I'm a newbie to ATAES132A. I've set key0 config to 0b01101001, 0b10010000, 1, 0b00000001 and key 1 config to 0b01101001, 0b10010000, 2, 0b00000001.

Then I ran a nonce command and success was returned.

However, when I ran either a KeyCreate or Encrypt, I kept getting NonceError (0x20) as return code. 

Here are my parameters for KeyCreate : 

                    aes132m_execute(AES132_KEY_CREATE,0b00000011,0,0,0,NULL,0,NULL,0,NULL,0,NULL,(uint8_t*)TxBuff,(uint8_t*)RxBuff);.

Theses are the parameters I used for encrypt : 

                    aes132m_execute(AES132_ENCRYPT,0b00000000,0,32,32,(uint8_t*)PlainText,0,NULL,0,NULL,0,NULL,(uint8_t*)TxBuff,(uint8_t*)RxBuff);   

Please help, thanks in anticipation.

This topic has a solution.
Last Edited: Thu. Sep 28, 2017 - 03:11 AM
This reply has been marked as the solution. 
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi, my bad, it was a timing issue.