Hi,
I'm using DA14695 and SDK 10.0.4.66 and have unsuccessfully searched for examples of the following functions being used:
hw_aes_hash_init
hw_aes_hash_cfg_aes_ecb
hw_aes_hash_store_keys
hw_aes_hash_start
Any help would be appreciated.
Thanks.
Keywords:
Device:
As a follow up to my question, this works with the expected results:
const uint8_t key[16] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
const uint8_t input[16] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
uint8_t output[16];
if (ad_crypto_acquire_aes_hash(OS_MUTEX_FOREVER) != OS_MUTEX_TAKEN) {
}
ad_crypto_enable_aes_hash_event();
hw_aes_hash_cfg_aes_ecb(HW_AES_128);
hw_aes_hash_store_keys(HW_AES_128, key, HW_AES_PERFORM_KEY_EXPANSION);
hw_aes_hash_cfg_dma(input, output, 16);
hw_aes_hash_mark_input_block_as_last();
hw_aes_hash_encrypt();
ad_crypto_wait_aes_hash_event(OS_EVENT_FOREVER, NULL);
Hi Alexedge,
An application example could be referred as well:
//www.xmece.com/sites/default/files/da1469x_aes_hash_sample_code.zip
Hi,
that's great thanks.
Is there a way to list all examples files at the url as browsing://www.xmece.com/sites/default/files
doesn't work.
Alex.
Hi Alex,
//www.xmece.com/products/da1469x-product-family
If you navigate to the following URL, you can find the software examples half way down..
BR JE_Dialog
Hi JE_Dialog,
thanks for speedy reply.
Sorry should have found for myself but have added bookmark for future reference.
Regards,
Alex.