Skip to content

Instantly share code, notes, and snippets.

View reitowo's full-sized avatar
😽
saving the world

reito reitowo

😽
saving the world
View GitHub Profile
@reitowo
reitowo / main.go
Created June 22, 2025 18:04 — forked from arianvp/main.go
TPM2 Activation and Attestation flow in Go
package main
import (
"crypto/ecdsa"
"crypto/elliptic"
"crypto/rand"
"crypto/subtle"
"crypto/x509"
"log"
"math/big"