Searched refs:str_feed (Results 1 – 2 of 2) sorted by relevance
/freebsd/contrib/telnet/libtelnet/ |
H A D | enc_des.c | 71 Block str_feed; member 545 memmove((void *)stp->str_feed, (void *)b, sizeof(Block)); in cfb64_encrypt() 550 *s = stp->str_output[idx] = (stp->str_feed[idx] ^ *s); in cfb64_encrypt() 578 memmove((void *)stp->str_feed, (void *)b, sizeof(Block)); in cfb64_decrypt() 585 return(data ^ stp->str_feed[idx]); in cfb64_decrypt() 617 DES_ecb_encrypt((Block *)stp->str_feed, (Block *)b, &stp->str_sched, 1); in ofb64_encrypt() 618 memmove((void *)stp->str_feed, (void *)b, sizeof(Block)); in ofb64_encrypt() 621 *s++ ^= stp->str_feed[idx]; in ofb64_encrypt() 647 DES_ecb_encrypt((Block *)stp->str_feed, (Block *)b, &stp->str_sched, 1); in ofb64_decrypt() 648 memmove((void *)stp->str_feed, (void *)b, sizeof(Block)); in ofb64_decrypt() [all …]
|
/freebsd/crypto/heimdal/appl/telnet/libtelnet/ |
H A D | enc_des.c | 70 DES_cblock str_feed; member 550 memcpy(stp->str_feed, b, sizeof(DES_cblock)); in cfb64_encrypt() 555 *s = stp->str_output[index] = (stp->str_feed[index] ^ *s); in cfb64_encrypt() 582 memcpy(stp->str_feed, b, sizeof(DES_cblock)); in cfb64_decrypt() 589 return(data ^ stp->str_feed[index]); in cfb64_decrypt() 621 DES_ecb_encrypt(&stp->str_feed,&b, &stp->str_sched, 1); in ofb64_encrypt() 622 memcpy(stp->str_feed, b, sizeof(DES_cblock)); in ofb64_encrypt() 625 *s++ ^= stp->str_feed[index]; in ofb64_encrypt() 650 DES_ecb_encrypt(&stp->str_feed,&b,&stp->str_sched, 1); in ofb64_decrypt() 651 memcpy(stp->str_feed, b, sizeof(DES_cblock)); in ofb64_decrypt() [all …]
|