Home
last modified time | relevance | path

Searched refs:parent (Results 1 – 15 of 15) sorted by relevance

/crypto/
A Dhmac.c35 static int hmac_setkey(struct crypto_shash *parent, in hmac_setkey() argument
38 int bs = crypto_shash_blocksize(parent); in hmac_setkey()
39 int ds = crypto_shash_digestsize(parent); in hmac_setkey()
40 int ss = crypto_shash_statesize(parent); in hmac_setkey()
41 struct hmac_ctx *tctx = crypto_shash_ctx(parent); in hmac_setkey()
134 struct crypto_shash *parent = pdesc->tfm; in hmac_finup() local
135 int ds = crypto_shash_digestsize(parent); in hmac_finup()
136 int ss = crypto_shash_statesize(parent); in hmac_finup()
256 int ds = crypto_ahash_digestsize(parent); in hmac_setkey_ahash()
257 int bs = crypto_ahash_blocksize(parent); in hmac_setkey_ahash()
[all …]
A Dcmac.c37 static int crypto_cmac_digest_setkey(struct crypto_shash *parent, in crypto_cmac_digest_setkey() argument
40 struct cmac_tfm_ctx *ctx = crypto_shash_ctx(parent); in crypto_cmac_digest_setkey()
41 unsigned int bs = crypto_shash_blocksize(parent); in crypto_cmac_digest_setkey()
102 struct crypto_shash *parent = pdesc->tfm; in crypto_cmac_digest_update() local
103 struct cmac_tfm_ctx *tctx = crypto_shash_ctx(parent); in crypto_cmac_digest_update()
105 int bs = crypto_shash_blocksize(parent); in crypto_cmac_digest_update()
120 struct crypto_shash *parent = pdesc->tfm; in crypto_cmac_digest_finup() local
121 struct cmac_tfm_ctx *tctx = crypto_shash_ctx(parent); in crypto_cmac_digest_finup()
123 int bs = crypto_shash_blocksize(parent); in crypto_cmac_digest_finup()
A Dxcbc.c38 static int crypto_xcbc_digest_setkey(struct crypto_shash *parent, in crypto_xcbc_digest_setkey() argument
41 struct xcbc_tfm_ctx *ctx = crypto_shash_ctx(parent); in crypto_xcbc_digest_setkey()
70 struct crypto_shash *parent = pdesc->tfm; in crypto_xcbc_digest_update() local
71 struct xcbc_tfm_ctx *tctx = crypto_shash_ctx(parent); in crypto_xcbc_digest_update()
73 int bs = crypto_shash_blocksize(parent); in crypto_xcbc_digest_update()
88 struct crypto_shash *parent = pdesc->tfm; in crypto_xcbc_digest_finup() local
89 struct xcbc_tfm_ctx *tctx = crypto_shash_ctx(parent); in crypto_xcbc_digest_finup()
91 int bs = crypto_shash_blocksize(parent); in crypto_xcbc_digest_finup()
A Dccm.c566 struct crypto_rfc4309_ctx *ctx = crypto_aead_ctx(parent); in crypto_rfc4309_setkey()
576 crypto_aead_set_flags(child, crypto_aead_get_flags(parent) & in crypto_rfc4309_setkey()
581 static int crypto_rfc4309_setauthsize(struct crypto_aead *parent, in crypto_rfc4309_setauthsize() argument
584 struct crypto_rfc4309_ctx *ctx = crypto_aead_ctx(parent); in crypto_rfc4309_setauthsize()
775 struct cbcmac_tfm_ctx *ctx = crypto_shash_ctx(parent); in crypto_cbcmac_digest_setkey()
792 struct crypto_shash *parent = pdesc->tfm; in crypto_cbcmac_digest_update() local
793 struct cbcmac_tfm_ctx *tctx = crypto_shash_ctx(parent); in crypto_cbcmac_digest_update()
795 int bs = crypto_shash_digestsize(parent); in crypto_cbcmac_digest_update()
810 struct crypto_shash *parent = pdesc->tfm; in crypto_cbcmac_digest_finup() local
811 struct cbcmac_tfm_ctx *tctx = crypto_shash_ctx(parent); in crypto_cbcmac_digest_finup()
[all …]
A Dalgif_skcipher.c42 struct sock *psk = ask->parent; in skcipher_sendmsg()
64 psk = ask->parent; in algif_skcipher_export()
101 struct sock *psk = ask->parent; in _skcipher_recvmsg()
278 psk = ask->parent; in skcipher_check_key()
279 pask = alg_sk(ask->parent); in skcipher_check_key()
362 struct sock *psk = ask->parent; in skcipher_sock_destruct()
A Dalgif_aead.c41 struct sock *psk = ask->parent; in aead_sufficient_data()
58 struct sock *psk = ask->parent; in aead_sendmsg()
71 struct sock *psk = ask->parent; in _aead_recvmsg()
359 psk = ask->parent; in aead_check_key()
360 pask = alg_sk(ask->parent); in aead_check_key()
448 struct sock *psk = ask->parent; in aead_sock_destruct()
A Dxts.c41 static int xts_setkey(struct crypto_skcipher *parent, const u8 *key, in xts_setkey() argument
44 struct xts_tfm_ctx *ctx = crypto_skcipher_ctx(parent); in xts_setkey()
49 err = xts_verify_key(parent, key, keylen); in xts_setkey()
62 crypto_cipher_set_flags(tweak, crypto_skcipher_get_flags(parent) & in xts_setkey()
71 crypto_skcipher_set_flags(child, crypto_skcipher_get_flags(parent) & in xts_setkey()
A Dpcrypt.c42 static int pcrypt_aead_setkey(struct crypto_aead *parent, in pcrypt_aead_setkey() argument
45 struct pcrypt_aead_ctx *ctx = crypto_aead_ctx(parent); in pcrypt_aead_setkey()
50 static int pcrypt_aead_setauthsize(struct crypto_aead *parent, in pcrypt_aead_setauthsize() argument
53 struct pcrypt_aead_ctx *ctx = crypto_aead_ctx(parent); in pcrypt_aead_setauthsize()
A Dcryptd.c233 static int cryptd_skcipher_setkey(struct crypto_skcipher *parent, in cryptd_skcipher_setkey() argument
236 struct cryptd_skcipher_ctx *ctx = crypto_skcipher_ctx(parent); in cryptd_skcipher_setkey()
241 crypto_skcipher_get_flags(parent) & in cryptd_skcipher_setkey()
477 static int cryptd_hash_setkey(struct crypto_ahash *parent, in cryptd_hash_setkey() argument
480 struct cryptd_hash_ctx *ctx = crypto_ahash_ctx(parent); in cryptd_hash_setkey()
484 crypto_shash_set_flags(child, crypto_ahash_get_flags(parent) & in cryptd_hash_setkey()
725 static int cryptd_aead_setkey(struct crypto_aead *parent, in cryptd_aead_setkey() argument
728 struct cryptd_aead_ctx *ctx = crypto_aead_ctx(parent); in cryptd_aead_setkey()
734 static int cryptd_aead_setauthsize(struct crypto_aead *parent, in cryptd_aead_setauthsize() argument
737 struct cryptd_aead_ctx *ctx = crypto_aead_ctx(parent); in cryptd_aead_setauthsize()
A Dgcm.c683 static int crypto_rfc4106_setkey(struct crypto_aead *parent, const u8 *key, in crypto_rfc4106_setkey() argument
686 struct crypto_rfc4106_ctx *ctx = crypto_aead_ctx(parent); in crypto_rfc4106_setkey()
696 crypto_aead_set_flags(child, crypto_aead_get_flags(parent) & in crypto_rfc4106_setkey()
701 static int crypto_rfc4106_setauthsize(struct crypto_aead *parent, in crypto_rfc4106_setauthsize() argument
704 struct crypto_rfc4106_ctx *ctx = crypto_aead_ctx(parent); in crypto_rfc4106_setauthsize()
891 static int crypto_rfc4543_setkey(struct crypto_aead *parent, const u8 *key, in crypto_rfc4543_setkey() argument
894 struct crypto_rfc4543_ctx *ctx = crypto_aead_ctx(parent); in crypto_rfc4543_setkey()
904 crypto_aead_set_flags(child, crypto_aead_get_flags(parent) & in crypto_rfc4543_setkey()
909 static int crypto_rfc4543_setauthsize(struct crypto_aead *parent, in crypto_rfc4543_setauthsize() argument
912 struct crypto_rfc4543_ctx *ctx = crypto_aead_ctx(parent); in crypto_rfc4543_setauthsize()
A Dlrw.c68 static int lrw_setkey(struct crypto_skcipher *parent, const u8 *key, in lrw_setkey() argument
71 struct lrw_tfm_ctx *ctx = crypto_skcipher_ctx(parent); in lrw_setkey()
79 crypto_skcipher_set_flags(child, crypto_skcipher_get_flags(parent) & in lrw_setkey()
A Dctr.c169 static int crypto_rfc3686_setkey(struct crypto_skcipher *parent, in crypto_rfc3686_setkey() argument
172 struct crypto_rfc3686_ctx *ctx = crypto_skcipher_ctx(parent); in crypto_rfc3686_setkey()
185 crypto_skcipher_set_flags(child, crypto_skcipher_get_flags(parent) & in crypto_rfc3686_setkey()
A Dcts.c76 static int crypto_cts_setkey(struct crypto_skcipher *parent, const u8 *key, in crypto_cts_setkey() argument
79 struct crypto_cts_ctx *ctx = crypto_skcipher_ctx(parent); in crypto_cts_setkey()
83 crypto_skcipher_set_flags(child, crypto_skcipher_get_flags(parent) & in crypto_cts_setkey()
A Dalgif_hash.c255 err = af_alg_accept(ask->parent, newsock, arg); in hash_accept()
307 psk = ask->parent; in hash_check_key()
308 pask = alg_sk(ask->parent); in hash_check_key()
A Daf_alg.c137 sk = ask->parent; in af_alg_release_parent()
455 alg_sk(sk2)->parent = sk; in af_alg_accept()

Completed in 36 milliseconds