All of lore.kernel.org
 help / color / mirror / Atom feed
* [tpm2] Re: TPM2 TSS on Android
@ 2020-12-22 10:47 Fuchs, Andreas
  0 siblings, 0 replies; 8+ messages in thread
From: Fuchs, Andreas @ 2020-12-22 10:47 UTC (permalink / raw)
  To: tpm2

[-- Attachment #1: Type: text/plain, Size: 1210 bytes --]

In terms of calling the tss from java you might then want to look at tpm2-swig
for bindings: https://github.com/tpm2-software/tpm2-swig

Cheers,
Andreas
________________________________
From: Florian.Schreiner(a)infineon.com [Florian.Schreiner(a)infineon.com]
Sent: Monday, December 21, 2020 12:04
To: phani.srinivas(a)in.abb.com; tpm2(a)lists.01.org
Subject: [tpm2] Re: TPM2 TSS on Android

Hi Phani,

after a quick research, I have found the following: https://android.googlesource.com/platform/external/tpm2-tss/
I would be curious to get to know if that fits to your request.

Best,
Florian

From: Phani Srinivas <phani.srinivas(a)in.abb.com>
Sent: Samstag, 19. Dezember 2020 09:24
To: tpm2(a)lists.01.org
Subject: [tpm2] TPM2 TSS on Android

Caution: This e-mail originated outside Infineon Technologies. Do not click on links or open attachments unless you validate it is safe<https://goto.infineon.com/SocialEngineering>.


Hello All,

We are trying to use  TPM2.0 on Android, would like to port TPM2 TSS on to it,
could any of you suggest any tutorials on the NDK Build compilation of TPM2 TSS and relevant details to use TPM2 TSS on Android

Regards
Phani Srinivas S

[-- Attachment #2: attachment.htm --]
[-- Type: text/html, Size: 4596 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [tpm2] Re: TPM2 TSS on Android
@ 2021-01-25 19:14 ryanmoore0981
  0 siblings, 0 replies; 8+ messages in thread
From: ryanmoore0981 @ 2021-01-25 19:14 UTC (permalink / raw)
  To: tpm2

[-- Attachment #1: Type: text/plain, Size: 202 bytes --]

Numerous essaypro reviews prove that this writing service isn't among the best ones. Students say their prices are quite high and the quality is mediocre. 

https://scamfighter.net/review/essaypro.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [tpm2] Re: TPM2 TSS on Android
@ 2021-01-25 19:13 ryanmoore0981
  0 siblings, 0 replies; 8+ messages in thread
From: ryanmoore0981 @ 2021-01-25 19:13 UTC (permalink / raw)
  To: tpm2

[-- Attachment #1: Type: text/plain, Size: 204 bytes --]

Wanna find some Essay pro Reddit reviews? Better read what I've discovered about this online writing service. I'll tell you about their guarantees and prices. 
https://scamfighter.net/review/essaypro.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [tpm2] Re: TPM2 TSS on Android
@ 2020-12-28 20:48 Roberts, William C
  0 siblings, 0 replies; 8+ messages in thread
From: Roberts, William C @ 2020-12-28 20:48 UTC (permalink / raw)
  To: tpm2

[-- Attachment #1: Type: text/plain, Size: 7471 bytes --]

But I guess all my ramblings about NDK builds are pointless, because unless something has changed,
You won't have access to the TPM chip anyways from applications.

> -----Original Message-----
> From: Roberts, William C
> Sent: Monday, December 28, 2020 2:19 PM
> To: 'Phani Srinivas' <phani.srinivas(a)in.abb.com>; 'Fuchs, Andreas'
> <andreas.fuchs(a)sit.fraunhofer.de>; 'tpm2(a)lists.01.org' <tpm2(a)lists.01.org>
> Subject: RE: TPM2 TSS on Android
> 
> There are some other things to be aware of here. The first being that Android-
> NDK has pretty clean And documented integration now with autoconf projects,
> so it's pretty simple to build the:
>   - tss2-sys
>   - tss2-tcti-*
>   - tss2-tctildr
>   - tss2-mu
>   - tss2-rc
> 
> Libraries by following the section on autoconf:
> https://developer.android.com/ndk/guides/other_build_systems#autoconf
> 
> Then configuring the project like so:
> ./configure --host=$TARGET --disable-esys --disable-fapi
> 
> make -j$(nproc)
> <snip>
>   CCLD     libutil.la
>   CCLD     src/tss2-mu/libtss2-mu.la
>   CCLD     src/tss2-tcti/libtss2-tctildr.la
>   CCLD     src/tss2-rc/libtss2-rc.la
>   CCLD     src/tss2-tcti/libtss2-tcti-device.la
>   CCLD     src/tss2-tcti/libtss2-tcti-swtpm.la
>   CCLD     src/tss2-tcti/libtss2-tcti-pcap.la
>   CCLD     src/tss2-tcti/libtss2-tcti-mssim.la
>   CCLD     src/tss2-tcti/libtss2-tcti-cmd.la
>   CCLD     src/tss2-sys/libtss2-sys.la
> 
> readelf -h ./src/tss2-sys/.libs/libtss2-sys.so | grep -i Machine
>   Machine:                           AArch64
> 
> You can download the NDK from here:
> https://developer.android.com/ndk/downloads
> 
> It get's tricky in that in order to use the ESYS or FAPI libraries, you need to satisfy
> the openssl dependency.
> For Android in-tree, they have Boring OSSL and are carrying patches on our
> project for integrating with Boring SSL.
> 
> For mainline, you can build OSSL against the NDK and then configure tpm2-tss
> project using normal autoconf idioms to use that OSSL:
> https://wiki.openssl.org/index.php/Android
> 
> You would set CFLAGS and LDFLAGS to point to the needed include dirs and
> library paths for OSSL, something Like what is mentioned in the " Install the
> OpenSSL Library" and " Compile and Link against the Library" in The
> aforementioned OpenSSL Android instructions link.
> 
> > -----Original Message-----
> > From: Roberts, William C
> > Sent: Monday, December 28, 2020 1:19 PM
> > To: Phani Srinivas <phani.srinivas(a)in.abb.com>; Fuchs, Andreas
> > <andreas.fuchs(a)sit.fraunhofer.de>; tpm2(a)lists.01.org
> > Subject: RE: TPM2 TSS on Android
> >
> > The example Andreas shows is built using a "Blueprint" file. It was
> > part of the switch that occurred to in-aosp-tree projects when they
> > went to this Ninja Kata build system. However, AFAIK, the NDK has
> > stayed Make. So that example, won't really be a drop in for an NDK
> > build. I can throw together a proper Android.mk and add it to the
> > project. We can probably setup a built in Github Actions for it as well.
> >
> > > -----Original Message-----
> > > From: Phani Srinivas <phani.srinivas(a)in.abb.com>
> > > Sent: Friday, December 25, 2020 1:37 AM
> > > To: Fuchs, Andreas <andreas.fuchs(a)sit.fraunhofer.de>;
> > > tpm2(a)lists.01.org
> > > Subject: [tpm2] Re: TPM2 TSS on Android
> > >
> > > Hello Andreas,
> > >
> > >
> > >
> > > Thank you for the links, will follow them and see if it works for us
> > > and
> > >
> > > post on this forum the feedback.
> > >
> > >
> > >
> > > Regards
> > >
> > > Phani Srinivas S
> > >
> > >
> > >
> > > From: Fuchs, Andreas <andreas.fuchs(a)sit.fraunhofer.de>
> > > Sent: Tuesday, December 22, 2020 4:18 PM
> > > To: Phani Srinivas <phani.srinivas(a)in.abb.com>; tpm2(a)lists.01.org
> > > Subject: RE: TPM2 TSS on Android
> > >
> > >
> > >
> > > 	This email originated from outside of your organization. Please do
> > > not click on links or open attachments unless you recognize the
> > > sender and know the content is safe.
> > >
> > >
> > >
> > > In terms of calling the tss from java you might then want to look at
> > > tpm2-swig
> > >
> > > for bindings: https://github.com/tpm2-software/tpm2-swig
> > > <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fg
> > > it
> > > hub.c
> > > om%2Ftpm2-software%2Ftpm2-
> > >
> >
> swig&data=04%7C01%7Cphani.srinivas%40in.abb.com%7C6846451297664907e5ba
> > >
> >
> 08d8a6670c45%7C372ee9e09ce04033a64ac07073a91ecd%7C0%7C0%7C637442308
> > >
> >
> 817499576%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2l
> > >
> >
> uMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=AVD9sR8I9jU7eRe9w6
> > > tUOgLJVLe%2Bz4Kpm5IAibUP9dc%3D&reserved=0>
> > >
> > >
> > >
> > > Cheers,
> > >
> > > Andreas
> > >
> > > ________________________________
> > >
> > > From: Florian.Schreiner(a)infineon.com
> > > <mailto:Florian.Schreiner(a)infineon.com>
> > > [Florian.Schreiner(a)infineon.com]
> > > Sent: Monday, December 21, 2020 12:04
> > > To: phani.srinivas(a)in.abb.com <mailto:phani.srinivas(a)in.abb.com> ;
> > > tpm2(a)lists.01.org <mailto:tpm2(a)lists.01.org>
> > > Subject: [tpm2] Re: TPM2 TSS on Android
> > >
> > > Hi Phani,
> > >
> > >
> > >
> > > after a quick research, I have found the following:
> > > https://android.googlesource.com/platform/external/tpm2-tss/
> > >
> >
> <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fandroid.
> > > googlesource.com%2Fplatform%2Fexternal%2Ftpm2-
> > >
> >
> tss%2F&data=04%7C01%7Cphani.srinivas%40in.abb.com%7C6846451297664907e5
> > >
> >
> ba08d8a6670c45%7C372ee9e09ce04033a64ac07073a91ecd%7C0%7C0%7C6374423
> > >
> >
> 08817509567%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoi
> > >
> >
> V2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=UFmq4RNyalzYbG
> > > %2F1kopjBi98R%2BCTTZlWZcr12B38oAA%3D&reserved=0>
> > >
> > > I would be curious to get to know if that fits to your request.
> > >
> > >
> > >
> > > Best,
> > >
> > > Florian
> > >
> > >
> > >
> > > From: Phani Srinivas <phani.srinivas(a)in.abb.com
> > > <mailto:phani.srinivas(a)in.abb.com> >
> > > Sent: Samstag, 19. Dezember 2020 09:24
> > > To: tpm2(a)lists.01.org <mailto:tpm2(a)lists.01.org>
> > > Subject: [tpm2] TPM2 TSS on Android
> > >
> > >
> > >
> > > Caution: This e-mail originated outside Infineon Technologies. Do
> > > not click on links or open attachments unless you validate it is
> > > safe
> > > <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fg
> > > ot
> > > o.infi
> > > neon.com%2FSocialEngineering&data=04%7C01%7Cphani.srinivas%40in.abb.
> > > co
> > > m
> >
> %7C6846451297664907e5ba08d8a6670c45%7C372ee9e09ce04033a64ac07073a91e
> > >
> >
> cd%7C0%7C0%7C637442308817509567%7CUnknown%7CTWFpbGZsb3d8eyJWIjoi
> > >
> >
> MC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&s
> > >
> >
> data=LRPYzyge%2F0biY%2F2sw75R5p0HDniEVH2qPEOSyyEn6KE%3D&reserved=0
> > > > .
> > >
> > >
> > >
> > > Hello All,
> > >
> > >
> > >
> > > We are trying to use  TPM2.0 on Android, would like to port TPM2 TSS
> > > on to it,
> > >
> > > could any of you suggest any tutorials on the NDK Build compilation
> > > of
> > > TPM2 TSS and relevant details to use TPM2 TSS on Android
> > >
> > >
> > >
> > > Regards
> > >
> > > Phani Srinivas S

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [tpm2] Re: TPM2 TSS on Android
@ 2020-12-28 20:19 Roberts, William C
  0 siblings, 0 replies; 8+ messages in thread
From: Roberts, William C @ 2020-12-28 20:19 UTC (permalink / raw)
  To: tpm2

[-- Attachment #1: Type: text/plain, Size: 6525 bytes --]

There are some other things to be aware of here. The first being that Android-NDK has pretty clean
And documented integration now with autoconf projects, so it's pretty simple to build the:
  - tss2-sys
  - tss2-tcti-*
  - tss2-tctildr
  - tss2-mu
  - tss2-rc

Libraries by following the section on autoconf:
https://developer.android.com/ndk/guides/other_build_systems#autoconf

Then configuring the project like so:
./configure --host=$TARGET --disable-esys --disable-fapi

make -j$(nproc)
<snip>
  CCLD     libutil.la
  CCLD     src/tss2-mu/libtss2-mu.la
  CCLD     src/tss2-tcti/libtss2-tctildr.la
  CCLD     src/tss2-rc/libtss2-rc.la
  CCLD     src/tss2-tcti/libtss2-tcti-device.la
  CCLD     src/tss2-tcti/libtss2-tcti-swtpm.la
  CCLD     src/tss2-tcti/libtss2-tcti-pcap.la
  CCLD     src/tss2-tcti/libtss2-tcti-mssim.la
  CCLD     src/tss2-tcti/libtss2-tcti-cmd.la
  CCLD     src/tss2-sys/libtss2-sys.la

readelf -h ./src/tss2-sys/.libs/libtss2-sys.so | grep -i Machine
  Machine:                           AArch64

You can download the NDK from here:
https://developer.android.com/ndk/downloads

It get's tricky in that in order to use the ESYS or FAPI libraries, you need to satisfy the openssl dependency.
For Android in-tree, they have Boring OSSL and are carrying patches on our project for integrating with
Boring SSL.

For mainline, you can build OSSL against the NDK and then configure tpm2-tss project using normal
autoconf idioms to use that OSSL:
https://wiki.openssl.org/index.php/Android

You would set CFLAGS and LDFLAGS to point to the needed include dirs and library paths for OSSL, something
Like what is mentioned in the " Install the OpenSSL Library" and " Compile and Link against the Library" in
The aforementioned OpenSSL Android instructions link.

> -----Original Message-----
> From: Roberts, William C
> Sent: Monday, December 28, 2020 1:19 PM
> To: Phani Srinivas <phani.srinivas(a)in.abb.com>; Fuchs, Andreas
> <andreas.fuchs(a)sit.fraunhofer.de>; tpm2(a)lists.01.org
> Subject: RE: TPM2 TSS on Android
> 
> The example Andreas shows is built using a "Blueprint" file. It was part of the
> switch that occurred to in-aosp-tree projects when they went to this Ninja Kata
> build system. However, AFAIK, the NDK has stayed Make. So that example, won't
> really be a drop in for an NDK build. I can throw together a proper Android.mk
> and add it to the project. We can probably setup a built in Github Actions for it as
> well.
> 
> > -----Original Message-----
> > From: Phani Srinivas <phani.srinivas(a)in.abb.com>
> > Sent: Friday, December 25, 2020 1:37 AM
> > To: Fuchs, Andreas <andreas.fuchs(a)sit.fraunhofer.de>;
> > tpm2(a)lists.01.org
> > Subject: [tpm2] Re: TPM2 TSS on Android
> >
> > Hello Andreas,
> >
> >
> >
> > Thank you for the links, will follow them and see if it works for us
> > and
> >
> > post on this forum the feedback.
> >
> >
> >
> > Regards
> >
> > Phani Srinivas S
> >
> >
> >
> > From: Fuchs, Andreas <andreas.fuchs(a)sit.fraunhofer.de>
> > Sent: Tuesday, December 22, 2020 4:18 PM
> > To: Phani Srinivas <phani.srinivas(a)in.abb.com>; tpm2(a)lists.01.org
> > Subject: RE: TPM2 TSS on Android
> >
> >
> >
> > 	This email originated from outside of your organization. Please do
> > not click on links or open attachments unless you recognize the sender
> > and know the content is safe.
> >
> >
> >
> > In terms of calling the tss from java you might then want to look at
> > tpm2-swig
> >
> > for bindings: https://github.com/tpm2-software/tpm2-swig
> > <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit
> > hub.c
> > om%2Ftpm2-software%2Ftpm2-
> >
> swig&data=04%7C01%7Cphani.srinivas%40in.abb.com%7C6846451297664907e5ba
> >
> 08d8a6670c45%7C372ee9e09ce04033a64ac07073a91ecd%7C0%7C0%7C637442308
> >
> 817499576%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2l
> >
> uMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=AVD9sR8I9jU7eRe9w6
> > tUOgLJVLe%2Bz4Kpm5IAibUP9dc%3D&reserved=0>
> >
> >
> >
> > Cheers,
> >
> > Andreas
> >
> > ________________________________
> >
> > From: Florian.Schreiner(a)infineon.com
> > <mailto:Florian.Schreiner(a)infineon.com>
> > [Florian.Schreiner(a)infineon.com]
> > Sent: Monday, December 21, 2020 12:04
> > To: phani.srinivas(a)in.abb.com <mailto:phani.srinivas(a)in.abb.com> ;
> > tpm2(a)lists.01.org <mailto:tpm2(a)lists.01.org>
> > Subject: [tpm2] Re: TPM2 TSS on Android
> >
> > Hi Phani,
> >
> >
> >
> > after a quick research, I have found the following:
> > https://android.googlesource.com/platform/external/tpm2-tss/
> >
> <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fandroid.
> > googlesource.com%2Fplatform%2Fexternal%2Ftpm2-
> >
> tss%2F&data=04%7C01%7Cphani.srinivas%40in.abb.com%7C6846451297664907e5
> >
> ba08d8a6670c45%7C372ee9e09ce04033a64ac07073a91ecd%7C0%7C0%7C6374423
> >
> 08817509567%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoi
> >
> V2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=UFmq4RNyalzYbG
> > %2F1kopjBi98R%2BCTTZlWZcr12B38oAA%3D&reserved=0>
> >
> > I would be curious to get to know if that fits to your request.
> >
> >
> >
> > Best,
> >
> > Florian
> >
> >
> >
> > From: Phani Srinivas <phani.srinivas(a)in.abb.com
> > <mailto:phani.srinivas(a)in.abb.com> >
> > Sent: Samstag, 19. Dezember 2020 09:24
> > To: tpm2(a)lists.01.org <mailto:tpm2(a)lists.01.org>
> > Subject: [tpm2] TPM2 TSS on Android
> >
> >
> >
> > Caution: This e-mail originated outside Infineon Technologies. Do not
> > click on links or open attachments unless you validate it is safe
> > <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgot
> > o.infi
> > neon.com%2FSocialEngineering&data=04%7C01%7Cphani.srinivas%40in.abb.co
> > m
> %7C6846451297664907e5ba08d8a6670c45%7C372ee9e09ce04033a64ac07073a91e
> >
> cd%7C0%7C0%7C637442308817509567%7CUnknown%7CTWFpbGZsb3d8eyJWIjoi
> >
> MC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&s
> >
> data=LRPYzyge%2F0biY%2F2sw75R5p0HDniEVH2qPEOSyyEn6KE%3D&reserved=0
> > > .
> >
> >
> >
> > Hello All,
> >
> >
> >
> > We are trying to use  TPM2.0 on Android, would like to port TPM2 TSS
> > on to it,
> >
> > could any of you suggest any tutorials on the NDK Build compilation of
> > TPM2 TSS and relevant details to use TPM2 TSS on Android
> >
> >
> >
> > Regards
> >
> > Phani Srinivas S

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [tpm2] Re: TPM2 TSS on Android
@ 2020-12-28 19:19 Roberts, William C
  0 siblings, 0 replies; 8+ messages in thread
From: Roberts, William C @ 2020-12-28 19:19 UTC (permalink / raw)
  To: tpm2

[-- Attachment #1: Type: text/plain, Size: 4153 bytes --]

The example Andreas shows is built using a "Blueprint" file. It was part of the switch that occurred
to in-aosp-tree projects when they went to this Ninja Kata build system. However, AFAIK, the NDK
has stayed Make. So that example, won't really be a drop in for an NDK build. I can throw together
a proper Android.mk and add it to the project. We can probably setup a built in Github Actions for
it as well.

> -----Original Message-----
> From: Phani Srinivas <phani.srinivas(a)in.abb.com>
> Sent: Friday, December 25, 2020 1:37 AM
> To: Fuchs, Andreas <andreas.fuchs(a)sit.fraunhofer.de>; tpm2(a)lists.01.org
> Subject: [tpm2] Re: TPM2 TSS on Android
> 
> Hello Andreas,
> 
> 
> 
> Thank you for the links, will follow them and see if it works for us and
> 
> post on this forum the feedback.
> 
> 
> 
> Regards
> 
> Phani Srinivas S
> 
> 
> 
> From: Fuchs, Andreas <andreas.fuchs(a)sit.fraunhofer.de>
> Sent: Tuesday, December 22, 2020 4:18 PM
> To: Phani Srinivas <phani.srinivas(a)in.abb.com>; tpm2(a)lists.01.org
> Subject: RE: TPM2 TSS on Android
> 
> 
> 
> 	This email originated from outside of your organization. Please do not
> click on links or open attachments unless you recognize the sender and know the
> content is safe.
> 
> 
> 
> In terms of calling the tss from java you might then want to look at tpm2-swig
> 
> for bindings: https://github.com/tpm2-software/tpm2-swig
> <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.c
> om%2Ftpm2-software%2Ftpm2-
> swig&data=04%7C01%7Cphani.srinivas%40in.abb.com%7C6846451297664907e5ba
> 08d8a6670c45%7C372ee9e09ce04033a64ac07073a91ecd%7C0%7C0%7C637442308
> 817499576%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2l
> uMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=AVD9sR8I9jU7eRe9w6
> tUOgLJVLe%2Bz4Kpm5IAibUP9dc%3D&reserved=0>
> 
> 
> 
> Cheers,
> 
> Andreas
> 
> ________________________________
> 
> From: Florian.Schreiner(a)infineon.com <mailto:Florian.Schreiner(a)infineon.com>
> [Florian.Schreiner(a)infineon.com]
> Sent: Monday, December 21, 2020 12:04
> To: phani.srinivas(a)in.abb.com <mailto:phani.srinivas(a)in.abb.com> ;
> tpm2(a)lists.01.org <mailto:tpm2(a)lists.01.org>
> Subject: [tpm2] Re: TPM2 TSS on Android
> 
> Hi Phani,
> 
> 
> 
> after a quick research, I have found the following:
> https://android.googlesource.com/platform/external/tpm2-tss/
> <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fandroid.
> googlesource.com%2Fplatform%2Fexternal%2Ftpm2-
> tss%2F&data=04%7C01%7Cphani.srinivas%40in.abb.com%7C6846451297664907e5
> ba08d8a6670c45%7C372ee9e09ce04033a64ac07073a91ecd%7C0%7C0%7C6374423
> 08817509567%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoi
> V2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=UFmq4RNyalzYbG
> %2F1kopjBi98R%2BCTTZlWZcr12B38oAA%3D&reserved=0>
> 
> I would be curious to get to know if that fits to your request.
> 
> 
> 
> Best,
> 
> Florian
> 
> 
> 
> From: Phani Srinivas <phani.srinivas(a)in.abb.com
> <mailto:phani.srinivas(a)in.abb.com> >
> Sent: Samstag, 19. Dezember 2020 09:24
> To: tpm2(a)lists.01.org <mailto:tpm2(a)lists.01.org>
> Subject: [tpm2] TPM2 TSS on Android
> 
> 
> 
> Caution: This e-mail originated outside Infineon Technologies. Do not click on links
> or open attachments unless you validate it is safe
> <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgoto.infi
> neon.com%2FSocialEngineering&data=04%7C01%7Cphani.srinivas%40in.abb.com
> %7C6846451297664907e5ba08d8a6670c45%7C372ee9e09ce04033a64ac07073a91e
> cd%7C0%7C0%7C637442308817509567%7CUnknown%7CTWFpbGZsb3d8eyJWIjoi
> MC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&s
> data=LRPYzyge%2F0biY%2F2sw75R5p0HDniEVH2qPEOSyyEn6KE%3D&reserved=0
> > .
> 
> 
> 
> Hello All,
> 
> 
> 
> We are trying to use  TPM2.0 on Android, would like to port TPM2 TSS on to it,
> 
> could any of you suggest any tutorials on the NDK Build compilation of TPM2 TSS
> and relevant details to use TPM2 TSS on Android
> 
> 
> 
> Regards
> 
> Phani Srinivas S

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [tpm2] Re: TPM2 TSS on Android
@ 2020-12-25  7:37 Phani Srinivas
  0 siblings, 0 replies; 8+ messages in thread
From: Phani Srinivas @ 2020-12-25  7:37 UTC (permalink / raw)
  To: tpm2

[-- Attachment #1: Type: text/plain, Size: 3126 bytes --]

Hello Andreas,

Thank you for the links, will follow them and see if it works for us and
post on this forum the feedback.

Regards
Phani Srinivas S

From: Fuchs, Andreas <andreas.fuchs(a)sit.fraunhofer.de>
Sent: Tuesday, December 22, 2020 4:18 PM
To: Phani Srinivas <phani.srinivas(a)in.abb.com>; tpm2(a)lists.01.org
Subject: RE: TPM2 TSS on Android

This email originated from outside of your organization. Please do not click on links or open attachments unless you recognize the sender and know the content is safe.

In terms of calling the tss from java you might then want to look at tpm2-swig
for bindings: https://github.com/tpm2-software/tpm2-swig<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftpm2-software%2Ftpm2-swig&data=04%7C01%7Cphani.srinivas%40in.abb.com%7C6846451297664907e5ba08d8a6670c45%7C372ee9e09ce04033a64ac07073a91ecd%7C0%7C0%7C637442308817499576%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=AVD9sR8I9jU7eRe9w6tUOgLJVLe%2Bz4Kpm5IAibUP9dc%3D&reserved=0>

Cheers,
Andreas
________________________________
From: Florian.Schreiner(a)infineon.com<mailto:Florian.Schreiner(a)infineon.com> [Florian.Schreiner(a)infineon.com]
Sent: Monday, December 21, 2020 12:04
To: phani.srinivas(a)in.abb.com<mailto:phani.srinivas(a)in.abb.com>; tpm2(a)lists.01.org<mailto:tpm2(a)lists.01.org>
Subject: [tpm2] Re: TPM2 TSS on Android
Hi Phani,

after a quick research, I have found the following: https://android.googlesource.com/platform/external/tpm2-tss/<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fandroid.googlesource.com%2Fplatform%2Fexternal%2Ftpm2-tss%2F&data=04%7C01%7Cphani.srinivas%40in.abb.com%7C6846451297664907e5ba08d8a6670c45%7C372ee9e09ce04033a64ac07073a91ecd%7C0%7C0%7C637442308817509567%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=UFmq4RNyalzYbG%2F1kopjBi98R%2BCTTZlWZcr12B38oAA%3D&reserved=0>
I would be curious to get to know if that fits to your request.

Best,
Florian

From: Phani Srinivas <phani.srinivas(a)in.abb.com<mailto:phani.srinivas(a)in.abb.com>>
Sent: Samstag, 19. Dezember 2020 09:24
To: tpm2(a)lists.01.org<mailto:tpm2(a)lists.01.org>
Subject: [tpm2] TPM2 TSS on Android

Caution: This e-mail originated outside Infineon Technologies. Do not click on links or open attachments unless you validate it is safe<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgoto.infineon.com%2FSocialEngineering&data=04%7C01%7Cphani.srinivas%40in.abb.com%7C6846451297664907e5ba08d8a6670c45%7C372ee9e09ce04033a64ac07073a91ecd%7C0%7C0%7C637442308817509567%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=LRPYzyge%2F0biY%2F2sw75R5p0HDniEVH2qPEOSyyEn6KE%3D&reserved=0>.

Hello All,

We are trying to use  TPM2.0 on Android, would like to port TPM2 TSS on to it,
could any of you suggest any tutorials on the NDK Build compilation of TPM2 TSS and relevant details to use TPM2 TSS on Android

Regards
Phani Srinivas S

[-- Attachment #2: attachment.htm --]
[-- Type: text/html, Size: 11351 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [tpm2] Re: TPM2 TSS on Android
@ 2020-12-21 11:04 Florian.Schreiner
  0 siblings, 0 replies; 8+ messages in thread
From: Florian.Schreiner @ 2020-12-21 11:04 UTC (permalink / raw)
  To: tpm2

[-- Attachment #1: Type: text/plain, Size: 807 bytes --]

Hi Phani,

after a quick research, I have found the following: https://android.googlesource.com/platform/external/tpm2-tss/
I would be curious to get to know if that fits to your request.

Best,
Florian

From: Phani Srinivas <phani.srinivas(a)in.abb.com>
Sent: Samstag, 19. Dezember 2020 09:24
To: tpm2(a)lists.01.org
Subject: [tpm2] TPM2 TSS on Android

Caution: This e-mail originated outside Infineon Technologies. Do not click on links or open attachments unless you validate it is safe<https://goto.infineon.com/SocialEngineering>.


Hello All,

We are trying to use  TPM2.0 on Android, would like to port TPM2 TSS on to it,
could any of you suggest any tutorials on the NDK Build compilation of TPM2 TSS and relevant details to use TPM2 TSS on Android

Regards
Phani Srinivas S

[-- Attachment #2: attachment.htm --]
[-- Type: text/html, Size: 4930 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-01-25 19:14 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-22 10:47 [tpm2] Re: TPM2 TSS on Android Fuchs, Andreas
  -- strict thread matches above, loose matches on Subject: below --
2021-01-25 19:14 ryanmoore0981
2021-01-25 19:13 ryanmoore0981
2020-12-28 20:48 Roberts, William C
2020-12-28 20:19 Roberts, William C
2020-12-28 19:19 Roberts, William C
2020-12-25  7:37 Phani Srinivas
2020-12-21 11:04 Florian.Schreiner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.