assh/mod_builtin.h header reference
Description [link]
Descriptors for builtin algorithms and modules
Members [link]
Function [link]
- assh_status_t assh_libc_allocator(void *alloc_pv, void **ptr, size_t size, enum assh_alloc_type_e type)
Constants [link]
- const struct assh_algo_cipher_s assh_cipher_builtin_aes128_cbc
- const struct assh_algo_cipher_s assh_cipher_builtin_aes128_ctr
- const struct assh_algo_cipher_s assh_cipher_builtin_aes192_cbc
- const struct assh_algo_cipher_s assh_cipher_builtin_aes192_ctr
- const struct assh_algo_cipher_s assh_cipher_builtin_aes256_cbc
- const struct assh_algo_cipher_s assh_cipher_builtin_aes256_ctr
- const struct assh_algo_cipher_s assh_cipher_builtin_arc4
- const struct assh_algo_cipher_s assh_cipher_builtin_arc4_128
- const struct assh_algo_cipher_s assh_cipher_builtin_arc4_256
- const struct assh_algo_cipher_s assh_cipher_builtin_chachapoly
- const struct assh_algo_kex_s assh_kex_builtin_curve25519_sha256
- const struct assh_algo_kex_s assh_kex_builtin_dh_gex_sha1
- const struct assh_algo_kex_s assh_kex_builtin_dh_gex_sha256_12
- const struct assh_algo_kex_s assh_kex_builtin_dh_gex_sha256_4
- const struct assh_algo_kex_s assh_kex_builtin_dh_gex_sha256_8
- const struct assh_algo_kex_s assh_kex_builtin_dh_group14_sha1
- const struct assh_algo_kex_s assh_kex_builtin_dh_group14_sha256
- const struct assh_algo_kex_s assh_kex_builtin_dh_group15_sha512
- const struct assh_algo_kex_s assh_kex_builtin_dh_group16_sha512
- const struct assh_algo_kex_s assh_kex_builtin_dh_group17_sha512
- const struct assh_algo_kex_s assh_kex_builtin_dh_group18_sha512
- const struct assh_algo_kex_s assh_kex_builtin_dh_group1_sha1
- const struct assh_algo_kex_s assh_kex_builtin_m383_sha384
- const struct assh_algo_kex_s assh_kex_builtin_m511_sha512
- const struct assh_algo_kex_s assh_kex_builtin_rsa1024_sha1
- const struct assh_algo_kex_s assh_kex_builtin_rsa2048_sha256
- const struct assh_algo_kex_s assh_kex_builtin_sha2_nistp256
- const struct assh_algo_kex_s assh_kex_builtin_sha2_nistp384
- const struct assh_algo_kex_s assh_kex_builtin_sha2_nistp521
- const struct assh_key_algo_s assh_key_builtin_dsa
- const struct assh_key_algo_s assh_key_builtin_ecdsa_nist
- const struct assh_key_algo_s assh_key_builtin_ed25519
- const struct assh_key_algo_s assh_key_builtin_eddsa_e382
- const struct assh_key_algo_s assh_key_builtin_eddsa_e521
- const struct assh_key_algo_s assh_key_builtin_rsa
- const struct assh_algo_mac_s assh_mac_builtin_md5
- const struct assh_algo_mac_s assh_mac_builtin_md5_96
- const struct assh_algo_mac_s assh_mac_builtin_md5_96_etm
- const struct assh_algo_mac_s assh_mac_builtin_md5_etm
- const struct assh_algo_mac_s assh_mac_builtin_sha1
- const struct assh_algo_mac_s assh_mac_builtin_sha1_96
- const struct assh_algo_mac_s assh_mac_builtin_sha1_96_etm
- const struct assh_algo_mac_s assh_mac_builtin_sha1_etm
- const struct assh_algo_mac_s assh_mac_builtin_sha256
- const struct assh_algo_mac_s assh_mac_builtin_sha256_etm
- const struct assh_algo_mac_s assh_mac_builtin_sha512
- const struct assh_algo_mac_s assh_mac_builtin_sha512_etm
- const struct assh_prng_s assh_prng_dev_random
- const struct assh_prng_s assh_prng_xswap
- const struct assh_algo_sign_s assh_sign_builtin_dsa1024
- const struct assh_algo_sign_s assh_sign_builtin_dsa2048_sha224
- const struct assh_algo_sign_s assh_sign_builtin_dsa2048_sha256
- const struct assh_algo_sign_s assh_sign_builtin_dsa3072_sha256
- const struct assh_algo_sign_s assh_sign_builtin_dsa768
- const struct assh_algo_sign_s assh_sign_builtin_ed25519
- const struct assh_algo_sign_s assh_sign_builtin_eddsa_e382
- const struct assh_algo_sign_s assh_sign_builtin_eddsa_e521
- const struct assh_algo_sign_s assh_sign_builtin_nistp256
- const struct assh_algo_sign_s assh_sign_builtin_nistp384
- const struct assh_algo_sign_s assh_sign_builtin_nistp521
- const struct assh_algo_sign_s assh_sign_builtin_rsa_sha1
- const struct assh_algo_sign_s assh_sign_builtin_rsa_sha1_2048
- const struct assh_algo_sign_s assh_sign_builtin_rsa_sha1_md5
- const struct assh_algo_sign_s assh_sign_builtin_rsa_sha256
- const struct assh_algo_sign_s assh_sign_builtin_rsa_sha512
Members detail [link]
const struct assh_algo_cipher_s assh_cipher_builtin_aes128_cbc [link]
This constant is declared in assh/mod_builtin.h source file, line 213.
This constant is a cipher algorithm descriptor for the AES implementation.
See also Cipher algorithms.
const struct assh_algo_cipher_s assh_cipher_builtin_aes128_ctr [link]
This constant is declared in assh/mod_builtin.h source file, line 216.
This constant is a cipher algorithm descriptor for the AES implementation.
See also Cipher algorithms.
const struct assh_algo_cipher_s assh_cipher_builtin_aes192_cbc [link]
This constant is declared in assh/mod_builtin.h source file, line 214.
This constant is a cipher algorithm descriptor for the AES implementation.
See also Cipher algorithms.
const struct assh_algo_cipher_s assh_cipher_builtin_aes192_ctr [link]
This constant is declared in assh/mod_builtin.h source file, line 217.
This constant is a cipher algorithm descriptor for the AES implementation.
See also Cipher algorithms.
const struct assh_algo_cipher_s assh_cipher_builtin_aes256_cbc [link]
This constant is declared in assh/mod_builtin.h source file, line 215.
This constant is a cipher algorithm descriptor for the AES implementation.
See also Cipher algorithms.
const struct assh_algo_cipher_s assh_cipher_builtin_aes256_ctr [link]
This constant is declared in assh/mod_builtin.h source file, line 218.
This constant is a cipher algorithm descriptor for the AES implementation.
See also Cipher algorithms.
const struct assh_algo_cipher_s assh_cipher_builtin_arc4 [link]
This constant is declared in assh/mod_builtin.h source file, line 220.
This constant is a cipher algorithm descriptor for the AES implementation.
See also Cipher algorithms.
const struct assh_algo_cipher_s assh_cipher_builtin_arc4_128 [link]
This constant is declared in assh/mod_builtin.h source file, line 221.
This constant is a cipher algorithm descriptor for the AES implementation.
See also Cipher algorithms.
const struct assh_algo_cipher_s assh_cipher_builtin_arc4_256 [link]
This constant is declared in assh/mod_builtin.h source file, line 222.
This constant is a cipher algorithm descriptor for the AES implementation.
See also Cipher algorithms.
const struct assh_algo_cipher_s assh_cipher_builtin_chachapoly [link]
This constant is declared in assh/mod_builtin.h source file, line 209.
This constant is a cipher algorithm descriptor for the openssh Chacha20-Poly1305 authenticated cipher implementation.
See also Cipher algorithms.
const struct assh_algo_kex_s assh_kex_builtin_curve25519_sha256 [link]
This constant is declared in assh/mod_builtin.h source file, line 68.
The curve25519-sha256 algorithm.
See also Montgomery curves Diffie-Hellman.
const struct assh_algo_kex_s assh_kex_builtin_dh_gex_sha1 [link]
This constant is declared in assh/mod_builtin.h source file, line 83.
Standard diffie-hellman-group-exchange-sha1 algorithm specified in rfc4419. The client requests group size in range [1024, 4096] depending on the length of the cipher key. The server accepts group size in range [1024, 8192].
const struct assh_algo_kex_s assh_kex_builtin_dh_gex_sha256_12 [link]
This constant is declared in assh/mod_builtin.h source file, line 92.
Standard diffie-hellman-group-exchange-sha256 algorithm specified in rfc4419. The client requests group size in range [1024, 2048] depending on the length of the cipher key. The server accepts group size in range [1024, 8192].
See also assh_kex_builtin_dh_gex_sha256_8, assh_kex_builtin_dh_gex_sha256_4 and Prime field Diffie-Hellman with group exchange.
const struct assh_algo_kex_s assh_kex_builtin_dh_gex_sha256_4 [link]
This constant is declared in assh/mod_builtin.h source file, line 110.
Standard diffie-hellman-group-exchange-sha256 algorithm specified in rfc4419. The client requests group size in range [4096, 16384] depending on the length of the cipher key. The server accepts group size in range [4096, 16384].
See also assh_kex_builtin_dh_gex_sha256_12, assh_kex_builtin_dh_gex_sha256_8 and Prime field Diffie-Hellman with group exchange.
const struct assh_algo_kex_s assh_kex_builtin_dh_gex_sha256_8 [link]
This constant is declared in assh/mod_builtin.h source file, line 101.
Standard diffie-hellman-group-exchange-sha256 algorithm specified in rfc4419. The client requests group size in range [2048, 4096] depending on the length of the cipher key. The server accepts group size in range [2048, 8192].
See also assh_kex_builtin_dh_gex_sha256_12, assh_kex_builtin_dh_gex_sha256_4 and Prime field Diffie-Hellman with group exchange.
const struct assh_algo_kex_s assh_kex_builtin_dh_group14_sha1 [link]
This constant is declared in assh/mod_builtin.h source file, line 44.
Standard diffie-hellman-group14-sha1 algorithm.
See also Prime field Diffie-Hellman.
const struct assh_algo_kex_s assh_kex_builtin_dh_group14_sha256 [link]
This constant is declared in assh/mod_builtin.h source file, line 48.
Draft @tt diffie-hellman-group14-sha256 algorithm.
See also Prime field Diffie-Hellman.
const struct assh_algo_kex_s assh_kex_builtin_dh_group15_sha512 [link]
This constant is declared in assh/mod_builtin.h source file, line 52.
Draft @tt diffie-hellman-group15-sha512 algorithm.
See also Prime field Diffie-Hellman.
const struct assh_algo_kex_s assh_kex_builtin_dh_group16_sha512 [link]
This constant is declared in assh/mod_builtin.h source file, line 56.
Draft @tt diffie-hellman-group16-sha512 algorithm.
See also Prime field Diffie-Hellman.
const struct assh_algo_kex_s assh_kex_builtin_dh_group17_sha512 [link]
This constant is declared in assh/mod_builtin.h source file, line 60.
Draft @tt diffie-hellman-group17-sha512 algorithm.
See also Prime field Diffie-Hellman.
const struct assh_algo_kex_s assh_kex_builtin_dh_group18_sha512 [link]
This constant is declared in assh/mod_builtin.h source file, line 64.
Draft @tt diffie-hellman-group18-sha512 algorithm.
See also Prime field Diffie-Hellman.
const struct assh_algo_kex_s assh_kex_builtin_dh_group1_sha1 [link]
This constant is declared in assh/mod_builtin.h source file, line 40.
Standard diffie-hellman-group1-sha1 algorithm.
See also Key-exchange algorithms.
const struct assh_algo_kex_s assh_kex_builtin_m383_sha384 [link]
This constant is declared in assh/mod_builtin.h source file, line 72.
The m383-sha384@libassh.org algorithm.
See also Montgomery curves Diffie-Hellman.
const struct assh_algo_kex_s assh_kex_builtin_m511_sha512 [link]
This constant is declared in assh/mod_builtin.h source file, line 76.
The m511-sha512@libassh.org algorithm.
See also Montgomery curves Diffie-Hellman.
const struct assh_algo_kex_s assh_kex_builtin_rsa1024_sha1 [link]
This constant is declared in assh/mod_builtin.h source file, line 114.
Standard rsa1024-sha1 algorithm specified in rfc4432.
See also RSA encrypted secret.
const struct assh_algo_kex_s assh_kex_builtin_rsa2048_sha256 [link]
This constant is declared in assh/mod_builtin.h source file, line 118.
Standard rsa2048-sha256 algorithm specified in rfc4432.
See also RSA encrypted secret.
const struct assh_algo_kex_s assh_kex_builtin_sha2_nistp256 [link]
This constant is declared in assh/mod_builtin.h source file, line 122.
Standard nist curves dh algorithm specified in rfc5656.
See also Weierstrass curves Diffie-Hellman.
const struct assh_algo_kex_s assh_kex_builtin_sha2_nistp384 [link]
This constant is declared in assh/mod_builtin.h source file, line 123.
const struct assh_algo_kex_s assh_kex_builtin_sha2_nistp521 [link]
This constant is declared in assh/mod_builtin.h source file, line 124.
const struct assh_key_algo_s assh_key_builtin_dsa [link]
This constant is declared in assh/mod_builtin.h source file, line 144.
Key operations descriptor for DSA keys
const struct assh_key_algo_s assh_key_builtin_ecdsa_nist [link]
This constant is declared in assh/mod_builtin.h source file, line 141.
Key operations descriptor for Ecdsa keys
const struct assh_key_algo_s assh_key_builtin_ed25519 [link]
This constant is declared in assh/mod_builtin.h source file, line 136.
Key operations descriptor for EdDSA keys
const struct assh_key_algo_s assh_key_builtin_eddsa_e382 [link]
This constant is declared in assh/mod_builtin.h source file, line 137.
Key operations descriptor for EdDSA keys
const struct assh_key_algo_s assh_key_builtin_eddsa_e521 [link]
This constant is declared in assh/mod_builtin.h source file, line 138.
Key operations descriptor for EdDSA keys
const struct assh_key_algo_s assh_key_builtin_rsa [link]
This constant is declared in assh/mod_builtin.h source file, line 131.
Key operations descriptor for RSA keys
assh_status_t assh_libc_allocator(void *alloc_pv, void **ptr, size_t size, enum assh_alloc_type_e type) [link]
This function is declared in assh/mod_builtin.h source file, line 261.
This allocator relies on the libc realloc function. This allocator is not able to provide secure memory.
It does not requires private data; NULL may be passed as alloc_pv parameter of the initialization function.
const struct assh_algo_mac_s assh_mac_builtin_md5 [link]
This constant is declared in assh/mod_builtin.h source file, line 226.
This constant is a cipher algorithm descriptor for the AES implementation.
See also Cipher algorithms.
const struct assh_algo_mac_s assh_mac_builtin_md5_96 [link]
This constant is declared in assh/mod_builtin.h source file, line 227.
This constant is a cipher algorithm descriptor for the AES implementation.
See also Cipher algorithms.
const struct assh_algo_mac_s assh_mac_builtin_md5_96_etm [link]
This constant is declared in assh/mod_builtin.h source file, line 234.
This constant is a cipher algorithm descriptor for the AES implementation.
See also Cipher algorithms.
const struct assh_algo_mac_s assh_mac_builtin_md5_etm [link]
This constant is declared in assh/mod_builtin.h source file, line 233.
This constant is a cipher algorithm descriptor for the AES implementation.
See also Cipher algorithms.
const struct assh_algo_mac_s assh_mac_builtin_sha1 [link]
This constant is declared in assh/mod_builtin.h source file, line 228.
This constant is a cipher algorithm descriptor for the AES implementation.
See also Cipher algorithms.
const struct assh_algo_mac_s assh_mac_builtin_sha1_96 [link]
This constant is declared in assh/mod_builtin.h source file, line 229.
This constant is a cipher algorithm descriptor for the AES implementation.
See also Cipher algorithms.
const struct assh_algo_mac_s assh_mac_builtin_sha1_96_etm [link]
This constant is declared in assh/mod_builtin.h source file, line 236.
This constant is a cipher algorithm descriptor for the AES implementation.
See also Cipher algorithms.
const struct assh_algo_mac_s assh_mac_builtin_sha1_etm [link]
This constant is declared in assh/mod_builtin.h source file, line 235.
This constant is a cipher algorithm descriptor for the AES implementation.
See also Cipher algorithms.
const struct assh_algo_mac_s assh_mac_builtin_sha256 [link]
This constant is declared in assh/mod_builtin.h source file, line 230.
This constant is a cipher algorithm descriptor for the AES implementation.
See also Cipher algorithms.
const struct assh_algo_mac_s assh_mac_builtin_sha256_etm [link]
This constant is declared in assh/mod_builtin.h source file, line 237.
This constant is a cipher algorithm descriptor for the AES implementation.
See also Cipher algorithms.
const struct assh_algo_mac_s assh_mac_builtin_sha512 [link]
This constant is declared in assh/mod_builtin.h source file, line 231.
This constant is a cipher algorithm descriptor for the AES implementation.
See also Cipher algorithms.
const struct assh_algo_mac_s assh_mac_builtin_sha512_etm [link]
This constant is declared in assh/mod_builtin.h source file, line 238.
This constant is a cipher algorithm descriptor for the AES implementation.
See also Cipher algorithms.
const struct assh_prng_s assh_prng_dev_random [link]
This constant is declared in assh/mod_builtin.h source file, line 251.
Preprocessor condition: defined( CONFIG_ASSH_USE_DEV_RANDOM )
This constant is a descriptor for the /dev/random random number generator module.
const struct assh_prng_s assh_prng_xswap [link]
This constant is declared in assh/mod_builtin.h source file, line 246.
This constant is a descriptor for the builtin xswap prng.
When this prng is used, a seed of at least 16 bytes must be passed to the assh_context_create function.
const struct assh_algo_sign_s assh_sign_builtin_dsa1024 [link]
This constant is declared in assh/mod_builtin.h source file, line 150.
Use SHA1 and a dsa key with L >= 1024 and N = 160.
const struct assh_algo_sign_s assh_sign_builtin_dsa2048_sha224 [link]
This constant is declared in assh/mod_builtin.h source file, line 153.
Use SHA224 and a dsa key with L >= 2048 and N = 224.
const struct assh_algo_sign_s assh_sign_builtin_dsa2048_sha256 [link]
This constant is declared in assh/mod_builtin.h source file, line 156.
Use SHA256 and a dsa key with L >= 2048 and N = 256.
const struct assh_algo_sign_s assh_sign_builtin_dsa3072_sha256 [link]
This constant is declared in assh/mod_builtin.h source file, line 159.
Use SHA256 and a dsa key with L >= 3072 and N = 256.
const struct assh_algo_sign_s assh_sign_builtin_dsa768 [link]
This constant is declared in assh/mod_builtin.h source file, line 147.
Use SHA1 and a dsa key with L >= 768 and N = 160.
const struct assh_algo_sign_s assh_sign_builtin_ed25519 [link]
This constant is declared in assh/mod_builtin.h source file, line 185.
The ssh-ed25519 algorithm as implemented by openssh. This offerrs 125 bits security and relies on an Edward elliptic curve.
const struct assh_algo_sign_s assh_sign_builtin_eddsa_e382 [link]
This constant is declared in assh/mod_builtin.h source file, line 191.
Same algorithm as assh_sign_builtin_ed25519 with the stronger E382 edward curve and the shake256 hash function.
const struct assh_algo_sign_s assh_sign_builtin_eddsa_e521 [link]
This constant is declared in assh/mod_builtin.h source file, line 197.
Same algorithm as assh_sign_builtin_ed25519 with the stronger E521 edward curve and the shake256 hash function.
const struct assh_algo_sign_s assh_sign_builtin_nistp256 [link]
This constant is declared in assh/mod_builtin.h source file, line 199.
const struct assh_algo_sign_s assh_sign_builtin_nistp384 [link]
This constant is declared in assh/mod_builtin.h source file, line 200.
const struct assh_algo_sign_s assh_sign_builtin_nistp521 [link]
This constant is declared in assh/mod_builtin.h source file, line 201.
const struct assh_algo_sign_s assh_sign_builtin_rsa_sha1 [link]
This constant is declared in assh/mod_builtin.h source file, line 167.
Accept sha* RSA signatures, generate sha1 signatures, Reject keys with modulus size less than 1024 bits.
const struct assh_algo_sign_s assh_sign_builtin_rsa_sha1_2048 [link]
This constant is declared in assh/mod_builtin.h source file, line 171.
Accept sha* RSA signatures, generate sha1 signatures. Reject keys with modulus size less than 2048 bits.
const struct assh_algo_sign_s assh_sign_builtin_rsa_sha1_md5 [link]
This constant is declared in assh/mod_builtin.h source file, line 163.
Accept sha* and md5 RSA signatures, generate sha1 signatures. Reject keys with modulus size less than 768 bits.
const struct assh_algo_sign_s assh_sign_builtin_rsa_sha256 [link]
This constant is declared in assh/mod_builtin.h source file, line 175.
Accept sha2, RSA signatures, generate sha256 signatures. Reject keys with modulus size less than 2048 bits.
const struct assh_algo_sign_s assh_sign_builtin_rsa_sha512 [link]
This constant is declared in assh/mod_builtin.h source file, line 179.
Accept sha2 RSA signatures, generate sha512 signatures. Reject keys with modulus size less than 2048 bits.