Searched refs:encrK (Results 1 – 1 of 1) sorted by relevance
/device/google/contexthub/lib/nanohub/ |
D | aes.c | 185 uint32_t i, j, *ks = ctx->K + 4, *encrK = tmpSpace->tmpCtx.K + 52; in aesInitForDecr() local 192 …for (i = 0; i < AES_NUM_ROUNDS - 1; i++, encrK -= 4, ks += 4) { //num_rounds-1 seems to be concens… in aesInitForDecr() 195 ror(RevTab0[FwdSbox[(encrK[j] >> 24) & 0xff]], 0) ^ in aesInitForDecr() 196 ror(RevTab0[FwdSbox[(encrK[j] >> 16) & 0xff]], 8) ^ in aesInitForDecr() 197 ror(RevTab0[FwdSbox[(encrK[j] >> 8) & 0xff]], 16) ^ in aesInitForDecr() 198 ror(RevTab0[FwdSbox[(encrK[j] >> 0) & 0xff]], 24); in aesInitForDecr() 201 memcpy(ks, encrK, sizeof(uint32_t[4])); in aesInitForDecr()
|