Lines Matching refs:ivec
85 char ivec[8]; local
96 (void) memset(ivec, 0, 8);
98 err = cbc_crypt(key, buf, len, DES_ENCRYPT | DES_HW, ivec);
119 char ivec[8]; local
131 (void) memset(ivec, 0, 8);
133 err = cbc_crypt(key, buf, len, DES_DECRYPT | DES_HW, ivec);
250 char ivec[8]; in xencrypt_g() local
313 (void) memset(ivec, 0, 8); in xencrypt_g()
316 ivec); in xencrypt_g()
354 char ivec[8]; in xdecrypt_g() local
379 (void) memset(ivec, 0, 8); in xdecrypt_g()
381 err = cbc_crypt(key.c, buf, len, DES_DECRYPT | DES_HW, ivec); in xdecrypt_g()
441 des_block ivec, tkey; in passwd2des_g() local
446 (void) memset(ivec.c, 0, 8); in passwd2des_g()
533 (void) cbc_crypt(tkey.c, text, tlen, DES_ENCRYPT|DES_HW, ivec.c); in passwd2des_g()
534 des_setparity_g(&ivec); in passwd2des_g()
537 if (weak_DES_key(ivec)) { in passwd2des_g()
538 ivec.c[7] ^= 0xf0; in passwd2des_g()
545 (void) memcpy((*key).c, ivec.c, sizeof (ivec.c)); in passwd2des_g()