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

/freebsd-10.3-release/sys/opencrypto/
H A Dcast.h17 } cast_key; typedef in typeref:struct:__anon11786
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.c468 cast_encrypt((cast_key *) key, blk, blk);
474 cast_decrypt((cast_key *) key, blk, blk);
482 *sched = malloc(sizeof(cast_key), M_CRYPTO_DATA, M_NOWAIT|M_ZERO);
484 cast_setkey((cast_key *)*sched, key, len);
494 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 53 milliseconds