Home
last modified time | relevance | path

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

123

/linux-6.1.9/include/crypto/
Dskcipher.h368 int crypto_skcipher_setkey(struct crypto_skcipher *tfm,
374 return crypto_skcipher_setkey(&tfm->base, key, keylen); in crypto_sync_skcipher_setkey()
/linux-6.1.9/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));
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/drivers/crypto/allwinner/sun4i-ss/
Dsun4i-ss-cipher.c603 return crypto_skcipher_setkey(op->fallback_tfm, key, keylen); in sun4i_ss_aes_setkey()
623 return crypto_skcipher_setkey(op->fallback_tfm, key, keylen); in sun4i_ss_des_setkey()
643 return crypto_skcipher_setkey(op->fallback_tfm, key, keylen); in sun4i_ss_des3_setkey()
/linux-6.1.9/block/
Dblk-crypto-fallback.c101 err = crypto_skcipher_setkey(slotp->tfms[crypto_mode], blank_key, in blk_crypto_fallback_evict_keyslot()
122 err = crypto_skcipher_setkey(slotp->tfms[crypto_mode], key->raw, in blk_crypto_fallback_keyslot_program()
/linux-6.1.9/drivers/crypto/allwinner/sun8i-ce/
Dsun8i-ce-cipher.c476 return crypto_skcipher_setkey(op->fallback_tfm, key, keylen); in sun8i_ce_aes_setkey()
498 return crypto_skcipher_setkey(op->fallback_tfm, key, keylen); in sun8i_ce_des3_setkey()
/linux-6.1.9/drivers/crypto/allwinner/sun8i-ss/
Dsun8i-ss-cipher.c462 return crypto_skcipher_setkey(op->fallback_tfm, key, keylen); in sun8i_ss_aes_setkey()
485 return crypto_skcipher_setkey(op->fallback_tfm, key, keylen); in sun8i_ss_des3_setkey()
/linux-6.1.9/fs/crypto/
Dkeysetup_v1.c71 res = crypto_skcipher_setkey(tfm, nonce, FSCRYPT_FILE_NONCE_SIZE); in derive_key_aes()
/linux-6.1.9/tools/testing/crypto/chacha20-s390/
Dtest-cipher.c155 if (crypto_skcipher_setkey(skcipher, key, 32)) { in test_skcipher()
/linux-6.1.9/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()
/linux-6.1.9/crypto/
Dctr.c187 return crypto_skcipher_setkey(child, key, keylen); in crypto_rfc3686_setkey()
Dlrw.c81 err = crypto_skcipher_setkey(child, key, keylen - bsize); in lrw_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.c594 int crypto_skcipher_setkey(struct crypto_skcipher *tfm, const u8 *key, in crypto_skcipher_setkey() function
617 EXPORT_SYMBOL_GPL(crypto_skcipher_setkey);
Dxts.c73 return crypto_skcipher_setkey(child, key, keylen); in xts_setkey()
/linux-6.1.9/drivers/crypto/
Dgeode-aes.c160 return crypto_skcipher_setkey(tctx->fallback.skcipher, key, len); in geode_setkey_skcipher()
/linux-6.1.9/fs/ecryptfs/
Dkeystore.c814 rc = crypto_skcipher_setkey( in ecryptfs_write_tag_70_packet()
1030 rc = crypto_skcipher_setkey( in ecryptfs_parse_tag_70_packet()
1707 rc = crypto_skcipher_setkey( in decrypt_passphrase_encrypted_session_key()
2280 rc = crypto_skcipher_setkey(tfm, session_key_encryption_key, in write_tag_3_packet()
/linux-6.1.9/drivers/crypto/gemini/
Dsl3516-ce-cipher.c388 return crypto_skcipher_setkey(op->fallback_tfm, key, keylen); in sl3516_ce_aes_setkey()
/linux-6.1.9/drivers/crypto/amlogic/
Damlogic-gxl-cipher.c375 return crypto_skcipher_setkey(op->fallback_tfm, key, keylen); in meson_aes_setkey()

123