Searched refs:sk_tfm (Results 1 – 2 of 2) sorted by relevance
1746 struct crypto_skcipher *sk_tfm; in drbg_init_sym_kernel() local1765 sk_tfm = crypto_alloc_skcipher(ctr_name, 0, 0); in drbg_init_sym_kernel()1766 if (IS_ERR(sk_tfm)) { in drbg_init_sym_kernel()1770 return PTR_ERR(sk_tfm); in drbg_init_sym_kernel()1772 drbg->ctr_handle = sk_tfm; in drbg_init_sym_kernel()1775 req = skcipher_request_alloc(sk_tfm, GFP_KERNEL); in drbg_init_sym_kernel()1786 alignmask = crypto_skcipher_alignmask(sk_tfm); in drbg_init_sym_kernel()
858 struct crypto_skcipher *sk_tfm = crypto_skcipher_reqtfm(req); in cc_cipher_complete() local859 unsigned int ivsize = crypto_skcipher_ivsize(sk_tfm); in cc_cipher_complete()874 struct crypto_skcipher *sk_tfm = crypto_skcipher_reqtfm(req); in cc_cipher_process() local875 struct crypto_tfm *tfm = crypto_skcipher_tfm(sk_tfm); in cc_cipher_process()877 unsigned int ivsize = crypto_skcipher_ivsize(sk_tfm); in cc_cipher_process()