aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/tpm
AgeCommit message (Expand)AuthorFilesLines
7 daystpm2-sessions: Open code tpm_buf_append_hmac_session()Jarkko Sakkinen1-3/+11
7 daystpm2-sessions: Remove 'attributes' parameter from tpm_buf_append_authJarkko Sakkinen2-4/+3
7 daystpm2-sessions: Fix tpm2_read_public range checksJarkko Sakkinen2-44/+53
7 daystpm2-sessions: Fix out of range indexing in name_sizeJarkko Sakkinen2-44/+111
9 daystpm: Cap the number of PCR banksJarkko Sakkinen3-11/+3
9 daystpm: Remove tpm_find_get_opsJonathan McDowell4-43/+17
9 daystpm: add WQ_PERCPU to alloc_workqueue usersMarco Crivellari1-1/+2
9 daystpm_crb: add missing loc parameter to kerneldocStuart Yoder1-0/+2
9 daystpm_crb: Fix a spelling mistakeChu Guangqing1-1/+1
13 daysKEYS: trusted: Replace a redundant instance of tpm2_hash_mapJarkko Sakkinen1-1/+13
2025-10-18tpm_crb: Add idle support for the Arm FF-A start methodStuart Yoder1-9/+20
2025-10-10tpm: Prevent local DOS via tpm/tpm0/ppi/*operationsDenis Aleksandrov1-23/+66
2025-10-10tpm: use a map for tpm2_calc_ordinal_duration()Jarkko Sakkinen3-97/+34
2025-10-10tpm_tis: Fix incorrect arguments in tpm_tis_probe_irq_singleGunnar Kudrjavets1-2/+2
2025-10-10tpm: Use HMAC-SHA256 library instead of open-coded HMACEric Biggers1-71/+27
2025-10-10tpm: Compare HMAC values in constant timeEric Biggers2-3/+4
2025-10-10tpm: Disable TPM2_TCG_HMAC by defaultJarkko Sakkinen1-1/+1
2025-09-25tpm: loongson: Add bufsiz parameter to tpm_loongson_send()Nathan Chancellor1-1/+1
2025-09-02tpm: Add a driver for Loongson TPM deviceQunqin Zhao3-0/+94
2025-07-28Merge tag 'tpmdd-next-6.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds21-150/+187
2025-07-28Merge tag 'libcrypto-updates-for-linus' of git://git.kernel.org/pub/scm/linux...Linus Torvalds1-6/+6
2025-07-23tpm_crb_ffa: handle tpm busy return codePrachotan Bathi1-7/+38
2025-07-23tpm_crb_ffa: Remove memset usagePrachotan Bathi1-14/+9
2025-07-23tpm_crb_ffa: Fix typos in function namePrachotan Bathi1-3/+3
2025-07-23tpm: Check for completion after timeoutJarkko Sakkinen1-2/+15
2025-07-23tpm: Use of_reserved_mem_region_to_resource() for "memory-region"Rob Herring1-7/+1
2025-07-23tpm: Replace scnprintf() with sysfs_emit() and sysfs_emit_at() in sysfs show ...Chelsy Ratnawat1-27/+25
2025-07-23tpm_crb_ffa: Remove unused exportJarkko Sakkinen2-4/+1
2025-07-23tpm: tpm_crb_ffa: try to probe tpm_crb_ffa when it's built-inYeoreum Yun1-3/+16
2025-07-23tpm/tpm_svsm: support TPM_CHIP_FLAG_SYNCStefano Garzarella1-16/+11
2025-07-23tpm/tpm_ftpm_tee: support TPM_CHIP_FLAG_SYNCStefano Garzarella2-49/+19
2025-07-23tpm: support devices with synchronous send()Stefano Garzarella1-3/+17
2025-07-23tpm: add bufsiz parameter in the .send callbackStefano Garzarella16-18/+35
2025-07-04lib/crypto: sha256: Make library API use strongly-typed contextsEric Biggers1-6/+6
2025-06-17tpm: don't bother with removal of files in directory we'll be removingAl Viro1-34/+12
2025-06-08treewide, timers: Rename from_timer() to timer_container_of()timers-cleanups-2025-06-08Ingo Molnar1-1/+1
2025-05-27Merge tag 'x86_sev_for_v6.16_rc1' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds3-0/+136
2025-05-23tpm_crb: ffa_tpm: fix/update comments describing the CRB over FFA ABIStuart Yoder1-4/+7
2025-05-23tpm_crb_ffa: use dev_xx() macro to print logYeoreum Yun1-4/+4
2025-05-23tpm_ffa_crb: access tpm service over FF-A direct message request v2Yeoreum Yun1-15/+40
2025-05-23tpm: remove kmalloc failure error messageColin Ian King1-5/+2
2025-05-15tpm: tis: Double the timeout B to 4sMichal Suchanek1-1/+1
2025-05-15char: tpm: tpm-buf: Add sanity check fallback in read helpersPurva Yeshi1-3/+3
2025-05-15tpm: Mask TPM RC in tpm2_start_auth_session()Jarkko Sakkinen1-14/+6
2025-04-10tpm: Add SNP SVSM vTPM driverStefano Garzarella3-0/+136
2025-04-05treewide: Switch/rename to timer_delete[_sync]()Thomas Gleixner1-2/+2
2025-03-27tpm: Make chip->{status,cancel,req_canceled} optJarkko Sakkinen2-23/+27
2025-03-27tpm: End any active auth session before shutdownJonathan McDowell1-0/+1
2025-03-27tpm_crb: Add support for the ARM FF-A start methodStuart Yoder1-5/+66
2025-03-27tpm_crb: Clean-up and refactor check for idle supportStuart Yoder1-15/+21
2025-03-27tpm_crb: ffa_tpm: Implement driver compliant to CRB over FF-AStuart Yoder4-0/+383
2025-03-27tpm/tpm_ftpm_tee: fix struct ftpm_tee_private documentationStefano Garzarella1-1/+0
2025-03-27tpm, tpm_tis: Workaround failed command reception on Infineon devicesJonathan McDowell2-3/+15
2025-03-27tpm, tpm_tis: Fix timeout handling when waiting for TPM statusJonathan McDowell1-2/+1
2025-03-27tpm: Convert warn to dbg in tpm2_start_auth_session()Jonathan McDowell1-1/+1
2025-03-27tpm: Lazily flush auth session when getting random dataJonathan McDowell1-1/+0
2025-03-27tpm: ftpm_tee: remove incorrect of_match_ptr annotationArnd Bergmann1-1/+1
2025-03-27tpm: do not start chip while suspendedThadeu Lima de Souza Cascardo2-7/+5
2025-01-23tpm: Change to kvalloc() in eventlog/acpi.cJarkko Sakkinen1-2/+13
2024-12-01Get rid of 'remove_new' relic from platform driver structLinus Torvalds3-3/+3
2024-11-22tpm: atmel: Drop PPC64 specific MMIO setupRob Herring (Arm)3-144/+61
2024-11-22char: tpm: cr50: Add new device/vendor ID 0x50666666Jett Rink1-4/+28
2024-11-22char: tpm: cr50: Move i2c locking to request/relinquish locality opsJan Dabros1-9/+13
2024-11-22char: tpm: cr50: Use generic request/relinquish locality opsJan Dabros1-40/+54
2024-11-22tpm: ibmvtpm: Set TPM_OPS_AUTO_STARTUP flag on driverStefan Berger2-15/+1
2024-11-13tpm: Disable TPM on tpm2_create_primary() failureJarkko Sakkinen1-2/+5
2024-11-13tpm: Opt-in in disable PCR integrity protectionJarkko Sakkinen3-31/+70
2024-11-04tpm: Lock TPM chip in tpm_pm_suspend() firstJarkko Sakkinen2-14/+22
2024-10-29tpm: Lazily flush the auth sessionJarkko Sakkinen4-20/+44
2024-10-28tpm: Rollback tpm2_load_null()Jarkko Sakkinen1-20/+24
2024-10-28tpm: Return tpm2_sessions_init() when null key creation failsJarkko Sakkinen1-2/+9
2024-10-02move asm/unaligned.h to linux/unaligned.hAl Viro2-2/+2
2024-09-27[tree-wide] finally take no_llseek outAl Viro3-3/+0
2024-09-17tpm: export tpm2_sessions_init() to fix ibmvtpm buildingKexy Biscuit1-0/+1
2024-09-17tpm: Drop explicit initialization of struct i2c_device_id::driver_data to 0Uwe Kleine-König3-3/+3
2024-09-17tpm: Clean up TPM space after command failureJonathan McDowell2-0/+5
2024-08-27tpm: ibmvtpm: Call tpm2_sessions_init() to initialize session supportStefan Berger1-0/+4
2024-07-16tpm: Use auth only after NULL check in tpm_buf_check_hmac_response()Hao Ge1-2/+3
2024-07-15Merge tag 'tpmdd-next-6.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds2-0/+3
2024-07-05tpm: Address !chip->auth in tpm_buf_append_hmac_session*()Jarkko Sakkinen1-76/+110
2024-07-05tpm: Address !chip->auth in tpm_buf_append_name()Jarkko Sakkinen2-102/+119
2024-07-05tpm: Address !chip->auth in tpm2_*_auth_session()Jarkko Sakkinen1-2/+12
2024-07-01tpm_tis_spi: add missing attpm20p SPI device ID entryVitor Soares1-0/+1
2024-07-01char: tpm: Fix possible memory leak in tpm_bios_measurements_open()Joe Hattori1-0/+2
2024-06-05tpm: Switch to new Intel CPU model definesTony Luck2-2/+2
2024-06-05tpm_tis: Do *not* flush uninitialized workJan Beulich1-1/+2
2024-05-28tpm: Enable TCG_TPM2_HMAC by default only for X86_64Jarkko Sakkinen1-1/+1
2024-05-28tpm: Rename TPM2_OA_TMPL to TPM2_OA_NULL_KEY and make it localJarkko Sakkinen1-2/+19
2024-05-28tpm: Open code tpm_buf_parameters()Jarkko Sakkinen2-27/+9
2024-05-28tpm_tis_spi: Account for SPI header when allocating TPM SPI xfer bufferMatthew R. Ochs1-1/+2
2024-05-09tpm: disable the TPM if NULL name changesJames Bottomley3-16/+67
2024-05-09tpm: add the null key name as a sysfs exportJames Bottomley1-0/+18
2024-05-09tpm: add session encryption protection to tpm2_get_random()James Bottomley1-4/+17
2024-05-09tpm: add hmac checks to tpm2_pcr_extend()James Bottomley1-17/+10
2024-05-09tpm: Add the rest of the session HMAC APIJames Bottomley1-0/+400
2024-05-09tpm: Add HMAC session name/handle appendJames Bottomley1-0/+129
2024-05-09tpm: Add HMAC session start and end functionsJames Bottomley4-0/+291
2024-05-09tpm: Add TCG mandated Key Derivation Functions (KDFs)James Bottomley2-0/+106
2024-05-09tpm: Add NULL primary creationJames Bottomley5-0/+349
2024-05-09tpm: export the context save and load commandsJames Bottomley2-4/+8
2024-05-09tpm: add buffer function to point to returned parametersJames Bottomley1-0/+28
2024-05-09tpm: Add tpm_buf_read_{u8,u16,u32}Jarkko Sakkinen1-1/+78
2024-05-09tpm: TPM2B formatted buffersJarkko Sakkinen1-3/+35
2024-05-09tpm: Store the length of the tpm_buf data separately.Jarkko Sakkinen2-11/+39
2024-05-09tpm: Move buffer handling from static inlines to real functionsJames Bottomley2-0/+88
2024-05-09tpm: Remove tpm_send()Jarkko Sakkinen1-25/+0
2024-05-09char: tpm: Keep TPM_INF_IO_PORT define for HAS_IOPORT=nNiklas Schnelle2-3/+1
2024-05-09tpm/eventlog: remove redundant assignment to variabel retColin Ian King1-1/+0
2024-05-09char: tpm: handle HAS_IOPORT dependenciesNiklas Schnelle3-15/+21
2024-03-14Merge tag 'mm-nonmm-stable-2024-03-14-09-36' of git://git.kernel.org/pub/scm/...Linus Torvalds10-10/+10
2024-03-13Merge tag 'tpmdd-v6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/j...Linus Torvalds5-5/+8
2024-03-12tpm: tis_i2c: Add compatible string nuvoton,npct75xLukas Wunner1-0/+2
2024-03-12tpm_tis: Add compatible string atmel,at97sc3204Lukas Wunner1-0/+1
2024-03-12tpm_tis_spi: Add compatible string atmel,attpm20pLukas Wunner1-0/+1
2024-03-12tpm,tpm_tis: Avoid warning splat at shutdownLino Sanfilippo1-2/+1
2024-03-12tpm/tpm_ftpm_tee: fix all kernel-doc warningsRandy Dunlap1-3/+3
2024-03-06Normalise "name (ad@dr)" MODULE_AUTHORs to "name <ad@dr>"Ahelenia Ziemiańska10-10/+10
2024-02-08tpm_tis_spi: Follow renaming of SPI "master" to "controller"Uwe Kleine-König1-2/+2
2024-01-09tpm: cr50: fix kernel-doc warning and spellingRandy Dunlap1-2/+1
2024-01-09tpm: nuvoton: Use i2c_get_match_data()Rob Herring1-11/+4
2023-09-12tpm: Fix typo in tpmrm class definitionJustin M. Forbes1-1/+1
2023-09-04tpm: Enable hwrng only for Pluton on AMD CPUsJarkko Sakkinen1-25/+8
2023-09-04tpm_crb: Fix an error handling path in crb_acpi_add()Christophe JAILLET1-2/+3
2023-09-01Merge tag 'driver-core-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds4-18/+20
2023-08-30Merge tag 'devicetree-header-cleanups-for-6.6' of git://git.kernel.org/pub/sc...Linus Torvalds4-4/+1
2023-08-28tpm: Explicitly include correct DT includesRob Herring4-4/+1
2023-08-17tpm/tpm_tis_synquacer: Use module_platform_driver macro to simplify the codeLi Zetao1-17/+1
2023-08-17tpm: remove redundant variable lenColin Ian King1-2/+1
2023-08-17tpm_tis: Resend command to recover from data transfer errorsAlexander Steffen1-3/+10
2023-08-17tpm_tis: Use responseRetry to recover from data transfer errorsAlexander Steffen2-8/+30
2023-08-17tpm_tis: Move CRC check to generic send routineAlexander Steffen1-6/+6
2023-08-17tpm_tis_spi: Add hardware wait pollingKrishna Yarlagadda1-2/+89
2023-08-17tpm_tis: Revert "tpm_tis: Disable interrupts on ThinkPad T490s"Jarkko Sakkinen1-91/+2
2023-08-12tpm_tis: Opt-in interruptsJarkko Sakkinen1-1/+1
2023-08-12tpm: tpm_tis: Fix UPX-i11 DMI_MATCH conditionPeter Ujfalusi1-1/+1
2023-08-09tpm: Add a helper for checking hwrng enabledMario Limonciello1-5/+14
2023-08-07tpm/tpm_tis: Disable interrupts for Lenovo P620 devicesJonathan McDowell1-0/+8
2023-08-07tpm: Disable RNG for all AMD fTPMsMario Limonciello2-66/+32
2023-08-07tpm/tpm_tis: Disable interrupts for TUXEDO InfinityBook S 15/17 Gen7Takashi Iwai1-0/+8
2023-08-05tpm: make all 'class' structures constIvan Orlov4-18/+20
2023-07-28tpm_tis: Explicitly check for error codeAlexander Steffen1-2/+7
2023-07-28tpm: Switch i2c drivers back to use .probe()Uwe Kleine-König6-6/+6
2023-07-17tpm,tpm_tis: Disable interrupts after 1000 unhandled IRQsLino Sanfilippo2-15/+92
2023-07-17tpm/tpm_tis: Disable interrupts for Lenovo L590 devicesFlorian Bezdeka1-0/+8
2023-07-17tpm: Do not remap from ACPI resources again for Pluton TPMValentin David1-8/+11
2023-07-17tpm/tpm_tis: Disable interrupts for Framework Laptop Intel 13th genChristian Hesse1-0/+8
2023-07-17tpm/tpm_tis: Disable interrupts for Framework Laptop Intel 12th genChristian Hesse1-0/+8
2023-07-17tpm: return false from tpm_amd_is_rng_defective on non-x86 platformsJerry Snitselaar1-0/+7
2023-07-17tpm: tis_i2c: Limit write bursts to I2C_SMBUS_BLOCK_MAX (32) bytesAlexander Sverdlin1-7/+15
2023-07-17tpm: tis_i2c: Limit read bursts to I2C_SMBUS_BLOCK_MAX (32) bytesAlexander Sverdlin1-15/+22
2023-07-17tpm_tis_spi: Release chip select when flow control failsPeijie Shao1-0/+8
2023-07-17tpm: tpm_tis: Disable interrupts *only* for AEON UPX-i11Peter Ujfalusi1-0/+1
2023-07-17tpm: tpm_vtpm_proxy: fix a race condition in /dev/vtpmx creationJarkko Sakkinen1-23/+7
2023-06-02tpm, tpm_tis: correct tpm_tis_flags enumeration valuesLino Sanfilippo1-4/+4
2023-05-24tpm: tpm_tis: Disable interrupts for AEON UPX-i11Peter Ujfalusi1-0/+7
2023-05-16tpm/tpm_tis: Disable interrupts for more Lenovo devicesJerry Snitselaar1-0/+16
2023-05-16tpm: Prevent hwrng from activating during resumeJarkko Sakkinen2-0/+14
2023-05-16tpm_tis: Use tpm_chip_{start,stop} decoration inside tpm_tis_resumeJarkko Sakkinen1-24/+19
2023-05-01Merge tag 'tpmdd-v6.4-rc1-fix-v2' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds3-5/+21
2023-04-28tpm: Re-enable TPM chip boostrapping non-tpm_tis TPM driversJarkko Sakkinen3-5/+21
2023-04-27Merge tag 'driver-core-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds3-4/+6
2023-04-25Merge tag 'acpi-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/raf...Linus Torvalds1-1/+1
2023-04-24tpm: Add !tpm_amd_is_rng_defective() to the hwrng_unregister() call siteJarkko Sakkinen1-1/+2
2023-04-24tpm_tis: fix stall after iowrite*()sHaris Okanovic1-2/+41
2023-04-24tpm/tpm_tis_synquacer: Convert to platform remove callback returning voidUwe Kleine-König1-4/+2
2023-04-24tpm/tpm_tis: Convert to platform remove callback returning voidUwe Kleine-König1-4/+2
2023-04-24tpm/tpm_ftpm_tee: Convert to platform remove callback returning voidUwe Kleine-König1-3/+3
2023-04-24tpm: tpm_tis_spi: Mark ACPI and OF related data as maybe unusedKrzysztof Kozlowski1-2/+2
2023-04-24tpm: st33zp24: Mark ACPI and OF related data as maybe unusedKrzysztof Kozlowski2-4/+4
2023-04-24tpm, tpm_tis: Enable interrupt testLino Sanfilippo1-0/+5
2023-04-24tpm, tpm_tis: startup chip before testing for interruptsLino Sanfilippo3-14/+30
2023-04-24tpm, tpm_tis: Claim locality when interrupts are reenabled on resumeLino Sanfilippo1-10/+9
2023-04-24tpm, tpm_tis: Claim locality in interrupt handlerLino Sanfilippo1-0/+2
2023-04-24tpm, tpm_tis: Request threaded interrupt handlerLino Sanfilippo1-2/+5
2023-04-24tpm, tpm: Implement usage counter for localityLino Sanfilippo2-18/+47
2023-04-24tpm, tpm_tis: do not check for the active locality in interrupt handlerLino Sanfilippo1-5/+2
2023-04-24tpm, tpm_tis: Move interrupt mask checks into own functionLino Sanfilippo1-11/+18
2023-04-24tpm, tpm_tis: Only handle supported interruptsLino Sanfilippo2-48/+73
2023-04-24tpm, tpm_tis: Claim locality before writing interrupt registersLino Sanfilippo1-9/+11
2023-04-24tpm, tpm_tis: Do not skip reset of original interrupt vectorLino Sanfilippo1-18/+11
2023-04-24tpm, tpm_tis: Disable interrupts if tpm_tis_probe_irq() failedLino Sanfilippo1-11/+11
2023-04-24tpm, tpm_tis: Claim locality before writing TPM_INT_ENABLE registerLino Sanfilippo1-0/+4
2023-04-24tpm, tpm_tis: Avoid cache incoherency in test for interruptsLino Sanfilippo3-12/+13
2023-04-24tpm: remove unnecessary (void*) conversionsYu Zhe1-3/+3
2023-04-24tpm: cr50: i2c: use jiffies to wait for tpm ready irqMark Hasemeyer1-2/+1
2023-04-06tpm: atmel: Add explicit include for of.hRob Herring1-1/+1
2023-04-03Merge 6.3-rc5 into driver-core-nextGreg Kroah-Hartman3-2/+137
2023-03-21tpm: Fix a possible dereference of ERR_PTR in tpm_init()Harshit Mogalapalli1-1/+2
2023-03-17tpm: fix up the tpm_class shutdown_pre pointer when createdGreg Kroah-Hartman3-2/+3
2023-03-17driver core: class: remove module * from class_create()Greg Kroah-Hartman1-2/+2
2023-03-12tpm: disable hwrng for fTPM on some AMD designsMario Limonciello2-1/+132
2023-03-12tpm/eventlog: Don't abort tpm_read_log on faulty ACPI addressMorten Linderud1-1/+5
2023-02-13tpm: add vendor flag to command code validationJulien Gomes1-1/+3
2023-02-13tpm: Add reserved memory event logEddie James1-1/+31
2023-02-13tpm: Use managed allocation for bios event logEddie James4-10/+12
2023-02-13tpm: tis_i2c: Convert to i2c's .probe_new()Uwe Kleine-König1-3/+2
2023-02-13tpm: tpm_i2c_nuvoton: Convert to i2c's .probe_new()Uwe Kleine-König1-3/+3
2023-02-13tpm: tpm_i2c_infineon: Convert to i2c's .probe_new()Uwe Kleine-König1-3/+2
2023-02-13tpm: tpm_i2c_atmel: Convert to i2c's .probe_new()Uwe Kleine-König1-3/+2
2023-02-13tpm: st33zp24: Convert to i2c's .probe_new()Uwe Kleine-König1-3/+2