-
Notifications
You must be signed in to change notification settings - Fork 11
supported algorithms
amir zamani edited this page Aug 5, 2016
·
3 revisions
following algorithms are included in mbedcrypto
in default build:
-
binary/text conversions:
hex
base64
-
hashes (message digest):
md5
sha1
-
sha224
/sha256
-
sha384
/sha512
hmac
- optional hashes:
ripemd160
,md4
,md2
(deprecated)
-
ciphers (symmetric):
-
aes
(128, 192, 256 bits) andaes-ni
(hardware accelerated) -
des
and3des
(triple-des) - optional ciphers:
blowfish
,camellia
andarc4
-
-
cipher block modes:
-
ecb
electronic codebook -
cbc
cipher block chaining -
ctr
counter mode -
gcm
Galois/counter andccm
(counter cbc-mac) modes. see authneticated encryption with additional data (AEAD) - optional block modes:
cfb
,stream
(forarc4
)
-
-
paddings:
pkcs7
- one and zeros
- zeros and length
- zeros
-
random byte generator:
-
ctr_drbg
counter mode deterministic random byte generator based onaes-256
NIST SP 800-90
-
-
pki (asymmetric): public key infrastructure:
rsa
-
pem
andder
key formats (ASN.1) - optional pks:
eckey
elliptic curve,eckey_dh
elliptic key Diffie–Hellman,ecdsa
elliptic key digital signature algorithm,rsa_alt
andrsassa_pss
RSA standard signature algorithm, probabilistic signature scheme - optional
rsa
key generator - optional
ec curves
from well known domain parameters asNIST
,Kolbitz
,brainpool
andCurve25519
.
total number of supported algorithms:
- hashes: 9
- paddings: 5
- ciphers: 47
- pki: 6
see types.hpp