mirror of
https://github.com/luxfi/crypto.git
synced 2026-07-27 01:54:50 +00:00
20 lines
618 B
Go
20 lines
618 B
Go
//go:build cgo
|
|
// +build cgo
|
|
|
|
package mlkem
|
|
|
|
// This file contains CGO-optimized implementations that are only compiled
|
|
// when CGO is explicitly enabled with CGO_ENABLED=1
|
|
//
|
|
// CGO optimizations reserved - currently using pure Go implementation.
|
|
// Future optimizations could include:
|
|
// - ML-KEM-512/768/1024 from NIST reference implementation
|
|
// - CRYSTALS-Kyber optimized implementations
|
|
// - AVX2/AVX512 optimizations for x86_64
|
|
// - NEON optimizations for ARM64
|
|
//
|
|
// The pure Go implementation provides:
|
|
// - Full ML-KEM compliance with FIPS 203
|
|
// - Constant-time operations
|
|
// - Cross-platform compatibility
|