randombit / botan

Cryptography Toolkit
https://botan.randombit.net
BSD 2-Clause "Simplified" License
2.6k stars 570 forks source link

Feature: ECC Support in TPM2 #4357

Closed atreiber94 closed 1 month ago

atreiber94 commented 1 month ago

This PR extends https://github.com/randombit/botan/pull/4337 to include ECC*, which checks another box of the ToDos in https://github.com/randombit/botan/issues/3877.

Changes and Additions

* Fine Print: Limitations
atreiber94 commented 1 month ago

Thanks for the review!

I transitioned the public interface TPM2::ecc_pubkey_from_tss2_public from using EC_Point to EC_AffinePoint.

The Crypto Backend still uses EC_AffinePoint::to_legacy_point() because ECDH does not seem transitioned yet, but at least now EC_Point does not appear in the public API.