Home
last modified time | relevance | path

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

12

/Linux-v5.4/include/crypto/
Dskcipher.h370 static inline int crypto_skcipher_setkey(struct crypto_skcipher *tfm, in crypto_skcipher_setkey() function
379 return crypto_skcipher_setkey(&tfm->base, key, keylen); in crypto_sync_skcipher_setkey()
/Linux-v5.4/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-v5.4/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-v5.4/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-v5.4/fs/crypto/
Dkeysetup_v1.c71 res = crypto_skcipher_setkey(tfm, nonce, FS_KEY_DERIVATION_NONCE_SIZE); in derive_key_aes()
Dkeysetup.c103 err = crypto_skcipher_setkey(tfm, raw_key, mode->keysize); in fscrypt_allocate_skcipher()
/Linux-v5.4/crypto/
Dlrw.c81 err = crypto_skcipher_setkey(child, key, keylen - bsize); in setkey()
Dalgif_skcipher.c316 return crypto_skcipher_setkey(private, key, keylen); in skcipher_setkey()
Dctr.c188 err = crypto_skcipher_setkey(child, key, keylen); in crypto_rfc3686_setkey()
Dcts.c86 err = crypto_skcipher_setkey(child, key, keylen); in crypto_cts_setkey()
Dxts.c74 err = crypto_skcipher_setkey(child, key, keylen); in setkey()
Dsimd.c60 err = crypto_skcipher_setkey(child, key, key_len); in simd_skcipher_setkey()
Dauthencesn.c83 err = crypto_skcipher_setkey(enc, keys.enckey, keys.enckeylen); in crypto_authenc_esn_setkey()
Dauthenc.c109 err = crypto_skcipher_setkey(enc, keys.enckey, keys.enckeylen); in crypto_authenc_setkey()
Dessiv.c77 err = crypto_skcipher_setkey(tctx->u.skcipher, key, keylen); in essiv_skcipher_setkey()
Dadiantum.c136 err = crypto_skcipher_setkey(tctx->streamcipher, key, keylen); in adiantum_setkey()
Ddrbg.c552 ret = crypto_skcipher_setkey(drbg->ctr_handle, drbg->C, in drbg_ctr_update()
571 ret = crypto_skcipher_setkey(drbg->ctr_handle, temp, in drbg_ctr_update()
Dchacha20poly1305.c492 err = crypto_skcipher_setkey(ctx->chacha, key, keylen); in chachapoly_setkey()
/Linux-v5.4/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()
Dcrypto.c338 rc = crypto_skcipher_setkey(crypt_stat->tfm, crypt_stat->key, in crypt_scatterlist()
1591 rc = crypto_skcipher_setkey(*key_tfm, dummy_key, *key_size); in ecryptfs_process_key_cipher()
/Linux-v5.4/drivers/crypto/
Domap-aes-gcm.c195 ret = crypto_skcipher_setkey(ctx->ctr, (u8 *)ctx->key, ctx->keylen); in do_encrypt_iv()
/Linux-v5.4/security/keys/encrypted-keys/
Dencrypted.c403 ret = crypto_skcipher_setkey(tfm, key, key_len); in init_skcipher_req()

12