Home
last modified time | relevance | path

Searched refs:sktfm (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/crypto/gemini/
H A Dsl3516-ce-cipher.c319 struct crypto_skcipher *sktfm = __crypto_skcipher_cast(tfm); in sl3516_ce_cipher_init() local
320 struct skcipher_alg *alg = crypto_skcipher_alg(sktfm); in sl3516_ce_cipher_init()
335 sktfm->reqsize = sizeof(struct sl3516_ce_cipher_req_ctx) + in sl3516_ce_cipher_init()
339 crypto_tfm_alg_driver_name(&sktfm->base), in sl3516_ce_cipher_init()
/openbmc/linux/drivers/crypto/amlogic/
H A Damlogic-gxl-cipher.c315 struct crypto_skcipher *sktfm = __crypto_skcipher_cast(tfm); in meson_cipher_init() local
316 struct skcipher_alg *alg = crypto_skcipher_alg(sktfm); in meson_cipher_init()
330 sktfm->reqsize = sizeof(struct meson_cipher_req_ctx) + in meson_cipher_init()
/openbmc/linux/drivers/crypto/ccree/
H A Dcc_cipher.c301 static int cc_cipher_sethkey(struct crypto_skcipher *sktfm, const u8 *key, in cc_cipher_sethkey() argument
304 struct crypto_tfm *tfm = crypto_skcipher_tfm(sktfm); in cc_cipher_sethkey()
401 static int cc_cipher_setkey(struct crypto_skcipher *sktfm, const u8 *key, in cc_cipher_setkey() argument
404 struct crypto_tfm *tfm = crypto_skcipher_tfm(sktfm); in cc_cipher_setkey()
455 verify_skcipher_des3_key(sktfm, key)) || in cc_cipher_setkey()
456 verify_skcipher_des_key(sktfm, key)) { in cc_cipher_setkey()
463 xts_verify_key(sktfm, key, keylen)) { in cc_cipher_setkey()
/openbmc/linux/drivers/crypto/allwinner/sun8i-ss/
H A Dsun8i-ss-cipher.c392 struct crypto_skcipher *sktfm = __crypto_skcipher_cast(tfm); in sun8i_ss_cipher_init() local
393 struct skcipher_alg *alg = crypto_skcipher_alg(sktfm); in sun8i_ss_cipher_init()
408 sktfm->reqsize = sizeof(struct sun8i_cipher_req_ctx) + in sun8i_ss_cipher_init()
/openbmc/linux/drivers/crypto/allwinner/sun8i-ce/
H A Dsun8i-ce-cipher.c418 struct crypto_skcipher *sktfm = __crypto_skcipher_cast(tfm); in sun8i_ce_cipher_init() local
419 struct skcipher_alg *alg = crypto_skcipher_alg(sktfm); in sun8i_ce_cipher_init()
434 sktfm->reqsize = sizeof(struct sun8i_cipher_req_ctx) + in sun8i_ce_cipher_init()