Searched refs:sk_tfm (Results 1 – 2 of 2) sorted by relevance
1762 struct crypto_skcipher *sk_tfm; in drbg_init_sym_kernel() local1781 sk_tfm = crypto_alloc_skcipher(ctr_name, 0, 0); in drbg_init_sym_kernel()1782 if (IS_ERR(sk_tfm)) { in drbg_init_sym_kernel()1786 return PTR_ERR(sk_tfm); in drbg_init_sym_kernel()1788 drbg->ctr_handle = sk_tfm; in drbg_init_sym_kernel()1791 req = skcipher_request_alloc(sk_tfm, GFP_KERNEL); in drbg_init_sym_kernel()1802 alignmask = crypto_skcipher_alignmask(sk_tfm); in drbg_init_sym_kernel()
864 struct crypto_skcipher *sk_tfm = crypto_skcipher_reqtfm(req); in cc_cipher_complete() local865 unsigned int ivsize = crypto_skcipher_ivsize(sk_tfm); in cc_cipher_complete()880 struct crypto_skcipher *sk_tfm = crypto_skcipher_reqtfm(req); in cc_cipher_process() local881 struct crypto_tfm *tfm = crypto_skcipher_tfm(sk_tfm); in cc_cipher_process()883 unsigned int ivsize = crypto_skcipher_ivsize(sk_tfm); in cc_cipher_process()