Lines Matching defs:pmac
247 unsigned char c[32+SHA_DIGEST_LENGTH]; } mac, *pmac;
250 pmac = (void *)(((size_t)mac.c+31)&((size_t)0-32));
316 pmac->u[0]=0;
317 pmac->u[1]=0;
318 pmac->u[2]=0;
319 pmac->u[3]=0;
320 pmac->u[4]=0;
335 pmac->u[0] |= key->md.h0 & mask;
336 pmac->u[1] |= key->md.h1 & mask;
337 pmac->u[2] |= key->md.h2 & mask;
338 pmac->u[3] |= key->md.h3 & mask;
339 pmac->u[4] |= key->md.h4 & mask;
350 pmac->u[0] |= key->md.h0 & mask;
351 pmac->u[1] |= key->md.h1 & mask;
352 pmac->u[2] |= key->md.h2 & mask;
353 pmac->u[3] |= key->md.h3 & mask;
354 pmac->u[4] |= key->md.h4 & mask;
362 pmac->u[0] |= key->md.h0 & mask;
363 pmac->u[1] |= key->md.h1 & mask;
364 pmac->u[2] |= key->md.h2 & mask;
365 pmac->u[3] |= key->md.h3 & mask;
366 pmac->u[4] |= key->md.h4 & mask;
369 pmac->u[0] = BSWAP(pmac->u[0]);
370 pmac->u[1] = BSWAP(pmac->u[1]);
371 pmac->u[2] = BSWAP(pmac->u[2]);
372 pmac->u[3] = BSWAP(pmac->u[3]);
373 pmac->u[4] = BSWAP(pmac->u[4]);
376 res = pmac->u[i];
377 pmac->c[4*i+0]=(unsigned char)(res>>24);
378 pmac->c[4*i+1]=(unsigned char)(res>>16);
379 pmac->c[4*i+2]=(unsigned char)(res>>8);
380 pmac->c[4*i+3]=(unsigned char)res;
387 SHA1_Final(pmac->c,&key->md);
403 SHA1_Update(&key->md,pmac->c,SHA_DIGEST_LENGTH);
404 SHA1_Final(pmac->c,&key->md);
421 res |= (c^pmac->c[i])&cmask;
431 res |= out[i]^pmac->c[i];