
In function target_if_crypto_set_key(), array pn's size is 16, while params.key_rsc_ctr's length is 8, so the length of src buffer(params.key_rsc_ctr in this case) should be used when copying data to dest buffer(pn). Change-Id: Ifa9156963c3da0234dbf8755a4d1f7bf3b96d0ff CRs-Fixed: 2822715