Esempio n. 1
0
static int
esp_cast128_blockencrypt(const struct esp_algorithm *algo, struct secasvar *sav,
                         u_int8_t *s, u_int8_t *d)
{

    cast128_encrypt((cast128_key *)sav->sched, s, d);
    return 0;
}
Esempio n. 2
0
static void
cast5_encrypt(void *key, u_int8_t *blk)
{
	cast128_encrypt((cast128_key *) key, blk, blk);
}