While integrity check is a mandatory function, ciphering is an optional function. NAS security keys, such as integrity key (KNASint) and ciphering key (KNASenc), are derived by UEs and MMEs from K ASME. AS Security. AS security is purposed to ensure secure delivery of data between a UE and an eNB over radio links.