Searched refs:parent (Results 1 - 17 of 17) sorted by relevance

/crypto/
H A Dhmac.c44 static int hmac_setkey(struct crypto_shash *parent, argument
47 int bs = crypto_shash_blocksize(parent);
48 int ds = crypto_shash_digestsize(parent);
49 int ss = crypto_shash_statesize(parent);
50 char *ipad = crypto_shash_ctx_aligned(parent);
62 desc.shash.flags = crypto_shash_get_flags(parent) &
129 struct crypto_shash *parent = pdesc->tfm; local
130 int ds = crypto_shash_digestsize(parent);
131 int ss = crypto_shash_statesize(parent);
132 char *opad = crypto_shash_ctx_aligned(parent)
146 struct crypto_shash *parent = pdesc->tfm; local
161 struct crypto_shash *parent = __crypto_shash_cast(tfm); local
[all...]
H A Dxcbc.c33 * | <parent tfm>
61 static int crypto_xcbc_digest_setkey(struct crypto_shash *parent, argument
64 unsigned long alignmask = crypto_shash_alignmask(parent);
65 struct xcbc_tfm_ctx *ctx = crypto_shash_ctx(parent);
66 int bs = crypto_shash_blocksize(parent);
98 struct crypto_shash *parent = pdesc->tfm; local
99 unsigned long alignmask = crypto_shash_alignmask(parent);
100 struct xcbc_tfm_ctx *tctx = crypto_shash_ctx(parent);
103 int bs = crypto_shash_blocksize(parent);
144 struct crypto_shash *parent local
[all...]
H A Dcmac.c26 * | <parent tfm>
54 static int crypto_cmac_digest_setkey(struct crypto_shash *parent, argument
57 unsigned long alignmask = crypto_shash_alignmask(parent);
58 struct cmac_tfm_ctx *ctx = crypto_shash_ctx(parent);
59 unsigned int bs = crypto_shash_blocksize(parent);
124 struct crypto_shash *parent = pdesc->tfm; local
125 unsigned long alignmask = crypto_shash_alignmask(parent);
126 struct cmac_tfm_ctx *tctx = crypto_shash_ctx(parent);
129 int bs = crypto_shash_blocksize(parent);
170 struct crypto_shash *parent local
[all...]
H A Dctr.c38 static int crypto_ctr_setkey(struct crypto_tfm *parent, const u8 *key, argument
41 struct crypto_ctr_ctx *ctx = crypto_tfm_ctx(parent);
46 crypto_cipher_set_flags(child, crypto_tfm_get_flags(parent) &
49 crypto_tfm_set_flags(parent, crypto_cipher_get_flags(child) &
252 static int crypto_rfc3686_setkey(struct crypto_ablkcipher *parent, argument
255 struct crypto_rfc3686_ctx *ctx = crypto_ablkcipher_ctx(parent);
269 crypto_ablkcipher_set_flags(child, crypto_ablkcipher_get_flags(parent) &
272 crypto_ablkcipher_set_flags(parent, crypto_ablkcipher_get_flags(child) &
H A Decb.c25 static int crypto_ecb_setkey(struct crypto_tfm *parent, const u8 *key, argument
28 struct crypto_ecb_ctx *ctx = crypto_tfm_ctx(parent);
33 crypto_cipher_set_flags(child, crypto_tfm_get_flags(parent) &
36 crypto_tfm_set_flags(parent, crypto_cipher_get_flags(child) &
H A Dxts.c33 static int setkey(struct crypto_tfm *parent, const u8 *key, argument
36 struct priv *ctx = crypto_tfm_ctx(parent);
38 u32 *flags = &parent->crt_flags;
55 crypto_cipher_set_flags(child, crypto_tfm_get_flags(parent) &
61 crypto_tfm_set_flags(parent, crypto_cipher_get_flags(child) &
68 crypto_cipher_set_flags(child, crypto_tfm_get_flags(parent) &
74 crypto_tfm_set_flags(parent, crypto_cipher_get_flags(child) &
H A Dcbc.c26 static int crypto_cbc_setkey(struct crypto_tfm *parent, const u8 *key, argument
29 struct crypto_cbc_ctx *ctx = crypto_tfm_ctx(parent);
34 crypto_cipher_set_flags(child, crypto_tfm_get_flags(parent) &
37 crypto_tfm_set_flags(parent, crypto_cipher_get_flags(child) &
H A Dcts.c57 static int crypto_cts_setkey(struct crypto_tfm *parent, const u8 *key, argument
60 struct crypto_cts_ctx *ctx = crypto_tfm_ctx(parent);
65 crypto_blkcipher_set_flags(child, crypto_tfm_get_flags(parent) &
68 crypto_tfm_set_flags(parent, crypto_blkcipher_get_flags(child) &
H A Dpcbc.c29 static int crypto_pcbc_setkey(struct crypto_tfm *parent, const u8 *key, argument
32 struct crypto_pcbc_ctx *ctx = crypto_tfm_ctx(parent);
37 crypto_cipher_set_flags(child, crypto_tfm_get_flags(parent) &
40 crypto_tfm_set_flags(parent, crypto_cipher_get_flags(child) &
H A Dlrw.c79 static int setkey(struct crypto_tfm *parent, const u8 *key, argument
82 struct priv *ctx = crypto_tfm_ctx(parent);
88 crypto_cipher_set_flags(child, crypto_tfm_get_flags(parent) &
93 crypto_tfm_set_flags(parent, crypto_cipher_get_flags(child) &
H A Dcryptd.c171 static int cryptd_blkcipher_setkey(struct crypto_ablkcipher *parent, argument
174 struct cryptd_blkcipher_ctx *ctx = crypto_ablkcipher_ctx(parent);
179 crypto_blkcipher_set_flags(child, crypto_ablkcipher_get_flags(parent) &
182 crypto_ablkcipher_set_flags(parent, crypto_blkcipher_get_flags(child) &
400 static int cryptd_hash_setkey(struct crypto_ahash *parent, argument
403 struct cryptd_hash_ctx *ctx = crypto_ahash_ctx(parent);
408 crypto_shash_set_flags(child, crypto_ahash_get_flags(parent) &
411 crypto_ahash_set_flags(parent, crypto_shash_get_flags(child) &
H A Dvmac.c544 static int vmac_setkey(struct crypto_shash *parent, argument
547 struct vmac_ctx_t *ctx = crypto_shash_ctx(parent);
550 crypto_shash_set_flags(parent, CRYPTO_TFM_RES_BAD_KEY_LEN);
565 struct crypto_shash *parent = pdesc->tfm; local
566 struct vmac_ctx_t *ctx = crypto_shash_ctx(parent);
600 struct crypto_shash *parent = pdesc->tfm; local
601 struct vmac_ctx_t *ctx = crypto_shash_ctx(parent);
H A Dgcm.c858 static int crypto_rfc4106_setkey(struct crypto_aead *parent, const u8 *key, argument
861 struct crypto_rfc4106_ctx *ctx = crypto_aead_ctx(parent);
872 crypto_aead_set_flags(child, crypto_aead_get_flags(parent) &
875 crypto_aead_set_flags(parent, crypto_aead_get_flags(child) &
881 static int crypto_rfc4106_setauthsize(struct crypto_aead *parent, argument
884 struct crypto_rfc4106_ctx *ctx = crypto_aead_ctx(parent);
1069 static int crypto_rfc4543_setkey(struct crypto_aead *parent, const u8 *key, argument
1072 struct crypto_rfc4543_ctx *ctx = crypto_aead_ctx(parent);
1083 crypto_aead_set_flags(child, crypto_aead_get_flags(parent) &
1086 crypto_aead_set_flags(parent, crypto_aead_get_flag
1092 crypto_rfc4543_setauthsize(struct crypto_aead *parent, unsigned int authsize) argument
[all...]
H A Dpcrypt.c101 static int pcrypt_aead_setkey(struct crypto_aead *parent, argument
104 struct pcrypt_aead_ctx *ctx = crypto_aead_ctx(parent);
109 static int pcrypt_aead_setauthsize(struct crypto_aead *parent, argument
112 struct pcrypt_aead_ctx *ctx = crypto_aead_ctx(parent);
H A Dccm.c637 static int crypto_rfc4309_setkey(struct crypto_aead *parent, const u8 *key, argument
640 struct crypto_rfc4309_ctx *ctx = crypto_aead_ctx(parent);
651 crypto_aead_set_flags(child, crypto_aead_get_flags(parent) &
654 crypto_aead_set_flags(parent, crypto_aead_get_flags(child) &
660 static int crypto_rfc4309_setauthsize(struct crypto_aead *parent, argument
663 struct crypto_rfc4309_ctx *ctx = crypto_aead_ctx(parent);
H A Dalgif_hash.c200 err = af_alg_accept(ask->parent, newsock);
H A Daf_alg.c256 alg_sk(sk2)->parent = sk;

Completed in 130 milliseconds