pub trait Api: Send {
Show 14 associated items
type Aes128Ccm: Api<U16, U13, Tag = U4>;
type Aes256Cbc: Api<U32, U16>;
type Aes256Gcm: Api<U32, U12>;
type Ed25519: Api;
type HmacSha256: Hmac<KeySize = U64, OutputSize = U32>;
type HmacSha384: Hmac<KeySize = U128, OutputSize = U48>;
type P256: Api<U32>;
type P256Ecdh: Api<32>;
type P256Ecdsa: Api<32>;
type P384: Api<U48>;
type P384Ecdh: Api<48>;
type P384Ecdsa: Api<48>;
type Sha256: Hash<BlockSize = U64, OutputSize = U32>;
type Sha384: Hash<BlockSize = U128, OutputSize = U48>;
}
Available on crate feature
internal-api-crypto
only.Expand description
Cryptography interface.
Required Associated Types§
Sourcetype Aes128Ccm: Api<U16, U13, Tag = U4>
Available on crate feature api-crypto-aes128-ccm
only.
type Aes128Ccm: Api<U16, U13, Tag = U4>
api-crypto-aes128-ccm
only.AES-128-CCM interface.
Sourcetype Aes256Cbc: Api<U32, U16>
Available on crate feature api-crypto-aes256-cbc
only.
type Aes256Cbc: Api<U32, U16>
api-crypto-aes256-cbc
only.AES-256-CBC interface.
Sourcetype Aes256Gcm: Api<U32, U12>
Available on crate feature api-crypto-aes256-gcm
only.
type Aes256Gcm: Api<U32, U12>
api-crypto-aes256-gcm
only.AES-256-GCM interface.
Sourcetype HmacSha256: Hmac<KeySize = U64, OutputSize = U32>
Available on crate feature api-crypto-hmac-sha256
only.
type HmacSha256: Hmac<KeySize = U64, OutputSize = U32>
api-crypto-hmac-sha256
only.HMAC-SHA-256 interface.
Sourcetype HmacSha384: Hmac<KeySize = U128, OutputSize = U48>
Available on crate feature api-crypto-hmac-sha384
only.
type HmacSha384: Hmac<KeySize = U128, OutputSize = U48>
api-crypto-hmac-sha384
only.HMAC-SHA-384 interface.
Sourcetype P256Ecdh: Api<32>
Available on crate feature api-crypto-p256-ecdh
only.
type P256Ecdh: Api<32>
api-crypto-p256-ecdh
only.P-256 ECDH interface.
Sourcetype P256Ecdsa: Api<32>
Available on crate feature api-crypto-p256-ecdsa
only.
type P256Ecdsa: Api<32>
api-crypto-p256-ecdsa
only.P-256 ECDSA interface.
Sourcetype P384Ecdh: Api<48>
Available on crate feature api-crypto-p384-ecdh
only.
type P384Ecdh: Api<48>
api-crypto-p384-ecdh
only.P-384 ECDH interface.
Sourcetype P384Ecdsa: Api<48>
Available on crate feature api-crypto-p384-ecdsa
only.
type P384Ecdsa: Api<48>
api-crypto-p384-ecdsa
only.P-384 ECDSA interface.