Searched refs:cast_key (Results 1 - 3 of 3) sorted by relevance

/freebsd-9.3-release/sys/opencrypto/
H A Dcast.h17 } cast_key; typedef in typeref:struct:__anon10256
19 void cast_setkey(cast_key * key, u_int8_t * rawkey, int keybytes);
20 void cast_encrypt(cast_key * key, u_int8_t * inblock, u_int8_t * outblock);
21 void cast_decrypt(cast_key * key, u_int8_t * inblock, u_int8_t * outblock);
H A Dxform.c463 cast_encrypt((cast_key *) key, blk, blk);
469 cast_decrypt((cast_key *) key, blk, blk);
477 *sched = malloc(sizeof(cast_key), M_CRYPTO_DATA, M_NOWAIT|M_ZERO);
479 cast_setkey((cast_key *)*sched, key, len);
489 bzero(*sched, sizeof(cast_key));
H A Dcast.c42 void cast_encrypt(cast_key* key, u_int8_t* inblock, u_int8_t* outblock)
87 void cast_decrypt(cast_key* key, u_int8_t* inblock, u_int8_t* outblock)
132 void cast_setkey(cast_key* key, u_int8_t* rawkey, int keybytes)

Completed in 107 milliseconds