Lines Matching refs:opad
76 static unsigned char *opad, *prep_opad; variable
87 static unsigned char (*opad)[PAD_SIZE]; variable
100 memset(opad, 0x5C, bufsize); in clear_keys()
113 bufsize = sizeof(*opad) * self->params.max_keys_per_crypt * SHA_BUF_SIZ * 4; in init()
116 opad = mem_calloc_align(1, bufsize, MEM_ALIGN_SIMD); in init()
132 opad = mem_calloc(self->params.max_keys_per_crypt, sizeof(*opad)); in init()
152 MEM_FREE(opad); in done()
198 uint32_t *opadp = (uint32_t*)&opad[GETPOS(3, index)]; in set_key()
201 uint32_t *opadp = (uint32_t*)&opad[GETPOS(0, index)]; in set_key()
260 memset(opad[index], 0x5C, PAD_SIZE); in set_key()
275 opad[index][i] ^= k0[i]; in set_key()
282 opad[index][i] ^= key[i]; in set_key()
350 SIMDSHA1body(&opad[index * SHA_BUF_SIZ * 4], in crypt_all()
373 SHA1_Update(&opad_ctx[index], opad[index], PAD_SIZE); in crypt_all()