Lines Matching refs:K
111 uint8_t K[16]; in AES_CMAC_Final() local
114 memset1( K, '\0', 16 ); in AES_CMAC_Final()
116 aes_encrypt( K, K, &ctx->rijndael ); in AES_CMAC_Final()
118 if( K[0] & 0x80 ) in AES_CMAC_Final()
120 LSHIFT( K, K ); in AES_CMAC_Final()
121 K[15] ^= 0x87; in AES_CMAC_Final()
124 LSHIFT( K, K ); in AES_CMAC_Final()
129 XOR( K, ctx->M_last ); in AES_CMAC_Final()
134 if( K[0] & 0x80 ) in AES_CMAC_Final()
136 LSHIFT( K, K ); in AES_CMAC_Final()
137 K[15] ^= 0x87; in AES_CMAC_Final()
140 LSHIFT( K, K ); in AES_CMAC_Final()
147 XOR( K, ctx->M_last ); in AES_CMAC_Final()
153 memset1( K, 0, sizeof K ); in AES_CMAC_Final()