Home
last modified time | relevance | path

Searched refs:crypto_skcipher_setkey (Results 1 – 25 of 56) sorted by relevance

123

/kernel/linux/linux-5.10/include/crypto/
Dskcipher.h364 int crypto_skcipher_setkey(struct crypto_skcipher *tfm,
370 return crypto_skcipher_setkey(&tfm->base, key, keylen); in crypto_sync_skcipher_setkey()
/kernel/linux/linux-5.10/Documentation/crypto/
Dapi-skcipher.rst17 …to_has_skcipher crypto_skcipher_ivsize crypto_skcipher_blocksize crypto_skcipher_setkey crypto_skc…
Dapi-samples.rst40 err = crypto_skcipher_setkey(tfm, key, sizeof(key));
/kernel/linux/linux-5.10/net/mac80211/
Dfils_aead.c122 res = crypto_skcipher_setkey(tfm2, key + key_len, key_len); in aes_siv_encrypt()
179 res = crypto_skcipher_setkey(tfm2, key + key_len, key_len); in aes_siv_decrypt()
/kernel/linux/linux-5.10/drivers/crypto/vmx/
Daes_cbc.c66 ret |= crypto_skcipher_setkey(ctx->fallback, key, keylen); in p8_aes_cbc_setkey()
Daes_ctr.c64 ret |= crypto_skcipher_setkey(ctx->fallback, key, keylen); in p8_aes_ctr_setkey()
Daes_xts.c73 ret |= crypto_skcipher_setkey(ctx->fallback, key, keylen); in p8_aes_xts_setkey()
/kernel/linux/linux-5.10/drivers/crypto/allwinner/sun4i-ss/
Dsun4i-ss-cipher.c591 return crypto_skcipher_setkey(op->fallback_tfm, key, keylen); in sun4i_ss_aes_setkey()
611 return crypto_skcipher_setkey(op->fallback_tfm, key, keylen); in sun4i_ss_des_setkey()
631 return crypto_skcipher_setkey(op->fallback_tfm, key, keylen); in sun4i_ss_des3_setkey()
/kernel/linux/linux-5.10/drivers/crypto/rockchip/
Drk3288_crypto_skcipher.c97 return crypto_skcipher_setkey(ctx->fallback_tfm, key, keylen); in rk_aes_setkey()
113 return crypto_skcipher_setkey(ctx->fallback_tfm, key, keylen); in rk_des_setkey()
129 return crypto_skcipher_setkey(ctx->fallback_tfm, key, keylen); in rk_tdes_setkey()
/kernel/linux/linux-5.10/block/
Dblk-crypto-fallback.c99 err = crypto_skcipher_setkey(slotp->tfms[crypto_mode], blank_key, in blk_crypto_evict_keyslot()
119 err = crypto_skcipher_setkey(slotp->tfms[crypto_mode], key->raw, in blk_crypto_keyslot_program()
/kernel/linux/linux-5.10/drivers/hyperhold/
Dhp_device.c146 ret = crypto_skcipher_setkey(ctfm, key, key_len); in soft_crypto_init()
/kernel/linux/linux-5.10/drivers/crypto/allwinner/sun8i-ss/
Dsun8i-ss-cipher.c444 return crypto_skcipher_setkey(op->fallback_tfm, key, keylen); in sun8i_ss_aes_setkey()
467 return crypto_skcipher_setkey(op->fallback_tfm, key, keylen); in sun8i_ss_des3_setkey()
/kernel/linux/linux-5.10/drivers/crypto/allwinner/sun8i-ce/
Dsun8i-ce-cipher.c453 return crypto_skcipher_setkey(op->fallback_tfm, key, keylen); in sun8i_ce_aes_setkey()
475 return crypto_skcipher_setkey(op->fallback_tfm, key, keylen); in sun8i_ce_des3_setkey()
/kernel/linux/linux-5.10/fs/crypto/
Dkeysetup_v1.c71 res = crypto_skcipher_setkey(tfm, nonce, FSCRYPT_FILE_NONCE_SIZE); in derive_key_aes()
/kernel/linux/linux-5.10/drivers/crypto/ccp/
Dccp-crypto-aes-xts.c101 return crypto_skcipher_setkey(ctx->u.aes.tfm_skcipher, key, key_len); in ccp_aes_xts_setkey()
/kernel/linux/linux-5.10/crypto/
Dlrw.c81 err = crypto_skcipher_setkey(child, key, keylen - bsize); in lrw_setkey()
Dctr.c186 return crypto_skcipher_setkey(child, key, keylen); in crypto_rfc3686_setkey()
Dalgif_skcipher.c305 return crypto_skcipher_setkey(private, key, keylen); in skcipher_setkey()
Dcts.c85 return crypto_skcipher_setkey(child, key, keylen); in crypto_cts_setkey()
Dskcipher.c599 int crypto_skcipher_setkey(struct crypto_skcipher *tfm, const u8 *key, in crypto_skcipher_setkey() function
622 EXPORT_SYMBOL_GPL(crypto_skcipher_setkey);
Dxts.c72 return crypto_skcipher_setkey(child, key, keylen); in xts_setkey()
/kernel/linux/linux-5.10/drivers/crypto/
Dgeode-aes.c159 return crypto_skcipher_setkey(tctx->fallback.skcipher, key, len); in geode_setkey_skcipher()
/kernel/linux/linux-5.10/fs/ecryptfs/
Dkeystore.c813 rc = crypto_skcipher_setkey( in ecryptfs_write_tag_70_packet()
1029 rc = crypto_skcipher_setkey( in ecryptfs_parse_tag_70_packet()
1706 rc = crypto_skcipher_setkey( in decrypt_passphrase_encrypted_session_key()
2279 rc = crypto_skcipher_setkey(tfm, session_key_encryption_key, in write_tag_3_packet()
/kernel/linux/linux-5.10/drivers/crypto/amlogic/
Damlogic-gxl-cipher.c375 return crypto_skcipher_setkey(op->fallback_tfm, key, keylen); in meson_aes_setkey()
/kernel/linux/linux-5.10/arch/s390/crypto/
Daes_s390.c184 return crypto_skcipher_setkey(sctx->fallback.skcipher, key, len); in setkey_fallback_skcipher()
386 return crypto_skcipher_setkey(xts_ctx->fallback, key, len); in xts_fallback_setkey()

123