/openbmc/linux/include/crypto/ |
H A D | skcipher.h | 390 int crypto_skcipher_setkey(struct crypto_skcipher *tfm, 396 return crypto_skcipher_setkey(&tfm->base, key, keylen); in crypto_sync_skcipher_setkey()
|
/openbmc/linux/Documentation/crypto/ |
H A D | api-skcipher.rst | 17 …to_has_skcipher crypto_skcipher_ivsize crypto_skcipher_blocksize crypto_skcipher_setkey crypto_skc…
|
H A D | api-samples.rst | 40 err = crypto_skcipher_setkey(tfm, key, sizeof(key));
|
/openbmc/linux/net/mac80211/ |
H A D | fils_aead.c | 122 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()
|
/openbmc/linux/drivers/crypto/vmx/ |
H A D | aes_cbc.c | 66 ret |= crypto_skcipher_setkey(ctx->fallback, key, keylen); in p8_aes_cbc_setkey()
|
H A D | aes_ctr.c | 64 ret |= crypto_skcipher_setkey(ctx->fallback, key, keylen); in p8_aes_ctr_setkey()
|
H A D | aes_xts.c | 73 ret |= crypto_skcipher_setkey(ctx->fallback, key, keylen); in p8_aes_xts_setkey()
|
/openbmc/linux/drivers/crypto/rockchip/ |
H A D | rk3288_crypto_skcipher.c | 120 return crypto_skcipher_setkey(ctx->fallback_tfm, key, keylen); in rk_aes_setkey() 136 return crypto_skcipher_setkey(ctx->fallback_tfm, key, keylen); in rk_des_setkey() 152 return crypto_skcipher_setkey(ctx->fallback_tfm, key, keylen); in rk_tdes_setkey()
|
/openbmc/linux/drivers/crypto/allwinner/sun4i-ss/ |
H A D | sun4i-ss-cipher.c | 603 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()
|
/openbmc/linux/block/ |
H A D | blk-crypto-fallback.c | 101 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()
|
/openbmc/linux/drivers/crypto/allwinner/sun8i-ss/ |
H A D | sun8i-ss-cipher.c | 463 return crypto_skcipher_setkey(op->fallback_tfm, key, keylen); in sun8i_ss_aes_setkey() 486 return crypto_skcipher_setkey(op->fallback_tfm, key, keylen); in sun8i_ss_des3_setkey()
|
/openbmc/linux/drivers/crypto/allwinner/sun8i-ce/ |
H A D | sun8i-ce-cipher.c | 487 return crypto_skcipher_setkey(op->fallback_tfm, key, keylen); in sun8i_ce_aes_setkey() 509 return crypto_skcipher_setkey(op->fallback_tfm, key, keylen); in sun8i_ce_des3_setkey()
|
/openbmc/linux/tools/testing/crypto/chacha20-s390/ |
H A D | test-cipher.c | 155 if (crypto_skcipher_setkey(skcipher, key, 32)) { in test_skcipher()
|
/openbmc/linux/fs/crypto/ |
H A D | keysetup_v1.c | 71 res = crypto_skcipher_setkey(tfm, nonce, FSCRYPT_FILE_NONCE_SIZE); in derive_key_aes()
|
/openbmc/linux/drivers/crypto/ccp/ |
H A D | ccp-crypto-aes-xts.c | 101 return crypto_skcipher_setkey(ctx->u.aes.tfm_skcipher, key, key_len); in ccp_aes_xts_setkey()
|
/openbmc/linux/crypto/ |
H A D | algif_skcipher.c | 291 return crypto_skcipher_setkey(private, key, keylen); in skcipher_setkey()
|
H A D | lrw.c | 81 err = crypto_skcipher_setkey(child, key, keylen - bsize); in lrw_setkey()
|
H A D | ctr.c | 187 return crypto_skcipher_setkey(child, key, keylen); in crypto_rfc3686_setkey()
|
H A D | cts.c | 85 return crypto_skcipher_setkey(child, key, keylen); in crypto_cts_setkey()
|
/openbmc/linux/fs/ecryptfs/ |
H A D | keystore.c | 816 rc = crypto_skcipher_setkey( in ecryptfs_write_tag_70_packet() 1032 rc = crypto_skcipher_setkey( in ecryptfs_parse_tag_70_packet() 1709 rc = crypto_skcipher_setkey( in decrypt_passphrase_encrypted_session_key() 2282 rc = crypto_skcipher_setkey(tfm, session_key_encryption_key, in write_tag_3_packet()
|
/openbmc/linux/drivers/crypto/ |
H A D | geode-aes.c | 160 return crypto_skcipher_setkey(tctx->fallback.skcipher, key, len); in geode_setkey_skcipher()
|
/openbmc/linux/drivers/crypto/gemini/ |
H A D | sl3516-ce-cipher.c | 388 return crypto_skcipher_setkey(op->fallback_tfm, key, keylen); in sl3516_ce_aes_setkey()
|
/openbmc/linux/drivers/crypto/amlogic/ |
H A D | amlogic-gxl-cipher.c | 370 return crypto_skcipher_setkey(op->fallback_tfm, key, keylen); in meson_aes_setkey()
|
/openbmc/linux/drivers/crypto/marvell/octeontx2/ |
H A D | otx2_cptvf_algs.c | 437 return crypto_skcipher_setkey(ctx->fbk_cipher, key, keylen); in otx2_cpt_skcipher_xts_setkey() 454 return crypto_skcipher_setkey(ctx->fbk_cipher, key, keylen); in cpt_des_setkey() 485 return crypto_skcipher_setkey(ctx->fbk_cipher, key, keylen); in cpt_aes_setkey()
|
/openbmc/linux/drivers/crypto/aspeed/ |
H A D | aspeed-hace-crypto.c | 461 return crypto_skcipher_setkey(ctx->fallback_tfm, key, keylen); in aspeed_des_setkey() 649 return crypto_skcipher_setkey(ctx->fallback_tfm, key, keylen); in aspeed_aes_setkey()
|