Lines Matching refs:uCtx
917 miccntx uCtx; // Unicast context member
1132 if (mic_rid.unicastValid && (!ai->mod[0].uCtx.valid || in micinit()
1133 (memcmp(ai->mod[0].uCtx.key, mic_rid.unicast, in micinit()
1134 sizeof(ai->mod[0].uCtx.key)) != 0))) { in micinit()
1136 memcpy(&ai->mod[1].uCtx,&ai->mod[0].uCtx,sizeof(miccntx)); in micinit()
1138 memcpy(&ai->mod[0].uCtx.key,mic_rid.unicast,sizeof(mic_rid.unicast)); in micinit()
1140 ai->mod[0].uCtx.window = 33; //Window always points to the middle in micinit()
1141 ai->mod[0].uCtx.rx = 0; //Rx Sequence numbers in micinit()
1142 ai->mod[0].uCtx.tx = 0; //Tx sequence numbers in micinit()
1143 ai->mod[0].uCtx.valid = 1; //Key is now valid in micinit()
1146 emmh32_setseed(&ai->mod[0].uCtx.seed, mic_rid.unicast, sizeof(mic_rid.unicast), ai->tfm); in micinit()
1152 ai->mod[0].uCtx.valid = 0; in micinit()
1172 memset(&ai->mod[i].uCtx,0,sizeof(miccntx)); in micsetup()
1205 context = &ai->mod[0].uCtx; in encapsulate()
1293 context = mcast ? &ai->mod[i].mCtx : &ai->mod[i].uCtx; in decapsulate()