![]()
![]()
#define CRYPTO_H
![]()
![]()
#include "utils/common.h"
![]()
![]()
md4_vector(size_t, const u8 **, const size_t *, u8 *);
![]()
![]()
md5_vector(size_t, const u8 **, const size_t *, u8 *);
![]()
![]()
sha1_vector(size_t, const u8 **, const size_t *, u8 *);
![]()
![]()
fips186_2_prf(const u8 *, size_t, u8 *, size_t);
![]()
![]()
sha256_vector(size_t, const u8 **, const size_t *, u8 *);
![]()
![]()
sha384_vector(size_t, const u8 **, const size_t *, u8 *);
![]()
![]()
sha512_vector(size_t, const u8 **, const size_t *, u8 *);
![]()
![]()
des_encrypt(const u8 *, const u8 *, u8 *);
![]()
![]()
aes_encrypt_init(const u8 *, size_t);
![]()
![]()
aes_encrypt(void *, const u8 *, u8 *);
![]()
![]()
aes_encrypt_deinit(void *);
![]()
![]()
aes_decrypt_init(const u8 *, size_t);
![]()
![]()
aes_decrypt(void *, const u8 *, u8 *);
![]()
![]()
aes_decrypt_deinit(void *);
![]()
![]()
crypto_hash_alg
![]()
![]()
CRYPTO_HASH_ALG_MD5
![]()
![]()
CRYPTO_HASH_ALG_SHA1
![]()
![]()
CRYPTO_HASH_ALG_HMAC_MD5
![]()
![]()
CRYPTO_HASH_ALG_HMAC_SHA1
![]()
![]()
CRYPTO_HASH_ALG_SHA256
![]()
![]()
CRYPTO_HASH_ALG_HMAC_SHA256
![]()
![]()
CRYPTO_HASH_ALG_SHA384
![]()
![]()
CRYPTO_HASH_ALG_SHA512
![]()
![]()
crypto_hash
![]()
![]()
crypto_hash_init(enum crypto_hash_alg, const u8 *, size_t);
![]()
![]()
crypto_hash_update(struct crypto_hash *, const u8 *, size_t);
![]()
![]()
crypto_hash_finish(struct crypto_hash *, u8 *, size_t *);
![]()
![]()
crypto_cipher_alg
![]()
![]()
CRYPTO_CIPHER_NULL
![]()
![]()
CRYPTO_CIPHER_ALG_AES
![]()
![]()
CRYPTO_CIPHER_ALG_3DES
![]()
![]()
CRYPTO_CIPHER_ALG_DES
![]()
![]()
CRYPTO_CIPHER_ALG_RC2
![]()
![]()
CRYPTO_CIPHER_ALG_RC4
![]()
![]()
crypto_cipher
![]()
![]()
crypto_cipher_init(enum crypto_cipher_alg, const u8 *, const u8 *, size_t);
![]()
![]()
crypto_cipher_encrypt(struct crypto_cipher *, const u8 *, u8 *, size_t);
![]()
![]()
crypto_cipher_decrypt(struct crypto_cipher *, const u8 *, u8 *, size_t);
![]()
![]()
crypto_cipher_deinit(struct crypto_cipher *);
![]()
![]()
crypto_public_key
![]()
![]()
crypto_private_key
![]()
![]()
crypto_public_key_import(const u8 *, size_t);
![]()
![]()
crypto_public_key_import_parts(const u8 *, size_t, const u8 *, size_t);
![]()
![]()
crypto_private_key_import(const u8 *, size_t, const char *);
![]()
![]()
crypto_public_key_from_cert(const u8 *, size_t);
![]()
![]()
crypto_public_key_encrypt_pkcs1_v15(struct crypto_public_key *, const u8 *, size_t, u8 *, size_t *);
![]()
![]()
crypto_private_key_decrypt_pkcs1_v15(struct crypto_private_key *, const u8 *, size_t, u8 *, size_t *);
![]()
![]()
crypto_private_key_sign_pkcs1(struct crypto_private_key *, const u8 *, size_t, u8 *, size_t *);
![]()
![]()
crypto_public_key_free(struct crypto_public_key *);
![]()
![]()
crypto_private_key_free(struct crypto_private_key *);
![]()
![]()
crypto_public_key_decrypt_pkcs1(struct crypto_public_key *, const u8 *, size_t, u8 *, size_t *);
![]()
![]()
crypto_dh_init(u8, const u8 *, size_t, u8 *, u8 *);
![]()
![]()
crypto_dh_derive_secret(u8, const u8 *, size_t, const u8 *, size_t, const u8 *, size_t, const u8 *, size_t, u8 *, size_t *);
![]()
![]()
crypto_global_init();
![]()
![]()
crypto_global_deinit();
![]()
![]()
crypto_mod_exp(const u8 *, size_t, const u8 *, size_t, const u8 *, size_t, u8 *, size_t *);
![]()
![]()
rc4_skip(const u8 *, size_t, size_t, u8 *, size_t);
![]()
![]()
crypto_get_random(void *, size_t);
![]()
![]()
crypto_bignum
![]()
![]()
crypto_key
![]()
![]()
crypto_bignum_init();
![]()
![]()
crypto_bignum_init_set(const u8 *, size_t);
![]()
![]()
crypto_bignum_init_uint(unsigned int);
![]()
![]()
crypto_bignum_deinit(struct crypto_bignum *, int);
![]()
![]()
crypto_bignum_to_bin(const struct crypto_bignum *, u8 *, size_t, size_t);
![]()
![]()
crypto_bignum_rand(struct crypto_bignum *, const struct crypto_bignum *);
![]()
![]()
crypto_bignum_add(const struct crypto_bignum *, const struct crypto_bignum *, struct crypto_bignum *);
![]()
![]()
crypto_bignum_mod(const struct crypto_bignum *, const struct crypto_bignum *, struct crypto_bignum *);
![]()
![]()
crypto_bignum_exptmod(const struct crypto_bignum *, const struct crypto_bignum *, const struct crypto_bignum *, struct crypto_bignum *);
![]()
![]()
crypto_bignum_inverse(const struct crypto_bignum *, const struct crypto_bignum *, struct crypto_bignum *);
![]()
![]()
crypto_bignum_sub(const struct crypto_bignum *, const struct crypto_bignum *, struct crypto_bignum *);
![]()
![]()
crypto_bignum_div(const struct crypto_bignum *, const struct crypto_bignum *, struct crypto_bignum *);
![]()
![]()
crypto_bignum_addmod(const struct crypto_bignum *, const struct crypto_bignum *, const struct crypto_bignum *, struct crypto_bignum *);
![]()
![]()
crypto_bignum_mulmod(const struct crypto_bignum *, const struct crypto_bignum *, const struct crypto_bignum *, struct crypto_bignum *);
![]()
![]()
crypto_bignum_sqrmod(const struct crypto_bignum *, const struct crypto_bignum *, struct crypto_bignum *);
![]()
![]()
crypto_bignum_sqrtmod(const struct crypto_bignum *, const struct crypto_bignum *, struct crypto_bignum *);
![]()
![]()
crypto_bignum_rshift(const struct crypto_bignum *, int, struct crypto_bignum *);
![]()
![]()
crypto_bignum_cmp(const struct crypto_bignum *, const struct crypto_bignum *);
![]()
![]()
crypto_bignum_bits(const struct crypto_bignum *);
![]()
![]()
crypto_bignum_is_zero(const struct crypto_bignum *);
![]()
![]()
crypto_bignum_is_one(const struct crypto_bignum *);
![]()
![]()
crypto_bignum_is_odd(const struct crypto_bignum *);
![]()
![]()
crypto_bignum_legendre(const struct crypto_bignum *, const struct crypto_bignum *);
![]()
![]()
crypto_ec
![]()
![]()
crypto_ec_init(int);
![]()
![]()
crypto_ec_deinit(struct crypto_ec *);
![]()
![]()
crypto_ec_prime_len(struct crypto_ec *);
![]()
![]()
crypto_ec_prime_len_bits(struct crypto_ec *);
![]()
![]()
crypto_ec_order_len(struct crypto_ec *);
![]()
![]()
crypto_ec_get_prime(struct crypto_ec *);
![]()
![]()
crypto_ec_get_order(struct crypto_ec *);
![]()
![]()
crypto_ec_get_b(struct crypto_ec *);
![]()
![]()
crypto_ec_point
![]()
![]()
crypto_ec_point_init(struct crypto_ec *);
![]()
![]()
crypto_ec_point_deinit(struct crypto_ec_point *, int);
![]()
![]()
crypto_ec_point_to_bin(struct crypto_ec *, const struct crypto_ec_point *, u8 *, u8 *);
![]()
![]()
crypto_ec_point_from_bin(struct crypto_ec *, const u8 *);
![]()
![]()
crypto_ec_point_add(struct crypto_ec *, const struct crypto_ec_point *, const struct crypto_ec_point *, struct crypto_ec_point *);
![]()
![]()
crypto_ec_point_mul(struct crypto_ec *, const struct crypto_ec_point *, const struct crypto_bignum *, struct crypto_ec_point *);
![]()
![]()
crypto_ec_point_invert(struct crypto_ec *, struct crypto_ec_point *);
![]()
![]()
crypto_ec_point_solve_y_coord(struct crypto_ec *, struct crypto_ec_point *, const struct crypto_bignum *, int);
![]()
![]()
crypto_ec_point_compute_y_sqr(struct crypto_ec *, const struct crypto_bignum *);
![]()
![]()
crypto_ec_point_is_at_infinity(struct crypto_ec *, const struct crypto_ec_point *);
![]()
![]()
crypto_ec_point_is_on_curve(struct crypto_ec *, const struct crypto_ec_point *);
![]()
![]()
crypto_ec_point_cmp(const struct crypto_ec *, const struct crypto_ec_point *, const struct crypto_ec_point *);
![]()
![]()
crypto_ec_key
![]()
![]()
crypto_ec_get_publickey_buf(struct crypto_ec_key *, u8 *, int);
![]()
![]()
crypto_ec_group
![]()
![]()
crypto_ec_get_group_from_key(struct crypto_ec_key *);
![]()
![]()
crypto_ec_key_get_private_key(struct crypto_ec_key *);
![]()
![]()
crypto_ec_key_parse_priv(const u8 *, size_t);
![]()
![]()
crypto_ec_get_mbedtls_to_nist_group_id(int);
![]()
![]()
crypto_ec_get_curve_id(const struct crypto_ec_group *);
![]()
![]()
crypto_ecdh(struct crypto_ec_key *, struct crypto_ec_key *, u8 *, size_t *);
![]()
![]()
crypto_ecdsa_get_sign(unsigned char *, const struct crypto_bignum *, const struct crypto_bignum *, struct crypto_ec_key *, int);
![]()
![]()
crypto_ec_key_verify_signature_r_s(struct crypto_ec_key *, const unsigned char *, int, const u8 *, size_t, const u8 *, size_t);
![]()
![]()
crypto_ec_parse_subpub_key(const unsigned char *, size_t);
![]()
![]()
crypto_is_ec_key(struct crypto_ec_key *);
![]()
![]()
crypto_ec_key_gen(u16);
![]()
![]()
crypto_ec_write_pub_key(struct crypto_ec_key *, unsigned char **);
![]()
![]()
crypto_ec_key_get_subject_public_key(struct crypto_ec_key *);
![]()
![]()
crypto_ec_key_set_pub(const struct crypto_ec_group *, const u8 *, size_t);
![]()
![]()
crypto_ec_key_debug_print(struct crypto_ec_key *, const char *);
![]()
![]()
crypto_ec_key_get_public_key(struct crypto_ec_key *);
![]()
![]()
crypto_get_order(struct crypto_ec_group *, struct crypto_bignum *);
![]()
![]()
crypto_ec_get_affine_coordinates(struct crypto_ec *, struct crypto_ec_point *, struct crypto_bignum *, struct crypto_bignum *);
![]()
![]()
crypto_ec_get_group_byname(const char *);
![]()
![]()
crypto_ec_key_compare(struct crypto_ec_key *, struct crypto_ec_key *);
![]()
![]()
crypto_write_pubkey_der(struct crypto_ec_key *, unsigned char **);
![]()
![]()
crypto_free_buffer(unsigned char *);
![]()
![]()
crypto_ec_get_priv_key_der(struct crypto_ec_key *, unsigned char **, int *);
![]()
![]()
crypto_bignum_to_string(const struct crypto_bignum *, u8 *, size_t, size_t);
![]()
![]()
crypto_ecdh
![]()
![]()
crypto_ecdh_deinit(struct crypto_ecdh *);
![]()
![]()
crypto_ecdh_init(int);
![]()
![]()
crypto_ecdh_get_pubkey(struct crypto_ecdh *, int);
![]()
![]()
crypto_ecdh_set_peerkey(struct crypto_ecdh *, int, const u8 *, size_t);
![]()
![]()
crypto_ec_key_parse_pub(const u8 *, size_t);
![]()
![]()
crypto_ec_key_group(struct crypto_ec_key *);
![]()
![]()
crypto_ec_key_deinit(struct crypto_ec_key *);
![]()
![]()
crypto_ec_key_verify_signature(struct crypto_ec_key *, const u8 *, size_t, const u8 *, size_t);