Home
last modified time | relevance | path

Searched refs:ctx_arg (Results 1 – 5 of 5) sorted by relevance

/linux-2.4.37.9/crypto/
Dtea.c49 static int tea_setkey(void *ctx_arg, const u8 *in_key, in tea_setkey() argument
53 struct tea_ctx *ctx = ctx_arg; in tea_setkey()
70 static void tea_encrypt(void *ctx_arg, u8 *dst, const u8 *src) in tea_encrypt() argument
75 struct tea_ctx *ctx = ctx_arg; in tea_encrypt()
97 static void tea_decrypt(void *ctx_arg, u8 *dst, const u8 *src) in tea_decrypt() argument
102 struct tea_ctx *ctx = ctx_arg; in tea_decrypt()
127 static int xtea_setkey(void *ctx_arg, const u8 *in_key, in xtea_setkey() argument
131 struct xtea_ctx *ctx = ctx_arg; in xtea_setkey()
148 static void xtea_encrypt(void *ctx_arg, u8 *dst, const u8 *src) in xtea_encrypt() argument
154 struct xtea_ctx *ctx = ctx_arg; in xtea_encrypt()
[all …]
Dkhazad.c755 static int khazad_setkey(void *ctx_arg, const u8 *in_key, in khazad_setkey() argument
759 struct khazad_ctx *ctx = ctx_arg; in khazad_setkey()
870 static void khazad_encrypt(void *ctx_arg, u8 *dst, const u8 *src) in khazad_encrypt() argument
872 struct khazad_ctx *ctx = ctx_arg; in khazad_encrypt()
876 static void khazad_decrypt(void *ctx_arg, u8 *dst, const u8 *src) in khazad_decrypt() argument
878 struct khazad_ctx *ctx = ctx_arg; in khazad_decrypt()
Darc4.c27 static int arc4_set_key(void *ctx_arg, const u8 *in_key, unsigned int key_len, u32 *flags) in arc4_set_key() argument
29 struct arc4_ctx *ctx = ctx_arg; in arc4_set_key()
51 static void arc4_crypt(void *ctx_arg, u8 *out, const u8 *in) in arc4_crypt() argument
53 struct arc4_ctx *ctx = ctx_arg; in arc4_crypt()
Danubis.c461 static int anubis_setkey(void *ctx_arg, const u8 *in_key, in anubis_setkey() argument
469 struct anubis_ctx *ctx = ctx_arg; in anubis_setkey()
675 static void anubis_encrypt(void *ctx_arg, u8 *dst, const u8 *src) in anubis_encrypt() argument
677 struct anubis_ctx *ctx = ctx_arg; in anubis_encrypt()
681 static void anubis_decrypt(void *ctx_arg, u8 *dst, const u8 *src) in anubis_decrypt() argument
683 struct anubis_ctx *ctx = ctx_arg; in anubis_decrypt()
Daes.c273 aes_set_key(void *ctx_arg, const u8 *in_key, unsigned int key_len, u32 *flags) in aes_set_key() argument
275 struct aes_ctx *ctx = ctx_arg; in aes_set_key()
341 static void aes_encrypt(void *ctx_arg, u8 *out, const u8 *in) in aes_encrypt() argument
343 const struct aes_ctx *ctx = ctx_arg; in aes_encrypt()
394 static void aes_decrypt(void *ctx_arg, u8 *out, const u8 *in) in aes_decrypt() argument
396 const struct aes_ctx *ctx = ctx_arg; in aes_decrypt()