Lines Matching refs:ivec
90 char ivec[8]; local
101 (void) memset(ivec, 0, 8);
103 err = cbc_crypt(key, buf, len, DES_ENCRYPT | DES_HW, ivec);
131 char ivec[8]; local
143 (void) memset(ivec, 0, 8);
145 err = cbc_crypt(key, buf, len, DES_DECRYPT | DES_HW, ivec);
269 char ivec[8]; in xencrypt_g() local
332 (void) memset(ivec, 0, 8); in xencrypt_g()
335 ivec); in xencrypt_g()
380 char ivec[8]; in xdecrypt_g() local
405 (void) memset(ivec, 0, 8); in xdecrypt_g()
407 err = cbc_crypt(key.c, buf, len, DES_DECRYPT | DES_HW, ivec); in xdecrypt_g()
473 des_block ivec, tkey; in passwd2des_g() local
478 (void) memset(ivec.c, 0, 8); in passwd2des_g()
565 (void) cbc_crypt(tkey.c, text, tlen, DES_ENCRYPT|DES_HW, ivec.c); in passwd2des_g()
566 des_setparity_g(&ivec); in passwd2des_g()
569 if (weak_DES_key(ivec)) { in passwd2des_g()
570 ivec.c[7] ^= 0xf0; in passwd2des_g()
577 (void) memcpy((*key).c, ivec.c, sizeof (ivec.c)); in passwd2des_g()