crypton API 1.1.5 → 2.3.1
Public declarations, with the types the compiler inferred, from the documentation Hackage built for each version.
13 removed, 325 added, 4 changed
version bump matches the API change (PVP)
- Crypto.Cipher.Salsa: State :: ScrubbedBytes -> State
- Crypto.Cipher.Salsa: instance Control.DeepSeq.NFData Crypto.Cipher.Salsa.State
- Crypto.Cipher.Salsa: newtype State
- Crypto.ECC: instance Control.DeepSeq.NFData Crypto.ECC.SharedSecret
- Crypto.ECC: instance Data.ByteArray.Types.ByteArrayAccess Crypto.ECC.SharedSecret
- Crypto.ECC: instance GHC.Base.Monoid Crypto.ECC.SharedSecret
- Crypto.ECC: instance GHC.Base.Semigroup Crypto.ECC.SharedSecret
- Crypto.ECC: instance GHC.Classes.Eq Crypto.ECC.SharedSecret
- Crypto.System.CPU: AESNI :: ProcessorOption
- Crypto.System.CPU: PCLMUL :: ProcessorOption
- Crypto.System.CPU: RDRAND :: ProcessorOption
- Crypto.System.CPU: instance Data.Data.Data Crypto.System.CPU.ProcessorOption
- Crypto.System.CPU: instance GHC.Enum.Enum Crypto.System.CPU.ProcessorOption
+ Crypto.Cipher.AES.GCM: data Context
+ Crypto.Cipher.AES.GCM: data HeaderKey
+ Crypto.Cipher.AES.GCM: decrypt :: (ByteArrayAccess nonce, ByteArrayAccess aad, ByteArray ba) => Context -> nonce -> aad -> ba -> Int -> Maybe ba
+ Crypto.Cipher.AES.GCM: decryptWithTag :: (ByteArrayAccess nonce, ByteArrayAccess aad, ByteArray ba) => Context -> nonce -> aad -> ba -> Int -> (ba, AuthTag)
+ Crypto.Cipher.AES.GCM: encrypt :: (ByteArrayAccess nonce, ByteArrayAccess aad, ByteArrayAccess ba, ByteArray output) => Context -> nonce -> aad -> ba -> Int -> output
+ Crypto.Cipher.AES.GCM: encryptWithMask :: (ByteArrayAccess nonce, ByteArrayAccess aad, ByteArrayAccess ba) => Context -> HeaderKey -> nonce -> aad -> ba -> Int -> Int -> Ptr Word8 -> Ptr Word8 -> IO Bool
+ Crypto.Cipher.AES.GCM: newContext :: ByteArrayAccess key => key -> CryptoFailable Context
+ Crypto.Cipher.AES.GCM: newHeaderKey :: ByteArrayAccess key => key -> CryptoFailable HeaderKey
+ Crypto.Cipher.ChaCha.Poly1305: data Context
+ Crypto.Cipher.ChaCha.Poly1305: decrypt :: (ByteArrayAccess nonce, ByteArrayAccess aad, ByteArray ba) => Context -> nonce -> aad -> ba -> Int -> Maybe ba
+ Crypto.Cipher.ChaCha.Poly1305: decryptWithTag :: (ByteArrayAccess nonce, ByteArrayAccess aad, ByteArray ba) => Context -> nonce -> aad -> ba -> Int -> CryptoFailable (ba, AuthTag)
+ Crypto.Cipher.ChaCha.Poly1305: encrypt :: (ByteArrayAccess nonce, ByteArrayAccess aad, ByteArrayAccess ba, ByteArray output) => Context -> nonce -> aad -> ba -> Int -> CryptoFailable output
+ Crypto.Cipher.ChaCha.Poly1305: instance Control.DeepSeq.NFData Crypto.Cipher.ChaCha.Poly1305.Context
+ Crypto.Cipher.ChaCha.Poly1305: newContext :: ByteArrayAccess key => key -> CryptoFailable Context
+ Crypto.Cipher.ChaChaPoly1305: data Key
+ Crypto.Cipher.ChaChaPoly1305: instance Control.DeepSeq.NFData Crypto.Cipher.ChaChaPoly1305.Key
+ Crypto.Cipher.ChaChaPoly1305: instance Data.ByteArray.Types.ByteArrayAccess Crypto.Cipher.ChaChaPoly1305.Key
+ Crypto.Cipher.ChaChaPoly1305: instance GHC.Classes.Eq Crypto.Cipher.ChaChaPoly1305.Key
+ Crypto.Cipher.ChaChaPoly1305: key :: ByteArrayAccess ba => ba -> CryptoFailable Key
+ Crypto.Cipher.Salsa: data State
+ Crypto.Cipher.Types: AEAD_OCB_TAG :: Int -> AEADMode
+ Crypto.Cipher.Types: tryAeadSimpleDecrypt :: (ByteArrayAccess aad, ByteArray ba) => AEAD a -> aad -> ba -> Int -> AuthTag -> Maybe ba
+ Crypto.Data.AFIS: tryMerge :: (ByteArray ba, HashAlgorithm hash) => hash -> Int -> ba -> CryptoFailable ba
+ Crypto.Data.AFIS: trySplit :: (ByteArray ba, HashAlgorithm hash, DRG rng) => hash -> rng -> Int -> ba -> CryptoFailable (ba, rng)
+ Crypto.Debug: class DebugShow a
+ Crypto.Debug: debugShow :: DebugShow a => a -> String
+ Crypto.Debug: debugShowBytes :: ByteArrayAccess ba => String -> ba -> String
+ Crypto.Error: CryptoError_ParameterInvalid :: CryptoError
+ Crypto.Error: CryptoError_PointSubgroupInvalid :: CryptoError
+ Crypto.Error: CryptoError_PublicKeyStructureInvalid :: CryptoError
+ Crypto.Hash.Algorithms: Skein256 :: Skein256 (bitlen :: Nat)
+ Crypto.Hash.Algorithms: Skein512 :: Skein512 (bitlen :: Nat)
+ Crypto.Hash.Algorithms: data Skein256 (bitlen :: Nat)
+ Crypto.Hash.Algorithms: data Skein512 (bitlen :: Nat)
+ Crypto.KDF.BCrypt: tryBcrypt :: (ByteArray salt, ByteArray password, ByteArray output) => Int -> salt -> password -> CryptoFailable output
+ Crypto.KDF.BCrypt: tryHashPassword :: (MonadRandom m, ByteArray password, ByteArray hash) => Int -> password -> m (CryptoFailable hash)
+ Crypto.KDF.BCryptPBKDF: tryGenerate :: (ByteArray pass, ByteArray salt, ByteArray output) => Parameters -> pass -> salt -> CryptoFailable output
+ Crypto.KDF.BCryptPBKDF: tryHashInternal :: (ByteArrayAccess pass, ByteArrayAccess salt, ByteArray output) => pass -> salt -> CryptoFailable output
+ Crypto.KDF.HKDF: tryExpand :: (HashAlgorithm a, ByteArrayAccess info, ByteArray out) => PRK a -> info -> Int -> CryptoFailable out
+ Crypto.KDF.PBKDF2: tryFastPBKDF2_SHA1 :: (ByteArrayAccess password, ByteArrayAccess salt, ByteArray out) => Parameters -> password -> salt -> CryptoFailable out
+ Crypto.KDF.PBKDF2: tryFastPBKDF2_SHA256 :: (ByteArrayAccess password, ByteArrayAccess salt, ByteArray out) => Parameters -> password -> salt -> CryptoFailable out
+ Crypto.KDF.PBKDF2: tryFastPBKDF2_SHA512 :: (ByteArrayAccess password, ByteArrayAccess salt, ByteArray out) => Parameters -> password -> salt -> CryptoFailable out
+ Crypto.KDF.PBKDF2: tryGenerate :: (ByteArrayAccess password, ByteArrayAccess salt, ByteArray ba) => PRF password -> Parameters -> password -> salt -> CryptoFailable ba
+ Crypto.KDF.Scrypt: tryGenerate :: (ByteArrayAccess password, ByteArrayAccess salt, ByteArray output) => Parameters -> password -> salt -> CryptoFailable output
+ Crypto.KEM: -- Both are secret, and both determine the shared secret completely.
+ Crypto.KEM: -- bytes; in DHKEM it is the ephemeral secret key, a scalar of the group.
+ Crypto.KEM: -- caller supply it. In ML-KEM it is <tt>m</tt> of FIPS 203, a string of
+ Crypto.KEM: -- | The randomness <a>encapsulate</a> draws, for the instances that let a
+ Crypto.KEM: SharedSecret :: ScrubbedBytes -> SharedSecret
+ Crypto.KEM: class KEM kem where {
+ Crypto.KEM: decapsulate :: KEM kem => proxy kem -> DecapsulationKey kem -> Ciphertext kem -> CryptoFailable SharedSecret
+ Crypto.KEM: encapsulate :: (KEM kem, MonadRandom m) => proxy kem -> EncapsulationKey kem -> m (CryptoFailable (Ciphertext kem, SharedSecret))
+ Crypto.KEM: encapsulateWith :: KEM kem => proxy kem -> EncapsulationKey kem -> Coins kem -> CryptoFailable (Ciphertext kem, SharedSecret)
+ Crypto.KEM: generateKeyPair :: (KEM kem, MonadRandom m) => proxy kem -> m (EncapsulationKey kem, DecapsulationKey kem)
+ Crypto.KEM: instance Control.DeepSeq.NFData Crypto.KEM.SharedSecret
+ Crypto.KEM: instance Data.ByteArray.Types.ByteArrayAccess Crypto.KEM.SharedSecret
+ Crypto.KEM: instance GHC.Base.Monoid Crypto.KEM.SharedSecret
+ Crypto.KEM: instance GHC.Base.Semigroup Crypto.KEM.SharedSecret
+ Crypto.KEM: instance GHC.Classes.Eq Crypto.KEM.SharedSecret
+ Crypto.KEM: instance GHC.Show.Show Crypto.KEM.SharedSecret
+ Crypto.KEM: newtype SharedSecret
+ Crypto.KEM: type Ciphertext kem;
+ Crypto.KEM: type Coins kem;
+ Crypto.KEM: type DecapsulationKey kem;
+ Crypto.KEM: type EncapsulationKey kem;
+ Crypto.KEM: }
+ Crypto.MAC.Poly1305: data Key
+ Crypto.MAC.Poly1305: key :: ByteArrayAccess ba => ba -> CryptoFailable Key
+ Crypto.Number.ModArithmetic: CoprimesAssertionError :: CoprimesAssertionError
+ Crypto.Number.ModArithmetic: ModulusAssertionError :: ModulusAssertionError
+ Crypto.Number.ModArithmetic: data CoprimesAssertionError
+ Crypto.Number.ModArithmetic: data ModulusAssertionError
+ Crypto.Number.ModArithmetic: inverseSafe :: Integer -> Integer -> Maybe Integer
+ Crypto.OTP: minimumDigestSize :: Int
+ Crypto.PubKey.Curve25519: instance Crypto.Debug.DebugShow Crypto.PubKey.Curve25519.SecretKey
+ Crypto.PubKey.Curve448: instance Crypto.Debug.DebugShow Crypto.PubKey.Curve448.SecretKey
+ Crypto.PubKey.DH: instance Crypto.Debug.DebugShow Crypto.PubKey.DH.PrivateNumber
+ Crypto.PubKey.DH: tryGetShared :: Params -> PrivateNumber -> PublicNumber -> CryptoFailable SharedKey
+ Crypto.PubKey.DSA: deterministicNonce :: (HashAlgorithm hashDRG, HashAlgorithm hashDigest) => hashDRG -> PrivateKey -> Digest hashDigest -> (Integer -> Maybe a) -> a
+ Crypto.PubKey.DSA: instance Crypto.Debug.DebugShow Crypto.PubKey.DSA.KeyPair
+ Crypto.PubKey.DSA: instance Crypto.Debug.DebugShow Crypto.PubKey.DSA.PrivateKey
+ Crypto.PubKey.DSA: signDeterministic :: (HashAlgorithm hashDRG, HashAlgorithm hash, ByteArrayAccess msg) => hashDRG -> PrivateKey -> hash -> msg -> Signature
+ Crypto.PubKey.DSA: signDigest :: (HashAlgorithm hash, MonadRandom m) => PrivateKey -> Digest hash -> m Signature
+ Crypto.PubKey.DSA: signDigestDeterministic :: (HashAlgorithm hashDRG, HashAlgorithm hashDigest) => hashDRG -> PrivateKey -> Digest hashDigest -> Signature
+ Crypto.PubKey.DSA: signDigestWith :: HashAlgorithm hash => Integer -> PrivateKey -> Digest hash -> Maybe Signature
+ Crypto.PubKey.DSA: verifyDigest :: HashAlgorithm hash => PublicKey -> Signature -> Digest hash -> Bool
+ Crypto.PubKey.ECC.DH: tryGetShared :: Curve -> PrivateNumber -> PublicPoint -> CryptoFailable SharedKey
+ Crypto.PubKey.ECC.ECDSA: instance Crypto.Debug.DebugShow Crypto.PubKey.ECC.ECDSA.KeyPair
+ Crypto.PubKey.ECC.ECDSA: instance Crypto.Debug.DebugShow Crypto.PubKey.ECC.ECDSA.PrivateKey
+ Crypto.PubKey.ECC.P256: scalarReduce :: Scalar -> Scalar
+ Crypto.PubKey.ECC.Prim: isPointInSubgroup :: Curve -> Point -> Bool
+ Crypto.PubKey.ECC.Prim: scalarAdd :: Curve -> Integer -> Integer -> Integer
+ Crypto.PubKey.ECC.Prim: scalarInverse :: Curve -> Integer -> Maybe Integer
+ Crypto.PubKey.ECC.Prim: scalarMul :: Curve -> Integer -> Integer -> Integer
+ Crypto.PubKey.ECDSA: deterministicNonce :: (EllipticCurveECDSA curve, HashAlgorithm hashDRG, HashAlgorithm hashDigest) => proxy curve -> hashDRG -> PrivateKey curve -> Digest hashDigest -> (Scalar curve -> Maybe a) -> a
+ Crypto.PubKey.ECDSA: signDeterministic :: (EllipticCurveECDSA curve, HashAlgorithm hashDRG, HashAlgorithm hash, ByteArrayAccess msg) => proxy curve -> hashDRG -> PrivateKey curve -> hash -> msg -> Signature curve
+ Crypto.PubKey.ECDSA: signDigestDeterministic :: (EllipticCurveECDSA curve, HashAlgorithm hashDRG, HashAlgorithm hashDigest) => proxy curve -> hashDRG -> PrivateKey curve -> Digest hashDigest -> Signature curve
+ Crypto.PubKey.Ed25519: instance Crypto.Debug.DebugShow Crypto.PubKey.Ed25519.SecretKey
+ Crypto.PubKey.Ed448: instance Crypto.Debug.DebugShow Crypto.PubKey.Ed448.SecretKey
+ Crypto.PubKey.EdDSA: instance Crypto.Debug.DebugShow (Crypto.PubKey.EdDSA.SecretKey curve)
+ Crypto.PubKey.ElGamal: EphemeralKey :: Integer -> EphemeralKey
+ Crypto.PubKey.ElGamal: Signature :: Integer -> Integer -> Signature
+ Crypto.PubKey.ElGamal: [sign_r] :: Signature -> Integer
+ Crypto.PubKey.ElGamal: [sign_s] :: Signature -> Integer
+ Crypto.PubKey.ElGamal: data Params
+ Crypto.PubKey.ElGamal: data PrivateNumber
+ Crypto.PubKey.ElGamal: data PublicNumber
+ Crypto.PubKey.ElGamal: data SharedKey
+ Crypto.PubKey.ElGamal: data Signature
+ Crypto.PubKey.ElGamal: decrypt :: Params -> PrivateNumber -> (Integer, Integer) -> CryptoFailable Integer
+ Crypto.PubKey.ElGamal: encrypt :: MonadRandom m => Params -> PublicNumber -> Integer -> m (CryptoFailable (Integer, Integer))
+ Crypto.PubKey.ElGamal: encryptWith :: EphemeralKey -> Params -> PublicNumber -> Integer -> CryptoFailable (Integer, Integer)
+ Crypto.PubKey.ElGamal: generatePrivate :: MonadRandom m => Integer -> m PrivateNumber
+ Crypto.PubKey.ElGamal: generatePublic :: Params -> PrivateNumber -> PublicNumber
+ Crypto.PubKey.ElGamal: instance Control.DeepSeq.NFData Crypto.PubKey.ElGamal.EphemeralKey
+ Crypto.PubKey.ElGamal: instance Control.DeepSeq.NFData Crypto.PubKey.ElGamal.Signature
+ Crypto.PubKey.ElGamal: instance Data.Data.Data Crypto.PubKey.ElGamal.Signature
+ Crypto.PubKey.ElGamal: instance GHC.Classes.Eq Crypto.PubKey.ElGamal.Signature
+ Crypto.PubKey.ElGamal: instance GHC.Read.Read Crypto.PubKey.ElGamal.Signature
+ Crypto.PubKey.ElGamal: instance GHC.Show.Show Crypto.PubKey.ElGamal.Signature
+ Crypto.PubKey.ElGamal: newtype EphemeralKey
+ Crypto.PubKey.ElGamal: sign :: (ByteArrayAccess msg, HashAlgorithm hash, MonadRandom m) => Params -> PrivateNumber -> hash -> msg -> m Signature
+ Crypto.PubKey.ElGamal: signDigest :: (HashAlgorithm hash, MonadRandom m) => Params -> PrivateNumber -> Digest hash -> m Signature
+ Crypto.PubKey.ElGamal: signDigestWith :: HashAlgorithm hash => Integer -> Params -> PrivateNumber -> Digest hash -> Maybe Signature
+ Crypto.PubKey.ElGamal: signWith :: (ByteArrayAccess msg, HashAlgorithm hash) => Integer -> Params -> PrivateNumber -> hash -> msg -> Maybe Signature
+ Crypto.PubKey.ElGamal: verify :: (ByteArrayAccess msg, HashAlgorithm hash) => Params -> PublicNumber -> hash -> msg -> Signature -> Bool
+ Crypto.PubKey.ElGamal: verifyDigest :: HashAlgorithm hash => Params -> PublicNumber -> Digest hash -> Signature -> Bool
+ Crypto.PubKey.MLDSA: MLDSA44 :: MLDSA44
+ Crypto.PubKey.MLDSA: MLDSA65 :: MLDSA65
+ Crypto.PubKey.MLDSA: MLDSA87 :: MLDSA87
+ Crypto.PubKey.MLDSA: class MLDSA p
+ Crypto.PubKey.MLDSA: context :: ByteArrayAccess ba => ba -> CryptoFailable Context
+ Crypto.PubKey.MLDSA: data Context
+ Crypto.PubKey.MLDSA: data MLDSA44
+ Crypto.PubKey.MLDSA: data MLDSA65
+ Crypto.PubKey.MLDSA: data MLDSA87
+ Crypto.PubKey.MLDSA: data Mu
+ Crypto.PubKey.MLDSA: data MuContext
+ Crypto.PubKey.MLDSA: data Signature p
+ Crypto.PubKey.MLDSA: data SigningKey p
+ Crypto.PubKey.MLDSA: data VerificationKey p
+ Crypto.PubKey.MLDSA: emptyContext :: Context
+ Crypto.PubKey.MLDSA: generateKeyPair :: forall p proxy m. (MLDSA p, MonadRandom m) => proxy p -> m (VerificationKey p, SigningKey p)
+ Crypto.PubKey.MLDSA: generateKeyPairAndSeed :: forall p proxy m. (MLDSA p, MonadRandom m) => proxy p -> m (VerificationKey p, SigningKey p, ScrubbedBytes)
+ Crypto.PubKey.MLDSA: instance Control.DeepSeq.NFData (Crypto.PubKey.MLDSA.Signature p)
+ Crypto.PubKey.MLDSA: instance Control.DeepSeq.NFData (Crypto.PubKey.MLDSA.SigningKey p)
+ Crypto.PubKey.MLDSA: instance Control.DeepSeq.NFData (Crypto.PubKey.MLDSA.VerificationKey p)
+ Crypto.PubKey.MLDSA: instance Control.DeepSeq.NFData Crypto.PubKey.MLDSA.Context
+ Crypto.PubKey.MLDSA: instance Control.DeepSeq.NFData Crypto.PubKey.MLDSA.Mu
+ Crypto.PubKey.MLDSA: instance Crypto.Debug.DebugShow (Crypto.PubKey.MLDSA.SigningKey p)
+ Crypto.PubKey.MLDSA: instance Crypto.PubKey.MLDSA.MLDSA Crypto.PubKey.MLDSA.MLDSA44
+ Crypto.PubKey.MLDSA: instance Crypto.PubKey.MLDSA.MLDSA Crypto.PubKey.MLDSA.MLDSA65
+ Crypto.PubKey.MLDSA: instance Crypto.PubKey.MLDSA.MLDSA Crypto.PubKey.MLDSA.MLDSA87
+ Crypto.PubKey.MLDSA: instance Data.ByteArray.Types.ByteArrayAccess (Crypto.PubKey.MLDSA.Signature p)
+ Crypto.PubKey.MLDSA: instance Data.ByteArray.Types.ByteArrayAccess (Crypto.PubKey.MLDSA.SigningKey p)
+ Crypto.PubKey.MLDSA: instance Data.ByteArray.Types.ByteArrayAccess (Crypto.PubKey.MLDSA.VerificationKey p)
+ Crypto.PubKey.MLDSA: instance Data.ByteArray.Types.ByteArrayAccess Crypto.PubKey.MLDSA.Context
+ Crypto.PubKey.MLDSA: instance Data.ByteArray.Types.ByteArrayAccess Crypto.PubKey.MLDSA.Mu
+ Crypto.PubKey.MLDSA: instance GHC.Classes.Eq (Crypto.PubKey.MLDSA.Signature p)
+ Crypto.PubKey.MLDSA: instance GHC.Classes.Eq (Crypto.PubKey.MLDSA.SigningKey p)
+ Crypto.PubKey.MLDSA: instance GHC.Classes.Eq (Crypto.PubKey.MLDSA.VerificationKey p)
+ Crypto.PubKey.MLDSA: instance GHC.Classes.Eq Crypto.PubKey.MLDSA.Context
+ Crypto.PubKey.MLDSA: instance GHC.Classes.Eq Crypto.PubKey.MLDSA.MLDSA44
+ Crypto.PubKey.MLDSA: instance GHC.Classes.Eq Crypto.PubKey.MLDSA.MLDSA65
+ Crypto.PubKey.MLDSA: instance GHC.Classes.Eq Crypto.PubKey.MLDSA.MLDSA87
+ Crypto.PubKey.MLDSA: instance GHC.Classes.Eq Crypto.PubKey.MLDSA.Mu
+ Crypto.PubKey.MLDSA: instance GHC.Show.Show (Crypto.PubKey.MLDSA.Signature p)
+ Crypto.PubKey.MLDSA: instance GHC.Show.Show (Crypto.PubKey.MLDSA.SigningKey p)
+ Crypto.PubKey.MLDSA: instance GHC.Show.Show (Crypto.PubKey.MLDSA.VerificationKey p)
+ Crypto.PubKey.MLDSA: instance GHC.Show.Show Crypto.PubKey.MLDSA.Context
+ Crypto.PubKey.MLDSA: instance GHC.Show.Show Crypto.PubKey.MLDSA.MLDSA44
+ Crypto.PubKey.MLDSA: instance GHC.Show.Show Crypto.PubKey.MLDSA.MLDSA65
+ Crypto.PubKey.MLDSA: instance GHC.Show.Show Crypto.PubKey.MLDSA.MLDSA87
+ Crypto.PubKey.MLDSA: instance GHC.Show.Show Crypto.PubKey.MLDSA.Mu
+ Crypto.PubKey.MLDSA: keyPairFromSeed :: forall p proxy ba. (MLDSA p, ByteArrayAccess ba) => proxy p -> ba -> CryptoFailable (VerificationKey p, SigningKey p)
+ Crypto.PubKey.MLDSA: maxContextLength :: Int
+ Crypto.PubKey.MLDSA: messageRepresentative :: (MLDSA p, ByteArrayAccess msg) => VerificationKey p -> Context -> msg -> Mu
+ Crypto.PubKey.MLDSA: mu :: ByteArrayAccess ba => ba -> CryptoFailable Mu
+ Crypto.PubKey.MLDSA: muFinalize :: MuContext -> Mu
+ Crypto.PubKey.MLDSA: muInit :: MLDSA p => VerificationKey p -> Context -> MuContext
+ Crypto.PubKey.MLDSA: muSize :: Int
+ Crypto.PubKey.MLDSA: muUpdate :: ByteArrayAccess msg => MuContext -> msg -> MuContext
+ Crypto.PubKey.MLDSA: muUpdates :: ByteArrayAccess msg => MuContext -> [msg] -> MuContext
+ Crypto.PubKey.MLDSA: seedSize :: Int
+ Crypto.PubKey.MLDSA: sign :: (MLDSA p, MonadRandom m, ByteArrayAccess msg) => SigningKey p -> Context -> msg -> m (Signature p)
+ Crypto.PubKey.MLDSA: signDeterministic :: (MLDSA p, ByteArrayAccess msg) => SigningKey p -> Context -> msg -> Signature p
+ Crypto.PubKey.MLDSA: signExternalMu :: (MLDSA p, MonadRandom m) => SigningKey p -> Mu -> m (Signature p)
+ Crypto.PubKey.MLDSA: signExternalMuDeterministic :: MLDSA p => SigningKey p -> Mu -> Signature p
+ Crypto.PubKey.MLDSA: signExternalMuWith :: (MLDSA p, ByteArrayAccess rnd) => SigningKey p -> Mu -> rnd -> CryptoFailable (Signature p)
+ Crypto.PubKey.MLDSA: signWith :: (MLDSA p, ByteArrayAccess msg, ByteArrayAccess rnd) => SigningKey p -> Context -> msg -> rnd -> CryptoFailable (Signature p)
+ Crypto.PubKey.MLDSA: signature :: (MLDSA p, ByteArrayAccess ba) => ba -> CryptoFailable (Signature p)
+ Crypto.PubKey.MLDSA: signatureSize :: MLDSA p => proxy p -> Int
+ Crypto.PubKey.MLDSA: signingKey :: (MLDSA p, ByteArrayAccess ba) => ba -> CryptoFailable (SigningKey p)
+ Crypto.PubKey.MLDSA: signingKeySize :: MLDSA p => proxy p -> Int
+ Crypto.PubKey.MLDSA: signingRandomnessSize :: Int
+ Crypto.PubKey.MLDSA: toPublic :: MLDSA p => SigningKey p -> VerificationKey p
+ Crypto.PubKey.MLDSA: verificationKey :: (MLDSA p, ByteArrayAccess ba) => ba -> CryptoFailable (VerificationKey p)
+ Crypto.PubKey.MLDSA: verificationKeySize :: MLDSA p => proxy p -> Int
+ Crypto.PubKey.MLDSA: verify :: (MLDSA p, ByteArrayAccess msg) => VerificationKey p -> Context -> msg -> Signature p -> Bool
+ Crypto.PubKey.MLDSA: verifyExternalMu :: MLDSA p => VerificationKey p -> Mu -> Signature p -> Bool
+ Crypto.PubKey.MLKEM: -- Both are secret, and both determine the shared secret completely.
+ Crypto.PubKey.MLKEM: -- bytes; in DHKEM it is the ephemeral secret key, a scalar of the group.
+ Crypto.PubKey.MLKEM: -- caller supply it. In ML-KEM it is <tt>m</tt> of FIPS 203, a string of
+ Crypto.PubKey.MLKEM: -- | The randomness <a>encapsulate</a> draws, for the instances that let a
+ Crypto.PubKey.MLKEM: MLKEM1024 :: MLKEM1024
+ Crypto.PubKey.MLKEM: MLKEM512 :: MLKEM512
+ Crypto.PubKey.MLKEM: MLKEM768 :: MLKEM768
+ Crypto.PubKey.MLKEM: SharedSecret :: ScrubbedBytes -> SharedSecret
+ Crypto.PubKey.MLKEM: ciphertext :: (MLKEM p, ByteArrayAccess ba) => ba -> CryptoFailable (Ciphertext p)
+ Crypto.PubKey.MLKEM: ciphertextSize :: MLKEM p => proxy p -> Int
+ Crypto.PubKey.MLKEM: class KEM kem where {
+ Crypto.PubKey.MLKEM: class (KEM p, EncapsulationKey p ~ MLKEMEncapsulationKey p, DecapsulationKey p ~ MLKEMDecapsulationKey p, Ciphertext p ~ MLKEMCiphertext p, Coins p ~ ScrubbedBytes) => MLKEM p
+ Crypto.PubKey.MLKEM: data MLKEM1024
+ Crypto.PubKey.MLKEM: data MLKEM512
+ Crypto.PubKey.MLKEM: data MLKEM768
+ Crypto.PubKey.MLKEM: decapsulate :: KEM kem => proxy kem -> DecapsulationKey kem -> Ciphertext kem -> CryptoFailable SharedSecret
+ Crypto.PubKey.MLKEM: decapsulationKey :: (MLKEM p, ByteArrayAccess ba) => ba -> CryptoFailable (DecapsulationKey p)
+ Crypto.PubKey.MLKEM: decapsulationKeySize :: MLKEM p => proxy p -> Int
+ Crypto.PubKey.MLKEM: encapsulate :: (KEM kem, MonadRandom m) => proxy kem -> EncapsulationKey kem -> m (CryptoFailable (Ciphertext kem, SharedSecret))
+ Crypto.PubKey.MLKEM: encapsulateWith :: KEM kem => proxy kem -> EncapsulationKey kem -> Coins kem -> CryptoFailable (Ciphertext kem, SharedSecret)
+ Crypto.PubKey.MLKEM: encapsulationCoinsSize :: Int
+ Crypto.PubKey.MLKEM: encapsulationKey :: (MLKEM p, ByteArrayAccess ba) => ba -> CryptoFailable (EncapsulationKey p)
+ Crypto.PubKey.MLKEM: encapsulationKeySize :: MLKEM p => proxy p -> Int
+ Crypto.PubKey.MLKEM: generateKeyPair :: (KEM kem, MonadRandom m) => proxy kem -> m (EncapsulationKey kem, DecapsulationKey kem)
+ Crypto.PubKey.MLKEM: generateKeyPairAndSeed :: forall p proxy m. (MLKEM p, MonadRandom m) => proxy p -> m (MLKEMEncapsulationKey p, DecapsulationKey p, ScrubbedBytes)
+ Crypto.PubKey.MLKEM: instance Control.DeepSeq.NFData (Crypto.PubKey.MLKEM.MLKEMCiphertext p)
+ Crypto.PubKey.MLKEM: instance Control.DeepSeq.NFData (Crypto.PubKey.MLKEM.MLKEMDecapsulationKey p)
+ Crypto.PubKey.MLKEM: instance Control.DeepSeq.NFData (Crypto.PubKey.MLKEM.MLKEMEncapsulationKey p)
+ Crypto.PubKey.MLKEM: instance Crypto.Debug.DebugShow (Crypto.PubKey.MLKEM.MLKEMDecapsulationKey p)
+ Crypto.PubKey.MLKEM: instance Crypto.KEM.KEM Crypto.PubKey.MLKEM.MLKEM1024
+ Crypto.PubKey.MLKEM: instance Crypto.KEM.KEM Crypto.PubKey.MLKEM.MLKEM512
+ Crypto.PubKey.MLKEM: instance Crypto.KEM.KEM Crypto.PubKey.MLKEM.MLKEM768
+ Crypto.PubKey.MLKEM: instance Crypto.PubKey.MLKEM.MLKEM Crypto.PubKey.MLKEM.MLKEM1024
+ Crypto.PubKey.MLKEM: instance Crypto.PubKey.MLKEM.MLKEM Crypto.PubKey.MLKEM.MLKEM512
+ Crypto.PubKey.MLKEM: instance Crypto.PubKey.MLKEM.MLKEM Crypto.PubKey.MLKEM.MLKEM768
+ Crypto.PubKey.MLKEM: instance Data.ByteArray.Types.ByteArrayAccess (Crypto.PubKey.MLKEM.MLKEMCiphertext p)
+ Crypto.PubKey.MLKEM: instance Data.ByteArray.Types.ByteArrayAccess (Crypto.PubKey.MLKEM.MLKEMDecapsulationKey p)
+ Crypto.PubKey.MLKEM: instance Data.ByteArray.Types.ByteArrayAccess (Crypto.PubKey.MLKEM.MLKEMEncapsulationKey p)
+ Crypto.PubKey.MLKEM: instance GHC.Classes.Eq (Crypto.PubKey.MLKEM.MLKEMCiphertext p)
+ Crypto.PubKey.MLKEM: instance GHC.Classes.Eq (Crypto.PubKey.MLKEM.MLKEMDecapsulationKey p)
+ Crypto.PubKey.MLKEM: instance GHC.Classes.Eq (Crypto.PubKey.MLKEM.MLKEMEncapsulationKey p)
+ Crypto.PubKey.MLKEM: instance GHC.Classes.Eq Crypto.PubKey.MLKEM.MLKEM1024
+ Crypto.PubKey.MLKEM: instance GHC.Classes.Eq Crypto.PubKey.MLKEM.MLKEM512
+ Crypto.PubKey.MLKEM: instance GHC.Classes.Eq Crypto.PubKey.MLKEM.MLKEM768
+ Crypto.PubKey.MLKEM: instance GHC.Show.Show (Crypto.PubKey.MLKEM.MLKEMCiphertext p)
+ Crypto.PubKey.MLKEM: instance GHC.Show.Show (Crypto.PubKey.MLKEM.MLKEMDecapsulationKey p)
+ Crypto.PubKey.MLKEM: instance GHC.Show.Show (Crypto.PubKey.MLKEM.MLKEMEncapsulationKey p)
+ Crypto.PubKey.MLKEM: instance GHC.Show.Show Crypto.PubKey.MLKEM.MLKEM1024
+ Crypto.PubKey.MLKEM: instance GHC.Show.Show Crypto.PubKey.MLKEM.MLKEM512
+ Crypto.PubKey.MLKEM: instance GHC.Show.Show Crypto.PubKey.MLKEM.MLKEM768
+ Crypto.PubKey.MLKEM: keyPairFromSeed :: forall p proxy ba. (MLKEM p, ByteArrayAccess ba) => proxy p -> ba -> CryptoFailable (MLKEMEncapsulationKey p, DecapsulationKey p)
+ Crypto.PubKey.MLKEM: newtype SharedSecret
+ Crypto.PubKey.MLKEM: seedSize :: Int
+ Crypto.PubKey.MLKEM: sharedSecretSize :: Int
+ Crypto.PubKey.MLKEM: type Ciphertext kem;
+ Crypto.PubKey.MLKEM: type Coins kem;
+ Crypto.PubKey.MLKEM: type DecapsulationKey kem;
+ Crypto.PubKey.MLKEM: type EncapsulationKey kem;
+ Crypto.PubKey.MLKEM: }
+ Crypto.PubKey.RSA.Blinded: blindedKey :: PrivateKey -> BlindedKey
+ Crypto.PubKey.RSA.Blinded: blindedPrivateKey :: BlindedKey -> PrivateKey
+ Crypto.PubKey.RSA.Blinded: data BlindedKey
+ Crypto.PubKey.RSA.OAEP: decryptBlinded :: (HashAlgorithm hash, MonadRandom m) => OAEPParams hash ByteString ByteString -> BlindedKey -> ByteString -> m (Either Error ByteString, BlindedKey)
+ Crypto.PubKey.RSA.PKCS15: decryptBlinded :: (MonadRandom m, ByteArray ba) => BlindedKey -> ByteString -> m (Either Error ba, BlindedKey)
+ Crypto.PubKey.RSA.PKCS15: signDigest :: HashAlgorithmASN1 hashAlg => Maybe Blinder -> PrivateKey -> Digest hashAlg -> Either Error ByteString
+ Crypto.PubKey.RSA.PKCS15: signDigestBlinded :: (HashAlgorithmASN1 hashAlg, MonadRandom m) => BlindedKey -> Digest hashAlg -> m (Either Error ByteString, BlindedKey)
+ Crypto.PubKey.RSA.PKCS15: signDigestInfo :: Maybe Blinder -> PrivateKey -> ByteString -> Either Error ByteString
+ Crypto.PubKey.RSA.PKCS15: signDigestInfoBlinded :: MonadRandom m => BlindedKey -> ByteString -> m (Either Error ByteString, BlindedKey)
+ Crypto.PubKey.RSA.PKCS15: signSaferDigest :: (HashAlgorithmASN1 hashAlg, MonadRandom m) => PrivateKey -> Digest hashAlg -> m (Either Error ByteString)
+ Crypto.PubKey.RSA.PKCS15: signSaferDigestInfo :: MonadRandom m => PrivateKey -> ByteString -> m (Either Error ByteString)
+ Crypto.PubKey.RSA.PKCS15: verifyDigest :: HashAlgorithmASN1 hashAlg => PublicKey -> Digest hashAlg -> ByteString -> Bool
+ Crypto.PubKey.RSA.PKCS15: verifyDigestInfo :: PublicKey -> ByteString -> ByteString -> Bool
+ Crypto.PubKey.RSA.PSS: signBlinded :: (HashAlgorithm hash, MonadRandom m) => PSSParams hash ByteString ByteString -> BlindedKey -> ByteString -> m (Either Error ByteString, BlindedKey)
+ Crypto.PubKey.RSA.PSS: signDigestBlinded :: (HashAlgorithm hash, MonadRandom m) => PSSParams hash ByteString ByteString -> BlindedKey -> Digest hash -> m (Either Error ByteString, BlindedKey)
+ Crypto.PubKey.RSA.Types: instance Crypto.Debug.DebugShow Crypto.PubKey.RSA.Types.Blinder
+ Crypto.PubKey.RSA.Types: instance Crypto.Debug.DebugShow Crypto.PubKey.RSA.Types.KeyPair
+ Crypto.PubKey.RSA.Types: instance Crypto.Debug.DebugShow Crypto.PubKey.RSA.Types.PrivateKey
+ Crypto.PubKey.Rabin.Basic: instance Crypto.Debug.DebugShow Crypto.PubKey.Rabin.Basic.PrivateKey
+ Crypto.PubKey.Rabin.Modified: instance Crypto.Debug.DebugShow Crypto.PubKey.Rabin.Modified.PrivateKey
+ Crypto.PubKey.Rabin.Modified: signDigest :: HashAlgorithm hash => PrivateKey -> Digest hash -> Either Error Integer
+ Crypto.PubKey.Rabin.Modified: verifyDigest :: HashAlgorithm hash => PublicKey -> Digest hash -> Integer -> Bool
+ Crypto.PubKey.Rabin.RW: instance Crypto.Debug.DebugShow Crypto.PubKey.Rabin.RW.PrivateKey
+ Crypto.PubKey.Rabin.RW: signDigest :: HashAlgorithm hash => PrivateKey -> Digest hash -> Either Error Integer
+ Crypto.PubKey.Rabin.RW: verifyDigest :: HashAlgorithm hash => PublicKey -> Digest hash -> Integer -> Bool
+ Crypto.PubKey.Rabin.Types: type PrimeCondition = Integer -> Bool
+ Crypto.Random: EntropyShort :: Int -> Int -> EntropyError
+ Crypto.Random: EntropySourceLost :: String -> EntropyError
+ Crypto.Random: NoEntropySource :: EntropyError
+ Crypto.Random: SystemRandomPerDraw :: SystemRandomMode
+ Crypto.Random: SystemRandomPerThread :: Int -> SystemRandomMode
+ Crypto.Random: data EntropyError
+ Crypto.Random: data SystemRandomMode
+ Crypto.Random: getSystemRandomMode :: IO SystemRandomMode
+ Crypto.Random: reseedSystem :: IO ()
+ Crypto.Random: setSystemRandomMode :: SystemRandomMode -> IO ()
+ Crypto.Random.Entropy: EntropyShort :: Int -> Int -> EntropyError
+ Crypto.Random.Entropy: EntropySourceLost :: String -> EntropyError
+ Crypto.Random.Entropy: NoEntropySource :: EntropyError
+ Crypto.Random.Entropy: data EntropyError
+ Crypto.Random.Entropy.Unsafe: EntropyShort :: Int -> Int -> EntropyError
+ Crypto.Random.Entropy.Unsafe: EntropySourceLost :: String -> EntropyError
+ Crypto.Random.Entropy.Unsafe: NoEntropySource :: EntropyError
+ Crypto.Random.Entropy.Unsafe: data EntropyError
+ Crypto.System.CPU: hasAESAcceleration :: Bool
+ Crypto.System.CPU: hasGHASHAcceleration :: Bool
+ Crypto.System.CPU: instance GHC.Classes.Ord Crypto.System.CPU.ProcessorOption
+ Crypto.System.CPU: pattern ADX :: ProcessorOption
+ Crypto.System.CPU: pattern AESNI :: ProcessorOption
+ Crypto.System.CPU: pattern ARMAES :: ProcessorOption
+ Crypto.System.CPU: pattern ARMPMULL :: ProcessorOption
+ Crypto.System.CPU: pattern ARMSHA1 :: ProcessorOption
+ Crypto.System.CPU: pattern ARMSHA2 :: ProcessorOption
+ Crypto.System.CPU: pattern ARMSHA512 :: ProcessorOption
+ Crypto.System.CPU: pattern AVX :: ProcessorOption
+ Crypto.System.CPU: pattern AVX2 :: ProcessorOption
+ Crypto.System.CPU: pattern AVX512IFMA :: ProcessorOption
+ Crypto.System.CPU: pattern MOVBE :: ProcessorOption
+ Crypto.System.CPU: pattern NEON :: ProcessorOption
+ Crypto.System.CPU: pattern PCLMUL :: ProcessorOption
+ Crypto.System.CPU: pattern PPCAES :: ProcessorOption
+ Crypto.System.CPU: pattern PPCVPMSUM :: ProcessorOption
+ Crypto.System.CPU: pattern SHANI :: ProcessorOption
+ Crypto.System.CPU: pattern SSSE3 :: ProcessorOption
+ Crypto.System.CPU: pattern VAES :: ProcessorOption
+ Crypto.System.CPU: pattern VAES512 :: ProcessorOption
- Crypto.Cipher.ChaChaPoly1305: initialize :: ByteArrayAccess key => key -> Nonce -> CryptoFailable State
+ Crypto.Cipher.ChaChaPoly1305: initialize :: Key -> Nonce -> State
- Crypto.Cipher.ChaChaPoly1305: initializeX :: ByteArrayAccess key => key -> XNonce -> CryptoFailable State
+ Crypto.Cipher.ChaChaPoly1305: initializeX :: Key -> XNonce -> State
- Crypto.MAC.Poly1305: auth :: (ByteArrayAccess key, ByteArrayAccess ba) => key -> ba -> Auth
+ Crypto.MAC.Poly1305: auth :: ByteArrayAccess ba => Key -> ba -> Auth
- Crypto.MAC.Poly1305: initialize :: ByteArrayAccess key => key -> CryptoFailable State
+ Crypto.MAC.Poly1305: initialize :: Key -> State