Lines Matching refs:skcipher
138 struct skcipher_alg skcipher; member
822 crypto_free_sync_skcipher(ctx->fallback.skcipher); in sa_cipher_cra_exit()
844 ctx->fallback.skcipher = in sa_cipher_cra_init()
847 if (IS_ERR(ctx->fallback.skcipher)) { in sa_cipher_cra_init()
849 return PTR_ERR(ctx->fallback.skcipher); in sa_cipher_cra_init()
877 crypto_sync_skcipher_clear_flags(ctx->fallback.skcipher, in sa_cipher_setkey()
879 crypto_sync_skcipher_set_flags(ctx->fallback.skcipher, in sa_cipher_setkey()
882 ret = crypto_sync_skcipher_setkey(ctx->fallback.skcipher, key, keylen); in sa_cipher_setkey()
1289 SYNC_SKCIPHER_REQUEST_ON_STACK(subreq, ctx->fallback.skcipher); in sa_cipher_run()
1291 skcipher_request_set_sync_tfm(subreq, ctx->fallback.skcipher); in sa_cipher_run()
1954 .alg.skcipher = {
1977 .alg.skcipher = {
1999 .alg.skcipher = {
2022 .alg.skcipher = {
2196 alg_name = sa_algs[i].alg.skcipher.base.cra_name; in sa_register_algos()
2197 err = crypto_register_skcipher(&sa_algs[i].alg.skcipher); in sa_register_algos()
2229 crypto_unregister_skcipher(&sa_algs[i].alg.skcipher); in sa_unregister_algos()