Searched refs:DIR_ENCRYPT (Results 1 – 13 of 13) sorted by relevance
| /freebsd-9-stable/contrib/telnet/libtelnet/ |
| D | enc_des.c | 192 case DIR_ENCRYPT: in fb64_start() 336 int state = fbp->state[DIR_ENCRYPT-1]; in fb64_reply() 343 fb64_stream_iv(fbp->temp_feed, &fbp->streams[DIR_ENCRYPT-1]); in fb64_reply() 347 encrypt_send_keyid(DIR_ENCRYPT, "\0", 1, 1); in fb64_reply() 352 fb64_stream_iv(fbp->temp_feed, &fbp->streams[DIR_ENCRYPT-1]); in fb64_reply() 367 return(fbp->state[DIR_ENCRYPT-1] = state); in fb64_reply() 393 fb64_stream_key(fbp->krbdes_key, &fbp->streams[DIR_ENCRYPT-1]); in fb64_session() 404 fb64_start(fbp, DIR_ENCRYPT, server); in fb64_session() 543 struct stinfo *stp = &fb[CFB].streams[DIR_ENCRYPT-1]; in cfb64_encrypt() 616 struct stinfo *stp = &fb[OFB].streams[DIR_ENCRYPT-1]; in ofb64_encrypt()
|
| D | encrypt.c | 181 { { 0 }, 0, DIR_ENCRYPT, &encrypt_mode, findencryption }, 510 type = ep->start ? (*ep->start)(DIR_ENCRYPT, Server) : 0; in encrypt_support() 753 if ((ret == 0) && (dir == DIR_ENCRYPT) && autoencrypt) in encrypt_keyid() 766 str_keyid[3] = (dir == DIR_ENCRYPT) in encrypt_send_keyid() 769 struct key_info *kp = &ki[(dir == DIR_ENCRYPT) ? 0 : 1]; in encrypt_send_keyid() 820 i = (*ep->start)(DIR_ENCRYPT, Server); in encrypt_start_output()
|
| D | encrypt.h | 62 #define DIR_ENCRYPT 2 macro
|
| /freebsd-9-stable/crypto/heimdal/appl/telnet/libtelnet/ |
| D | enc_des.c | 193 case DIR_ENCRYPT: in fb64_start() 350 int state = fbp->state[DIR_ENCRYPT-1]; in fb64_reply() 357 fb64_stream_iv(fbp->temp_feed, &fbp->streams[DIR_ENCRYPT-1]); in fb64_reply() 361 encrypt_send_keyid(DIR_ENCRYPT, (unsigned char *)"\0", 1, 1); in fb64_reply() 366 fb64_stream_iv(fbp->temp_feed, &fbp->streams[DIR_ENCRYPT-1]); in fb64_reply() 381 return(fbp->state[DIR_ENCRYPT-1] = state); in fb64_reply() 405 fb64_stream_key(fbp->krbdes_key, &fbp->streams[DIR_ENCRYPT-1]); in fb64_session() 423 fb64_start(fbp, DIR_ENCRYPT, server); in fb64_session() 557 struct stinfo *stp = &fb[CFB].streams[DIR_ENCRYPT-1]; in cfb64_encrypt() 629 struct stinfo *stp = &fb[OFB].streams[DIR_ENCRYPT-1]; in ofb64_encrypt()
|
| D | encrypt.c | 173 { { 0 }, 0, DIR_ENCRYPT, &encrypt_mode, findencryption }, 537 type = ep->start ? (*ep->start)(DIR_ENCRYPT, Server) : 0; in encrypt_support() 767 if ((ret == 0) && (dir == DIR_ENCRYPT) && autoencrypt) in encrypt_keyid() 790 str_keyid[3] = (dir == DIR_ENCRYPT) in encrypt_send_keyid() 793 struct key_info *kp = &ki[(dir == DIR_ENCRYPT) ? 0 : 1]; in encrypt_send_keyid() 844 i = (*ep->start)(DIR_ENCRYPT, Server); in encrypt_start_output()
|
| D | encrypt.h | 64 #define DIR_ENCRYPT 2 macro
|
| /freebsd-9-stable/sys/geom/bde/ |
| D | g_bde_crypt.c | 169 AES_makekey(&ki, DIR_ENCRYPT, G_BDE_SKEYBITS, skey); in g_bde_crypt_write() 173 g_bde_kkey(sc, &ki, DIR_ENCRYPT, wp->offset + o); in g_bde_crypt_write() 214 AES_makekey(&ki, DIR_ENCRYPT, G_BDE_SKEYBITS, skey); in g_bde_crypt_delete()
|
| D | g_bde_lock.c | 315 AES_makekey(&ki, DIR_ENCRYPT, G_BDE_KKEYBITS, sha2 + 0); in g_bde_keyloc_encrypt()
|
| /freebsd-9-stable/sys/crypto/rijndael/ |
| D | rijndael-api-fst.c | 44 if ((direction == DIR_ENCRYPT) || (direction == DIR_DECRYPT)) { in rijndael_makeKey() 62 if (direction == DIR_ENCRYPT) { in rijndael_makeKey() 270 (cipher->mode != MODE_CFB1 && key->direction == DIR_ENCRYPT)) { in rijndael_blockDecrypt() 370 key->direction == DIR_ENCRYPT) { in rijndael_padDecrypt()
|
| D | rijndael-api-fst.h | 17 #define DIR_ENCRYPT 0 /* Are we encrpyting? */ macro
|
| /freebsd-9-stable/sys/dev/random/ |
| D | hash.c | 70 rijndael_makeKey(&context->key, DIR_ENCRYPT, KEYSIZE*8, data); in yarrow_encrypt_init()
|
| /freebsd-9-stable/sys/geom/ |
| D | geom_aes.c | 210 g_aes_makekey(sc, o, &ekey, DIR_ENCRYPT); in g_aes_start()
|
| /freebsd-9-stable/sbin/gbde/ |
| D | gbde.c | 274 error = rijndael_makeKey(&ki, DIR_ENCRYPT, klen, key); in encrypt_sector()
|