SWCU192 November 2021 CC1312R7 , CC1352P7 , CC2652P7 , CC2652R7
The Key Size register defines the size of the keys that are written with DMA. The Key Size register must be configured before writing to the KEYWRITEAREA register.
For more details, see Section 13.9.1.