Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/crypto/allwinner/sun8i-ss/
H A Dsun8i-ss-cipher.c369 struct crypto_skcipher *sktfm = __crypto_skcipher_cast(tfm); in sun8i_ss_cipher_init() local
370 struct skcipher_alg *alg = crypto_skcipher_alg(sktfm); in sun8i_ss_cipher_init()
385 sktfm->reqsize = sizeof(struct sun8i_cipher_req_ctx) + in sun8i_ss_cipher_init()
390 crypto_tfm_alg_driver_name(&sktfm->base), in sun8i_ss_cipher_init()
/OK3568_Linux_fs/kernel/drivers/crypto/allwinner/sun8i-ce/
H A Dsun8i-ce-cipher.c379 struct crypto_skcipher *sktfm = __crypto_skcipher_cast(tfm); in sun8i_ce_cipher_init() local
380 struct skcipher_alg *alg = crypto_skcipher_alg(sktfm); in sun8i_ce_cipher_init()
395 sktfm->reqsize = sizeof(struct sun8i_cipher_req_ctx) + in sun8i_ce_cipher_init()
400 crypto_tfm_alg_driver_name(&sktfm->base), in sun8i_ce_cipher_init()
/OK3568_Linux_fs/kernel/drivers/crypto/amlogic/
H A Damlogic-gxl-cipher.c316 struct crypto_skcipher *sktfm = __crypto_skcipher_cast(tfm); in meson_cipher_init() local
317 struct skcipher_alg *alg = crypto_skcipher_alg(sktfm); in meson_cipher_init()
331 sktfm->reqsize = sizeof(struct meson_cipher_req_ctx) + in meson_cipher_init()
/OK3568_Linux_fs/kernel/drivers/crypto/ccree/
H A Dcc_cipher.c298 static int cc_cipher_sethkey(struct crypto_skcipher *sktfm, const u8 *key, in cc_cipher_sethkey() argument
301 struct crypto_tfm *tfm = crypto_skcipher_tfm(sktfm); in cc_cipher_sethkey()
398 static int cc_cipher_setkey(struct crypto_skcipher *sktfm, const u8 *key, in cc_cipher_setkey() argument
401 struct crypto_tfm *tfm = crypto_skcipher_tfm(sktfm); in cc_cipher_setkey()
452 verify_skcipher_des3_key(sktfm, key)) || in cc_cipher_setkey()
453 verify_skcipher_des_key(sktfm, key)) { in cc_cipher_setkey()