示例#1
0
static int
esp_cast128_blockdecrypt(const struct esp_algorithm *algo,
                         struct secasvar *sav, u_int8_t *s, u_int8_t *d)
{

    cast128_decrypt((cast128_key *)sav->sched, s, d);
    return 0;
}
示例#2
0
static void
cast5_decrypt(void *key, u_int8_t *blk)
{
	cast128_decrypt((cast128_key *) key, blk, blk);
}