Searched refs:DIR_ENCRYPT (Results 1 - 13 of 13) sorted by relevance

/freebsd-11.0-release/crypto/heimdal/appl/telnet/libtelnet/
H A Dencrypt.h64 #define DIR_ENCRYPT 2 macro
H A Denc_des.c192 case DIR_ENCRYPT:
340 int state = fbp->state[DIR_ENCRYPT-1];
347 fb64_stream_iv(fbp->temp_feed, &fbp->streams[DIR_ENCRYPT-1]);
351 encrypt_send_keyid(DIR_ENCRYPT, (unsigned char *)"\0", 1, 1);
356 fb64_stream_iv(fbp->temp_feed, &fbp->streams[DIR_ENCRYPT-1]);
371 return(fbp->state[DIR_ENCRYPT-1] = state);
395 fb64_stream_key(fbp->krbdes_key, &fbp->streams[DIR_ENCRYPT-1]);
408 fb64_start(fbp, DIR_ENCRYPT, server);
542 struct stinfo *stp = &fb[CFB].streams[DIR_ENCRYPT-1];
614 struct stinfo *stp = &fb[OFB].streams[DIR_ENCRYPT
[all...]
H A Dencrypt.c173 { { 0 }, 0, DIR_ENCRYPT, &encrypt_mode, findencryption },
537 type = ep->start ? (*ep->start)(DIR_ENCRYPT, Server) : 0;
767 if ((ret == 0) && (dir == DIR_ENCRYPT) && autoencrypt)
790 str_keyid[3] = (dir == DIR_ENCRYPT)
793 struct key_info *kp = &ki[(dir == DIR_ENCRYPT) ? 0 : 1];
844 i = (*ep->start)(DIR_ENCRYPT, Server);
/freebsd-11.0-release/contrib/telnet/libtelnet/
H A Dencrypt.h62 #define DIR_ENCRYPT 2 macro
H A Denc_des.c192 case DIR_ENCRYPT:
336 int state = fbp->state[DIR_ENCRYPT-1];
343 fb64_stream_iv(fbp->temp_feed, &fbp->streams[DIR_ENCRYPT-1]);
347 encrypt_send_keyid(DIR_ENCRYPT, "\0", 1, 1);
352 fb64_stream_iv(fbp->temp_feed, &fbp->streams[DIR_ENCRYPT-1]);
367 return(fbp->state[DIR_ENCRYPT-1] = state);
393 fb64_stream_key(fbp->krbdes_key, &fbp->streams[DIR_ENCRYPT-1]);
404 fb64_start(fbp, DIR_ENCRYPT, server);
543 struct stinfo *stp = &fb[CFB].streams[DIR_ENCRYPT-1];
616 struct stinfo *stp = &fb[OFB].streams[DIR_ENCRYPT
[all...]
H A Dencrypt.c181 { { 0 }, 0, DIR_ENCRYPT, &encrypt_mode, findencryption },
510 type = ep->start ? (*ep->start)(DIR_ENCRYPT, Server) : 0;
753 if ((ret == 0) && (dir == DIR_ENCRYPT) && autoencrypt)
766 str_keyid[3] = (dir == DIR_ENCRYPT)
769 struct key_info *kp = &ki[(dir == DIR_ENCRYPT) ? 0 : 1];
820 i = (*ep->start)(DIR_ENCRYPT, Server);
/freebsd-11.0-release/sys/crypto/rijndael/
H A Drijndael-api-fst.h17 #define DIR_ENCRYPT 0 /* Are we encrpyting? */ macro
H A Drijndael-api-fst.c45 if ((direction == DIR_ENCRYPT) || (direction == DIR_DECRYPT)) {
63 if (direction == DIR_ENCRYPT) {
271 (cipher->mode != MODE_CFB1 && key->direction == DIR_ENCRYPT)) {
371 key->direction == DIR_ENCRYPT) {
/freebsd-11.0-release/sys/dev/random/
H A Dhash.c88 rijndael_makeKey(&context->key, DIR_ENCRYPT, RANDOM_KEYSIZE*8, data);
/freebsd-11.0-release/sys/geom/bde/
H A Dg_bde_crypt.c169 AES_makekey(&ki, DIR_ENCRYPT, G_BDE_SKEYBITS, skey);
173 g_bde_kkey(sc, &ki, DIR_ENCRYPT, wp->offset + o);
214 AES_makekey(&ki, DIR_ENCRYPT, G_BDE_SKEYBITS, skey);
H A Dg_bde_lock.c315 AES_makekey(&ki, DIR_ENCRYPT, G_BDE_KKEYBITS, sha2 + 0);
/freebsd-11.0-release/sys/geom/
H A Dgeom_aes.c210 g_aes_makekey(sc, o, &ekey, DIR_ENCRYPT);
/freebsd-11.0-release/sbin/gbde/
H A Dgbde.c274 error = rijndael_makeKey(&ki, DIR_ENCRYPT, klen, key);

Completed in 138 milliseconds