• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/telnet/libtelnet/

Lines Matching refs:Block

64 	Block krbdes_key;
66 Block temp_feed;
72 Block str_output;
73 Block str_feed;
74 Block str_iv;
75 Block str_ikey;
111 void fb64_stream_iv(Block, struct stinfo *);
117 void fb64_stream_key(Block, struct stinfo *);
206 DES_random_key((Block *)fbp->temp_feed);
207 DES_ecb_encrypt((Block *)fbp->temp_feed, (Block *)fbp->temp_feed,
213 for (x = 0; x < sizeof(Block); ++x) {
257 if (cnt != sizeof(Block)) {
347 memset(fbp->temp_feed, 0, sizeof(Block));
387 memmove((void *)fbp->krbdes_key, (void *)key->data, sizeof(Block));
392 DES_key_sched((Block *)fbp->krbdes_key, &fbp->krbdes_sched);
492 fb64_stream_iv(Block seed, struct stinfo *stp)
495 memmove((void *)stp->str_iv, (void *)seed, sizeof(Block));
496 memmove((void *)stp->str_output, (void *)seed, sizeof(Block));
498 DES_key_sched((Block *)stp->str_ikey, &stp->str_sched);
500 stp->str_index = sizeof(Block);
504 fb64_stream_key(Block key, struct stinfo *stp)
506 memmove((void *)stp->str_ikey, (void *)key, sizeof(Block));
507 DES_key_sched((Block *)key, &stp->str_sched);
509 memmove((void *)stp->str_output, (void *)stp->str_iv, sizeof(Block));
511 stp->str_index = sizeof(Block);
544 if (idx == sizeof(Block)) {
545 Block b;
546 DES_ecb_encrypt((Block *)stp->str_output, (Block *)b, &stp->str_sched, 1);
547 memmove((void *)stp->str_feed, (void *)b, sizeof(Block));
577 if (idx == sizeof(Block)) {
578 Block b;
579 DES_ecb_encrypt((Block *)stp->str_output, (Block *)b, &stp->str_sched, 1);
580 memmove((void *)stp->str_feed, (void *)b, sizeof(Block));
617 if (idx == sizeof(Block)) {
618 Block b;
619 DES_ecb_encrypt((Block *)stp->str_feed, (Block *)b, &stp->str_sched, 1);
620 memmove((void *)stp->str_feed, (void *)b, sizeof(Block));
647 if (idx == sizeof(Block)) {
648 Block b;
649 DES_ecb_encrypt((Block *)stp->str_feed, (Block *)b, &stp->str_sched, 1);
650 memmove((void *)stp->str_feed, (void *)b, sizeof(Block));