Documentation ¶
Index ¶
- Constants
- Variables
- func DeleteOQS_KEYENCAPSULATION(arg1 OQS_KEYENCAPSULATION)
- func DeleteOQS_SIGNATURE(arg1 OQS_SIGNATURE)
- func DeleteSIG_KEYPAIR_RESULT(arg1 SIG_KEYPAIR_RESULT)
- func OQS_KEM_alg_count() (_swig_ret int)
- func OQS_KEM_alg_identifier(arg1 int64) (_swig_ret string)
- func OQS_KEM_alg_is_enabled(arg1 string) (_swig_ret int)
- func OQS_SIG_alg_count() (_swig_ret int)
- func OQS_SIG_alg_identifier(arg1 int64) (_swig_ret string)
- func OQS_SIG_alg_is_enabled(arg1 string) (_swig_ret int)
- func OQS_randombytes(arg1 int64) (_swig_ret string)
- func Swig_free(arg1 uintptr)
- func Swig_malloc(arg1 int) (_swig_ret uintptr)
- type OQS_KEM
- type OQS_KEYENCAPSULATION
- type OQS_SIG
- type OQS_SIGNATURE
- type OQS_STATUS
- type SIG_KEYPAIR_RESULT
- type SwigcptrOQS_KEM
- type SwigcptrOQS_KEYENCAPSULATION
- func (arg1 SwigcptrOQS_KEYENCAPSULATION) Decapsulate(arg2 []byte, arg3 []byte, arg4 []byte) (_swig_ret OQS_STATUS)
- func (arg1 SwigcptrOQS_KEYENCAPSULATION) Encapsulate(arg2 []byte, arg3 []byte, arg4 []byte) (_swig_ret OQS_STATUS)
- func (arg1 SwigcptrOQS_KEYENCAPSULATION) GetAlg_version() (_swig_ret string)
- func (arg1 SwigcptrOQS_KEYENCAPSULATION) GetClaimed_nist_level() (_swig_ret byte)
- func (arg1 SwigcptrOQS_KEYENCAPSULATION) GetConstruct_success() (_swig_ret bool)
- func (arg1 SwigcptrOQS_KEYENCAPSULATION) GetInd_cca() (_swig_ret bool)
- func (arg1 SwigcptrOQS_KEYENCAPSULATION) GetKem_struct() (_swig_ret OQS_KEM)
- func (arg1 SwigcptrOQS_KEYENCAPSULATION) GetLength_ciphertext() (_swig_ret int64)
- func (arg1 SwigcptrOQS_KEYENCAPSULATION) GetLength_private_key() (_swig_ret int64)
- func (arg1 SwigcptrOQS_KEYENCAPSULATION) GetLength_public_key() (_swig_ret int64)
- func (arg1 SwigcptrOQS_KEYENCAPSULATION) GetLength_shared_secret() (_swig_ret int64)
- func (arg1 SwigcptrOQS_KEYENCAPSULATION) GetMethod_name() (_swig_ret string)
- func (arg1 SwigcptrOQS_KEYENCAPSULATION) Keypair(arg2 []byte, arg3 []byte) (_swig_ret OQS_STATUS)
- func (arg1 SwigcptrOQS_KEYENCAPSULATION) SetAlg_version(arg2 string)
- func (arg1 SwigcptrOQS_KEYENCAPSULATION) SetClaimed_nist_level(arg2 byte)
- func (arg1 SwigcptrOQS_KEYENCAPSULATION) SetConstruct_success(arg2 bool)
- func (arg1 SwigcptrOQS_KEYENCAPSULATION) SetInd_cca(arg2 bool)
- func (arg1 SwigcptrOQS_KEYENCAPSULATION) SetKem_struct(arg2 OQS_KEM)
- func (arg1 SwigcptrOQS_KEYENCAPSULATION) SetLength_ciphertext(arg2 int64)
- func (arg1 SwigcptrOQS_KEYENCAPSULATION) SetLength_private_key(arg2 int64)
- func (arg1 SwigcptrOQS_KEYENCAPSULATION) SetLength_public_key(arg2 int64)
- func (arg1 SwigcptrOQS_KEYENCAPSULATION) SetLength_shared_secret(arg2 int64)
- func (arg1 SwigcptrOQS_KEYENCAPSULATION) SetMethod_name(arg2 string)
- func (p SwigcptrOQS_KEYENCAPSULATION) SwigIsOQS_KEYENCAPSULATION()
- func (p SwigcptrOQS_KEYENCAPSULATION) Swigcptr() uintptr
- type SwigcptrOQS_SIG
- type SwigcptrOQS_SIGNATURE
- func (arg1 SwigcptrOQS_SIGNATURE) GetAlg_version() (_swig_ret string)
- func (arg1 SwigcptrOQS_SIGNATURE) GetClaimed_nist_level() (_swig_ret byte)
- func (arg1 SwigcptrOQS_SIGNATURE) GetConstruct_success() (_swig_ret bool)
- func (arg1 SwigcptrOQS_SIGNATURE) GetEuf_cma() (_swig_ret bool)
- func (arg1 SwigcptrOQS_SIGNATURE) GetLength_private_key() (_swig_ret int64)
- func (arg1 SwigcptrOQS_SIGNATURE) GetLength_public_key() (_swig_ret int64)
- func (arg1 SwigcptrOQS_SIGNATURE) GetLength_signature() (_swig_ret int64)
- func (arg1 SwigcptrOQS_SIGNATURE) GetMethod_name() (_swig_ret string)
- func (arg1 SwigcptrOQS_SIGNATURE) GetSig_struct() (_swig_ret OQS_SIG)
- func (arg1 SwigcptrOQS_SIGNATURE) Keypair(arg2 []byte, arg3 []byte) (_swig_ret OQS_STATUS)
- func (arg1 SwigcptrOQS_SIGNATURE) SetAlg_version(arg2 string)
- func (arg1 SwigcptrOQS_SIGNATURE) SetClaimed_nist_level(arg2 byte)
- func (arg1 SwigcptrOQS_SIGNATURE) SetConstruct_success(arg2 bool)
- func (arg1 SwigcptrOQS_SIGNATURE) SetEuf_cma(arg2 bool)
- func (arg1 SwigcptrOQS_SIGNATURE) SetLength_private_key(arg2 int64)
- func (arg1 SwigcptrOQS_SIGNATURE) SetLength_public_key(arg2 int64)
- func (arg1 SwigcptrOQS_SIGNATURE) SetLength_signature(arg2 int64)
- func (arg1 SwigcptrOQS_SIGNATURE) SetMethod_name(arg2 string)
- func (arg1 SwigcptrOQS_SIGNATURE) SetSig_struct(arg2 OQS_SIG)
- func (arg1 SwigcptrOQS_SIGNATURE) Sign(arg2 []byte, arg3 *int64, arg4 string, arg5 int64, arg6 []byte) (_swig_ret OQS_STATUS)
- func (p SwigcptrOQS_SIGNATURE) SwigIsOQS_SIGNATURE()
- func (p SwigcptrOQS_SIGNATURE) Swigcptr() uintptr
- func (arg1 SwigcptrOQS_SIGNATURE) Verify(arg2 string, arg3 int64, arg4 []byte, arg5 int64, arg6 []byte) (_swig_ret OQS_STATUS)
- type SwigcptrSIG_KEYPAIR_RESULT
- func (arg1 SwigcptrSIG_KEYPAIR_RESULT) GetPrivate_key() (_swig_ret *byte)
- func (arg1 SwigcptrSIG_KEYPAIR_RESULT) GetPublic_key() (_swig_ret *byte)
- func (arg1 SwigcptrSIG_KEYPAIR_RESULT) GetStatus() (_swig_ret OQS_STATUS)
- func (arg1 SwigcptrSIG_KEYPAIR_RESULT) SetPrivate_key(arg2 *byte)
- func (arg1 SwigcptrSIG_KEYPAIR_RESULT) SetPublic_key(arg2 *byte)
- func (arg1 SwigcptrSIG_KEYPAIR_RESULT) SetStatus(arg2 OQS_STATUS)
- func (p SwigcptrSIG_KEYPAIR_RESULT) SwigIsSIG_KEYPAIR_RESULT()
- func (p SwigcptrSIG_KEYPAIR_RESULT) Swigcptr() uintptr
Constants ¶
View Source
const OQS_KEM_alg_bike_l1 string = "BIKE-L1"
View Source
const OQS_KEM_alg_bike_l3 string = "BIKE-L3"
View Source
const OQS_KEM_alg_bike_l5 string = "BIKE-L5"
View Source
const OQS_KEM_alg_classic_mceliece_348864 string = "Classic-McEliece-348864"
View Source
const OQS_KEM_alg_classic_mceliece_348864f string = "Classic-McEliece-348864f"
View Source
const OQS_KEM_alg_classic_mceliece_460896 string = "Classic-McEliece-460896"
View Source
const OQS_KEM_alg_classic_mceliece_460896f string = "Classic-McEliece-460896f"
View Source
const OQS_KEM_alg_classic_mceliece_6688128 string = "Classic-McEliece-6688128"
View Source
const OQS_KEM_alg_classic_mceliece_6688128f string = "Classic-McEliece-6688128f"
View Source
const OQS_KEM_alg_classic_mceliece_6960119 string = "Classic-McEliece-6960119"
View Source
const OQS_KEM_alg_classic_mceliece_6960119f string = "Classic-McEliece-6960119f"
View Source
const OQS_KEM_alg_classic_mceliece_8192128 string = "Classic-McEliece-8192128"
View Source
const OQS_KEM_alg_classic_mceliece_8192128f string = "Classic-McEliece-8192128f"
View Source
const OQS_KEM_alg_frodokem_1344_aes string = "FrodoKEM-1344-AES"
View Source
const OQS_KEM_alg_frodokem_1344_shake string = "FrodoKEM-1344-SHAKE"
View Source
const OQS_KEM_alg_frodokem_640_aes string = "FrodoKEM-640-AES"
View Source
const OQS_KEM_alg_frodokem_640_shake string = "FrodoKEM-640-SHAKE"
View Source
const OQS_KEM_alg_frodokem_976_aes string = "FrodoKEM-976-AES"
View Source
const OQS_KEM_alg_frodokem_976_shake string = "FrodoKEM-976-SHAKE"
View Source
const OQS_KEM_alg_hqc_128 string = "HQC-128"
View Source
const OQS_KEM_alg_hqc_192 string = "HQC-192"
View Source
const OQS_KEM_alg_hqc_256 string = "HQC-256"
View Source
const OQS_KEM_alg_kyber_1024 string = "Kyber1024"
View Source
const OQS_KEM_alg_kyber_1024_90s string = "Kyber1024-90s"
View Source
const OQS_KEM_alg_kyber_512 string = "Kyber512"
View Source
const OQS_KEM_alg_kyber_512_90s string = "Kyber512-90s"
View Source
const OQS_KEM_alg_kyber_768 string = "Kyber768"
View Source
const OQS_KEM_alg_kyber_768_90s string = "Kyber768-90s"
View Source
const OQS_KEM_alg_ntruprime_sntrup761 string = "sntrup761"
View Source
const OQS_KEM_algs_length int = 29
View Source
const OQS_RAND_alg_nist_kat string = "NIST-KAT"
View Source
const OQS_RAND_alg_openssl string = "OpenSSL"
View Source
const OQS_RAND_alg_system string = "system"
View Source
const OQS_SIG_alg_dilithium_2 string = "Dilithium2"
View Source
const OQS_SIG_alg_dilithium_2_aes string = "Dilithium2-AES"
View Source
const OQS_SIG_alg_dilithium_3 string = "Dilithium3"
View Source
const OQS_SIG_alg_dilithium_3_aes string = "Dilithium3-AES"
View Source
const OQS_SIG_alg_dilithium_5 string = "Dilithium5"
View Source
const OQS_SIG_alg_dilithium_5_aes string = "Dilithium5-AES"
View Source
const OQS_SIG_alg_falcon_1024 string = "Falcon-1024"
View Source
const OQS_SIG_alg_falcon_512 string = "Falcon-512"
View Source
const OQS_SIG_alg_sphincs_haraka_128f_robust string = "SPHINCS+-Haraka-128f-robust"
View Source
const OQS_SIG_alg_sphincs_haraka_128f_simple string = "SPHINCS+-Haraka-128f-simple"
View Source
const OQS_SIG_alg_sphincs_haraka_128s_robust string = "SPHINCS+-Haraka-128s-robust"
View Source
const OQS_SIG_alg_sphincs_haraka_128s_simple string = "SPHINCS+-Haraka-128s-simple"
View Source
const OQS_SIG_alg_sphincs_haraka_192f_robust string = "SPHINCS+-Haraka-192f-robust"
View Source
const OQS_SIG_alg_sphincs_haraka_192f_simple string = "SPHINCS+-Haraka-192f-simple"
View Source
const OQS_SIG_alg_sphincs_haraka_192s_robust string = "SPHINCS+-Haraka-192s-robust"
View Source
const OQS_SIG_alg_sphincs_haraka_192s_simple string = "SPHINCS+-Haraka-192s-simple"
View Source
const OQS_SIG_alg_sphincs_haraka_256f_robust string = "SPHINCS+-Haraka-256f-robust"
View Source
const OQS_SIG_alg_sphincs_haraka_256f_simple string = "SPHINCS+-Haraka-256f-simple"
View Source
const OQS_SIG_alg_sphincs_haraka_256s_robust string = "SPHINCS+-Haraka-256s-robust"
View Source
const OQS_SIG_alg_sphincs_haraka_256s_simple string = "SPHINCS+-Haraka-256s-simple"
View Source
const OQS_SIG_alg_sphincs_sha256_128f_robust string = "SPHINCS+-SHA256-128f-robust"
View Source
const OQS_SIG_alg_sphincs_sha256_128f_simple string = "SPHINCS+-SHA256-128f-simple"
View Source
const OQS_SIG_alg_sphincs_sha256_128s_robust string = "SPHINCS+-SHA256-128s-robust"
View Source
const OQS_SIG_alg_sphincs_sha256_128s_simple string = "SPHINCS+-SHA256-128s-simple"
View Source
const OQS_SIG_alg_sphincs_sha256_192f_robust string = "SPHINCS+-SHA256-192f-robust"
View Source
const OQS_SIG_alg_sphincs_sha256_192f_simple string = "SPHINCS+-SHA256-192f-simple"
View Source
const OQS_SIG_alg_sphincs_sha256_192s_robust string = "SPHINCS+-SHA256-192s-robust"
View Source
const OQS_SIG_alg_sphincs_sha256_192s_simple string = "SPHINCS+-SHA256-192s-simple"
View Source
const OQS_SIG_alg_sphincs_sha256_256f_robust string = "SPHINCS+-SHA256-256f-robust"
View Source
const OQS_SIG_alg_sphincs_sha256_256f_simple string = "SPHINCS+-SHA256-256f-simple"
View Source
const OQS_SIG_alg_sphincs_sha256_256s_robust string = "SPHINCS+-SHA256-256s-robust"
View Source
const OQS_SIG_alg_sphincs_sha256_256s_simple string = "SPHINCS+-SHA256-256s-simple"
View Source
const OQS_SIG_alg_sphincs_shake256_128f_robust string = "SPHINCS+-SHAKE256-128f-robust"
View Source
const OQS_SIG_alg_sphincs_shake256_128f_simple string = "SPHINCS+-SHAKE256-128f-simple"
View Source
const OQS_SIG_alg_sphincs_shake256_128s_robust string = "SPHINCS+-SHAKE256-128s-robust"
View Source
const OQS_SIG_alg_sphincs_shake256_128s_simple string = "SPHINCS+-SHAKE256-128s-simple"
View Source
const OQS_SIG_alg_sphincs_shake256_192f_robust string = "SPHINCS+-SHAKE256-192f-robust"
View Source
const OQS_SIG_alg_sphincs_shake256_192f_simple string = "SPHINCS+-SHAKE256-192f-simple"
View Source
const OQS_SIG_alg_sphincs_shake256_192s_robust string = "SPHINCS+-SHAKE256-192s-robust"
View Source
const OQS_SIG_alg_sphincs_shake256_192s_simple string = "SPHINCS+-SHAKE256-192s-simple"
View Source
const OQS_SIG_alg_sphincs_shake256_256f_robust string = "SPHINCS+-SHAKE256-256f-robust"
View Source
const OQS_SIG_alg_sphincs_shake256_256f_simple string = "SPHINCS+-SHAKE256-256f-simple"
View Source
const OQS_SIG_alg_sphincs_shake256_256s_robust string = "SPHINCS+-SHAKE256-256s-robust"
View Source
const OQS_SIG_alg_sphincs_shake256_256s_simple string = "SPHINCS+-SHAKE256-256s-simple"
View Source
const OQS_SIG_algs_length int = 44
Variables ¶
View Source
var Swig_escape_always_false bool
View Source
var Swig_escape_val interface{}
Functions ¶
func DeleteOQS_KEYENCAPSULATION ¶
func DeleteOQS_KEYENCAPSULATION(arg1 OQS_KEYENCAPSULATION)
func DeleteOQS_SIGNATURE ¶
func DeleteOQS_SIGNATURE(arg1 OQS_SIGNATURE)
func DeleteSIG_KEYPAIR_RESULT ¶
func DeleteSIG_KEYPAIR_RESULT(arg1 SIG_KEYPAIR_RESULT)
func OQS_KEM_alg_count ¶
func OQS_KEM_alg_count() (_swig_ret int)
func OQS_KEM_alg_identifier ¶
func OQS_KEM_alg_is_enabled ¶
func OQS_SIG_alg_count ¶
func OQS_SIG_alg_count() (_swig_ret int)
func OQS_SIG_alg_identifier ¶
func OQS_SIG_alg_is_enabled ¶
func OQS_randombytes ¶
func Swig_malloc ¶
Types ¶
type OQS_KEYENCAPSULATION ¶
type OQS_KEYENCAPSULATION interface { Swigcptr() uintptr SwigIsOQS_KEYENCAPSULATION() SetKem_struct(arg2 OQS_KEM) GetKem_struct() (_swig_ret OQS_KEM) SetConstruct_success(arg2 bool) GetConstruct_success() (_swig_ret bool) SetMethod_name(arg2 string) GetMethod_name() (_swig_ret string) SetAlg_version(arg2 string) GetAlg_version() (_swig_ret string) SetClaimed_nist_level(arg2 byte) GetClaimed_nist_level() (_swig_ret byte) SetInd_cca(arg2 bool) GetInd_cca() (_swig_ret bool) SetLength_public_key(arg2 int64) GetLength_public_key() (_swig_ret int64) SetLength_private_key(arg2 int64) GetLength_private_key() (_swig_ret int64) SetLength_ciphertext(arg2 int64) GetLength_ciphertext() (_swig_ret int64) Keypair(arg2 []byte, arg3 []byte) (_swig_ret OQS_STATUS) Encapsulate(arg2 []byte, arg3 []byte, arg4 []byte) (_swig_ret OQS_STATUS) Decapsulate(arg2 []byte, arg3 []byte, arg4 []byte) (_swig_ret OQS_STATUS) }
func NewOQS_KEYENCAPSULATION ¶
func NewOQS_KEYENCAPSULATION(arg1 string) (_swig_ret OQS_KEYENCAPSULATION)
type OQS_SIGNATURE ¶
type OQS_SIGNATURE interface { Swigcptr() uintptr SwigIsOQS_SIGNATURE() SetSig_struct(arg2 OQS_SIG) GetSig_struct() (_swig_ret OQS_SIG) SetConstruct_success(arg2 bool) GetConstruct_success() (_swig_ret bool) SetMethod_name(arg2 string) GetMethod_name() (_swig_ret string) SetAlg_version(arg2 string) GetAlg_version() (_swig_ret string) SetClaimed_nist_level(arg2 byte) GetClaimed_nist_level() (_swig_ret byte) SetEuf_cma(arg2 bool) GetEuf_cma() (_swig_ret bool) SetLength_public_key(arg2 int64) GetLength_public_key() (_swig_ret int64) SetLength_private_key(arg2 int64) GetLength_private_key() (_swig_ret int64) SetLength_signature(arg2 int64) GetLength_signature() (_swig_ret int64) Keypair(arg2 []byte, arg3 []byte) (_swig_ret OQS_STATUS) Sign(arg2 []byte, arg3 *int64, arg4 string, arg5 int64, arg6 []byte) (_swig_ret OQS_STATUS) Verify(arg2 string, arg3 int64, arg4 []byte, arg5 int64, arg6 []byte) (_swig_ret OQS_STATUS) }
func NewOQS_SIGNATURE ¶
func NewOQS_SIGNATURE(arg1 string) (_swig_ret OQS_SIGNATURE)
type OQS_STATUS ¶
type OQS_STATUS int
var OQS_ERROR OQS_STATUS = _swig_getOQS_ERROR()
var OQS_EXTERNAL_LIB_ERROR_OPENSSL OQS_STATUS = _swig_getOQS_EXTERNAL_LIB_ERROR_OPENSSL()
var OQS_SUCCESS OQS_STATUS = _swig_getOQS_SUCCESS()
func OQS_randombytes_switch_algorithm ¶
func OQS_randombytes_switch_algorithm(arg1 string) (_swig_ret OQS_STATUS)
type SIG_KEYPAIR_RESULT ¶
type SIG_KEYPAIR_RESULT interface { Swigcptr() uintptr SwigIsSIG_KEYPAIR_RESULT() SetStatus(arg2 OQS_STATUS) GetStatus() (_swig_ret OQS_STATUS) SetPublic_key(arg2 *byte) GetPublic_key() (_swig_ret *byte) SetPrivate_key(arg2 *byte) GetPrivate_key() (_swig_ret *byte) }
func NewSIG_KEYPAIR_RESULT ¶
func NewSIG_KEYPAIR_RESULT() (_swig_ret SIG_KEYPAIR_RESULT)
type SwigcptrOQS_KEM ¶
type SwigcptrOQS_KEM uintptr
func (SwigcptrOQS_KEM) Swigcptr ¶
func (p SwigcptrOQS_KEM) Swigcptr() uintptr
type SwigcptrOQS_KEYENCAPSULATION ¶
type SwigcptrOQS_KEYENCAPSULATION uintptr
func (SwigcptrOQS_KEYENCAPSULATION) Decapsulate ¶
func (arg1 SwigcptrOQS_KEYENCAPSULATION) Decapsulate(arg2 []byte, arg3 []byte, arg4 []byte) (_swig_ret OQS_STATUS)
func (SwigcptrOQS_KEYENCAPSULATION) Encapsulate ¶
func (arg1 SwigcptrOQS_KEYENCAPSULATION) Encapsulate(arg2 []byte, arg3 []byte, arg4 []byte) (_swig_ret OQS_STATUS)
func (SwigcptrOQS_KEYENCAPSULATION) GetAlg_version ¶
func (arg1 SwigcptrOQS_KEYENCAPSULATION) GetAlg_version() (_swig_ret string)
func (SwigcptrOQS_KEYENCAPSULATION) GetClaimed_nist_level ¶
func (arg1 SwigcptrOQS_KEYENCAPSULATION) GetClaimed_nist_level() (_swig_ret byte)
func (SwigcptrOQS_KEYENCAPSULATION) GetConstruct_success ¶
func (arg1 SwigcptrOQS_KEYENCAPSULATION) GetConstruct_success() (_swig_ret bool)
func (SwigcptrOQS_KEYENCAPSULATION) GetInd_cca ¶
func (arg1 SwigcptrOQS_KEYENCAPSULATION) GetInd_cca() (_swig_ret bool)
func (SwigcptrOQS_KEYENCAPSULATION) GetKem_struct ¶
func (arg1 SwigcptrOQS_KEYENCAPSULATION) GetKem_struct() (_swig_ret OQS_KEM)
func (SwigcptrOQS_KEYENCAPSULATION) GetLength_ciphertext ¶
func (arg1 SwigcptrOQS_KEYENCAPSULATION) GetLength_ciphertext() (_swig_ret int64)
func (SwigcptrOQS_KEYENCAPSULATION) GetLength_private_key ¶
func (arg1 SwigcptrOQS_KEYENCAPSULATION) GetLength_private_key() (_swig_ret int64)
func (SwigcptrOQS_KEYENCAPSULATION) GetLength_public_key ¶
func (arg1 SwigcptrOQS_KEYENCAPSULATION) GetLength_public_key() (_swig_ret int64)
func (SwigcptrOQS_KEYENCAPSULATION) GetLength_shared_secret ¶
func (arg1 SwigcptrOQS_KEYENCAPSULATION) GetLength_shared_secret() (_swig_ret int64)
func (SwigcptrOQS_KEYENCAPSULATION) GetMethod_name ¶
func (arg1 SwigcptrOQS_KEYENCAPSULATION) GetMethod_name() (_swig_ret string)
func (SwigcptrOQS_KEYENCAPSULATION) Keypair ¶
func (arg1 SwigcptrOQS_KEYENCAPSULATION) Keypair(arg2 []byte, arg3 []byte) (_swig_ret OQS_STATUS)
func (SwigcptrOQS_KEYENCAPSULATION) SetAlg_version ¶
func (arg1 SwigcptrOQS_KEYENCAPSULATION) SetAlg_version(arg2 string)
func (SwigcptrOQS_KEYENCAPSULATION) SetClaimed_nist_level ¶
func (arg1 SwigcptrOQS_KEYENCAPSULATION) SetClaimed_nist_level(arg2 byte)
func (SwigcptrOQS_KEYENCAPSULATION) SetConstruct_success ¶
func (arg1 SwigcptrOQS_KEYENCAPSULATION) SetConstruct_success(arg2 bool)
func (SwigcptrOQS_KEYENCAPSULATION) SetInd_cca ¶
func (arg1 SwigcptrOQS_KEYENCAPSULATION) SetInd_cca(arg2 bool)
func (SwigcptrOQS_KEYENCAPSULATION) SetKem_struct ¶
func (arg1 SwigcptrOQS_KEYENCAPSULATION) SetKem_struct(arg2 OQS_KEM)
func (SwigcptrOQS_KEYENCAPSULATION) SetLength_ciphertext ¶
func (arg1 SwigcptrOQS_KEYENCAPSULATION) SetLength_ciphertext(arg2 int64)
func (SwigcptrOQS_KEYENCAPSULATION) SetLength_private_key ¶
func (arg1 SwigcptrOQS_KEYENCAPSULATION) SetLength_private_key(arg2 int64)
func (SwigcptrOQS_KEYENCAPSULATION) SetLength_public_key ¶
func (arg1 SwigcptrOQS_KEYENCAPSULATION) SetLength_public_key(arg2 int64)
func (SwigcptrOQS_KEYENCAPSULATION) SetLength_shared_secret ¶
func (arg1 SwigcptrOQS_KEYENCAPSULATION) SetLength_shared_secret(arg2 int64)
func (SwigcptrOQS_KEYENCAPSULATION) SetMethod_name ¶
func (arg1 SwigcptrOQS_KEYENCAPSULATION) SetMethod_name(arg2 string)
func (SwigcptrOQS_KEYENCAPSULATION) SwigIsOQS_KEYENCAPSULATION ¶
func (p SwigcptrOQS_KEYENCAPSULATION) SwigIsOQS_KEYENCAPSULATION()
func (SwigcptrOQS_KEYENCAPSULATION) Swigcptr ¶
func (p SwigcptrOQS_KEYENCAPSULATION) Swigcptr() uintptr
type SwigcptrOQS_SIG ¶
type SwigcptrOQS_SIG uintptr
func (SwigcptrOQS_SIG) Swigcptr ¶
func (p SwigcptrOQS_SIG) Swigcptr() uintptr
type SwigcptrOQS_SIGNATURE ¶
type SwigcptrOQS_SIGNATURE uintptr
func (SwigcptrOQS_SIGNATURE) GetAlg_version ¶
func (arg1 SwigcptrOQS_SIGNATURE) GetAlg_version() (_swig_ret string)
func (SwigcptrOQS_SIGNATURE) GetClaimed_nist_level ¶
func (arg1 SwigcptrOQS_SIGNATURE) GetClaimed_nist_level() (_swig_ret byte)
func (SwigcptrOQS_SIGNATURE) GetConstruct_success ¶
func (arg1 SwigcptrOQS_SIGNATURE) GetConstruct_success() (_swig_ret bool)
func (SwigcptrOQS_SIGNATURE) GetEuf_cma ¶
func (arg1 SwigcptrOQS_SIGNATURE) GetEuf_cma() (_swig_ret bool)
func (SwigcptrOQS_SIGNATURE) GetLength_private_key ¶
func (arg1 SwigcptrOQS_SIGNATURE) GetLength_private_key() (_swig_ret int64)
func (SwigcptrOQS_SIGNATURE) GetLength_public_key ¶
func (arg1 SwigcptrOQS_SIGNATURE) GetLength_public_key() (_swig_ret int64)
func (SwigcptrOQS_SIGNATURE) GetLength_signature ¶
func (arg1 SwigcptrOQS_SIGNATURE) GetLength_signature() (_swig_ret int64)
func (SwigcptrOQS_SIGNATURE) GetMethod_name ¶
func (arg1 SwigcptrOQS_SIGNATURE) GetMethod_name() (_swig_ret string)
func (SwigcptrOQS_SIGNATURE) GetSig_struct ¶
func (arg1 SwigcptrOQS_SIGNATURE) GetSig_struct() (_swig_ret OQS_SIG)
func (SwigcptrOQS_SIGNATURE) Keypair ¶
func (arg1 SwigcptrOQS_SIGNATURE) Keypair(arg2 []byte, arg3 []byte) (_swig_ret OQS_STATUS)
func (SwigcptrOQS_SIGNATURE) SetAlg_version ¶
func (arg1 SwigcptrOQS_SIGNATURE) SetAlg_version(arg2 string)
func (SwigcptrOQS_SIGNATURE) SetClaimed_nist_level ¶
func (arg1 SwigcptrOQS_SIGNATURE) SetClaimed_nist_level(arg2 byte)
func (SwigcptrOQS_SIGNATURE) SetConstruct_success ¶
func (arg1 SwigcptrOQS_SIGNATURE) SetConstruct_success(arg2 bool)
func (SwigcptrOQS_SIGNATURE) SetEuf_cma ¶
func (arg1 SwigcptrOQS_SIGNATURE) SetEuf_cma(arg2 bool)
func (SwigcptrOQS_SIGNATURE) SetLength_private_key ¶
func (arg1 SwigcptrOQS_SIGNATURE) SetLength_private_key(arg2 int64)
func (SwigcptrOQS_SIGNATURE) SetLength_public_key ¶
func (arg1 SwigcptrOQS_SIGNATURE) SetLength_public_key(arg2 int64)
func (SwigcptrOQS_SIGNATURE) SetLength_signature ¶
func (arg1 SwigcptrOQS_SIGNATURE) SetLength_signature(arg2 int64)
func (SwigcptrOQS_SIGNATURE) SetMethod_name ¶
func (arg1 SwigcptrOQS_SIGNATURE) SetMethod_name(arg2 string)
func (SwigcptrOQS_SIGNATURE) SetSig_struct ¶
func (arg1 SwigcptrOQS_SIGNATURE) SetSig_struct(arg2 OQS_SIG)
func (SwigcptrOQS_SIGNATURE) Sign ¶
func (arg1 SwigcptrOQS_SIGNATURE) Sign(arg2 []byte, arg3 *int64, arg4 string, arg5 int64, arg6 []byte) (_swig_ret OQS_STATUS)
func (SwigcptrOQS_SIGNATURE) SwigIsOQS_SIGNATURE ¶
func (p SwigcptrOQS_SIGNATURE) SwigIsOQS_SIGNATURE()
func (SwigcptrOQS_SIGNATURE) Swigcptr ¶
func (p SwigcptrOQS_SIGNATURE) Swigcptr() uintptr
func (SwigcptrOQS_SIGNATURE) Verify ¶
func (arg1 SwigcptrOQS_SIGNATURE) Verify(arg2 string, arg3 int64, arg4 []byte, arg5 int64, arg6 []byte) (_swig_ret OQS_STATUS)
type SwigcptrSIG_KEYPAIR_RESULT ¶
type SwigcptrSIG_KEYPAIR_RESULT uintptr
func (SwigcptrSIG_KEYPAIR_RESULT) GetPrivate_key ¶
func (arg1 SwigcptrSIG_KEYPAIR_RESULT) GetPrivate_key() (_swig_ret *byte)
func (SwigcptrSIG_KEYPAIR_RESULT) GetPublic_key ¶
func (arg1 SwigcptrSIG_KEYPAIR_RESULT) GetPublic_key() (_swig_ret *byte)
func (SwigcptrSIG_KEYPAIR_RESULT) GetStatus ¶
func (arg1 SwigcptrSIG_KEYPAIR_RESULT) GetStatus() (_swig_ret OQS_STATUS)
func (SwigcptrSIG_KEYPAIR_RESULT) SetPrivate_key ¶
func (arg1 SwigcptrSIG_KEYPAIR_RESULT) SetPrivate_key(arg2 *byte)
func (SwigcptrSIG_KEYPAIR_RESULT) SetPublic_key ¶
func (arg1 SwigcptrSIG_KEYPAIR_RESULT) SetPublic_key(arg2 *byte)
func (SwigcptrSIG_KEYPAIR_RESULT) SetStatus ¶
func (arg1 SwigcptrSIG_KEYPAIR_RESULT) SetStatus(arg2 OQS_STATUS)
func (SwigcptrSIG_KEYPAIR_RESULT) SwigIsSIG_KEYPAIR_RESULT ¶
func (p SwigcptrSIG_KEYPAIR_RESULT) SwigIsSIG_KEYPAIR_RESULT()
func (SwigcptrSIG_KEYPAIR_RESULT) Swigcptr ¶
func (p SwigcptrSIG_KEYPAIR_RESULT) Swigcptr() uintptr
Click to show internal directories.
Click to hide internal directories.