Lines Matching defs:hash
464 CC_LONG hash[8];
473 uint32_t hash[8];
487 CC_XZEROMEM(c->hash, CC_SHA256_DIGEST_LENGTH);
491 CC_XMEMCPY(c->hash, di->initial_state, di->state_size);
503 struct ccdigest_state *state = (struct ccdigest_state *) c->hash;
522 struct ccdigest_state *state = (struct ccdigest_state *) c->hash;
530 for (int i = 0; i < 8; i++) CC_XSTORE32H(c->hash[i], md+(4*i));
539 CC_LONG64 hash[8];
548 uint64_t hash[8];
560 CC_XZEROMEM(c->hash, CC_SHA512_DIGEST_LENGTH);
564 CC_XMEMCPY(c->hash, di->initial_state, di->state_size);
576 struct ccdigest_state *state = (struct ccdigest_state *) c->hash;
595 struct ccdigest_state *state = (struct ccdigest_state *) c->hash;
603 for (unsigned long i = 0; i < di->output_size/8; i++) CC_XSTORE64H(c->hash[i], md+(8*i));
618 CC_XZEROMEM(c->hash, CC_SHA256_DIGEST_LENGTH);
622 CC_XMEMCPY(c->hash, di->initial_state, di->state_size);
651 CC_XZEROMEM(c->hash, CC_SHA512_DIGEST_LENGTH);
655 CC_XMEMCPY(c->hash, di->initial_state, di->state_size);