Lines Matching refs:Block

68 	Block krbdes_key;
70 Block temp_feed;
76 Block str_output;
77 Block str_feed;
78 Block str_iv;
79 Block str_ikey;
115 void fb64_stream_iv(Block, struct stinfo *);
121 void fb64_stream_key(Block, struct stinfo *);
210 des_random_key((Block *)fbp->temp_feed);
211 des_ecb_encrypt((Block *)fbp->temp_feed, (Block *)fbp->temp_feed,
217 for (x = 0; x < sizeof(Block); ++x) {
261 if (cnt != sizeof(Block)) {
351 memset(fbp->temp_feed, 0, sizeof(Block));
391 memmove((void *)fbp->krbdes_key, (void *)key->data, sizeof(Block));
396 des_key_sched((Block *)fbp->krbdes_key, fbp->krbdes_sched);
496 fb64_stream_iv(Block seed, struct stinfo *stp)
499 memmove((void *)stp->str_iv, (void *)seed, sizeof(Block));
500 memmove((void *)stp->str_output, (void *)seed, sizeof(Block));
502 des_key_sched((Block *)stp->str_ikey, stp->str_sched);
504 stp->str_index = sizeof(Block);
508 fb64_stream_key(Block key, struct stinfo *stp)
510 memmove((void *)stp->str_ikey, (void *)key, sizeof(Block));
511 des_key_sched((Block *)key, stp->str_sched);
513 memmove((void *)stp->str_output, (void *)stp->str_iv, sizeof(Block));
515 stp->str_index = sizeof(Block);
548 if (idx == sizeof(Block)) {
549 Block b;
550 des_ecb_encrypt((Block *)stp->str_output, (Block *)b, stp->str_sched, 1);
551 memmove((void *)stp->str_feed, (void *)b, sizeof(Block));
581 if (idx == sizeof(Block)) {
582 Block b;
583 des_ecb_encrypt((Block *)stp->str_output, (Block *)b, stp->str_sched, 1);
584 memmove((void *)stp->str_feed, (void *)b, sizeof(Block));
621 if (idx == sizeof(Block)) {
622 Block b;
623 des_ecb_encrypt((Block *)stp->str_feed, (Block *)b, stp->str_sched, 1);
624 memmove((void *)stp->str_feed, (void *)b, sizeof(Block));
651 if (idx == sizeof(Block)) {
652 Block b;
653 des_ecb_encrypt((Block *)stp->str_feed, (Block *)b, stp->str_sched, 1);
654 memmove((void *)stp->str_feed, (void *)b, sizeof(Block));