D | cmac.c | 74 uint8_t in[16]; in AES_CMAC_Update() local 85 memcpy1( in, &ctx->X[0], 16 ); // Otherwise it does not look good in AES_CMAC_Update() 86 aes_encrypt( in, in, &ctx->rijndael ); in AES_CMAC_Update() 87 memcpy1( &ctx->X[0], in, 16 ); in AES_CMAC_Update() 97 memcpy1( in, &ctx->X[0], 16 ); // Otherwise it does not look good in AES_CMAC_Update() 98 aes_encrypt( in, in, &ctx->rijndael ); in AES_CMAC_Update() 99 memcpy1( &ctx->X[0], in, 16 ); in AES_CMAC_Update() 112 uint8_t in[16]; in AES_CMAC_Final() local 151 memcpy1( in, &ctx->X[0], 16 ); // Otherwise it does not look good in AES_CMAC_Final() 152 aes_encrypt( in, digest, &ctx->rijndael ); in AES_CMAC_Final()
|