Searched refs:OPENSSL_EXPORT (Results 1 - 25 of 111) sorted by relevance

12345

/external/boringssl/include/openssl/
H A Drand.h29 OPENSSL_EXPORT int RAND_bytes(uint8_t *buf, size_t len);
33 OPENSSL_EXPORT void RAND_cleanup(void);
39 OPENSSL_EXPORT int RAND_pseudo_bytes(uint8_t *buf, size_t len);
42 OPENSSL_EXPORT void RAND_seed(const void *buf, int num);
45 OPENSSL_EXPORT int RAND_load_file(const char *path, long num);
48 OPENSSL_EXPORT void RAND_add(const void *buf, int num, double entropy);
51 OPENSSL_EXPORT int RAND_poll(void);
54 OPENSSL_EXPORT int RAND_status(void);
H A Daead.h96 OPENSSL_EXPORT const EVP_AEAD *EVP_aead_aes_128_gcm(void);
99 OPENSSL_EXPORT const EVP_AEAD *EVP_aead_aes_256_gcm(void);
102 OPENSSL_EXPORT const EVP_AEAD *EVP_aead_chacha20_poly1305(void);
110 OPENSSL_EXPORT const EVP_AEAD *EVP_aead_aes_128_key_wrap(void);
116 OPENSSL_EXPORT const EVP_AEAD *EVP_aead_aes_256_key_wrap(void);
121 OPENSSL_EXPORT const EVP_AEAD *EVP_aead_aes_128_ctr_hmac_sha256(void);
125 OPENSSL_EXPORT const EVP_AEAD *EVP_aead_aes_256_ctr_hmac_sha256(void);
129 OPENSSL_EXPORT int EVP_has_aes_hardware(void);
141 OPENSSL_EXPORT const EVP_AEAD *EVP_aead_rc4_md5_tls(void);
142 OPENSSL_EXPORT cons
[all...]
H A Ddigest.h79 OPENSSL_EXPORT const EVP_MD *EVP_md4(void);
80 OPENSSL_EXPORT const EVP_MD *EVP_md5(void);
81 OPENSSL_EXPORT const EVP_MD *EVP_sha1(void);
82 OPENSSL_EXPORT const EVP_MD *EVP_sha224(void);
83 OPENSSL_EXPORT const EVP_MD *EVP_sha256(void);
84 OPENSSL_EXPORT const EVP_MD *EVP_sha384(void);
85 OPENSSL_EXPORT const EVP_MD *EVP_sha512(void);
89 OPENSSL_EXPORT const EVP_MD *EVP_md5_sha1(void);
93 OPENSSL_EXPORT const EVP_MD *EVP_get_digestbynid(int nid);
97 OPENSSL_EXPORT cons
[all...]
H A Dpqueue.h87 OPENSSL_EXPORT pqueue pqueue_new(void);
91 OPENSSL_EXPORT void pqueue_free(pqueue pq);
100 OPENSSL_EXPORT pitem *pitem_new(uint8_t prio64be[8], void *data);
103 OPENSSL_EXPORT void pitem_free(pitem *item);
110 OPENSSL_EXPORT pitem *pqueue_peek(pqueue pq);
114 OPENSSL_EXPORT pitem *pqueue_find(pqueue pq, uint8_t *prio64be);
120 OPENSSL_EXPORT pitem *pqueue_insert(pqueue pq, pitem *item);
124 OPENSSL_EXPORT pitem *pqueue_pop(pqueue pq);
127 OPENSSL_EXPORT size_t pqueue_size(pqueue pq);
134 OPENSSL_EXPORT piterato
[all...]
H A Dcpu.h95 OPENSSL_EXPORT char CRYPTO_is_NEON_capable(void);
101 OPENSSL_EXPORT void CRYPTO_set_NEON_capable(char neon_capable);
106 OPENSSL_EXPORT char CRYPTO_is_NEON_functional(void);
113 OPENSSL_EXPORT void CRYPTO_set_NEON_functional(char neon_functional);
H A Dobj.h88 OPENSSL_EXPORT ASN1_OBJECT *OBJ_dup(const ASN1_OBJECT *obj);
92 OPENSSL_EXPORT int OBJ_cmp(const ASN1_OBJECT *a, const ASN1_OBJECT *b);
99 OPENSSL_EXPORT int OBJ_obj2nid(const ASN1_OBJECT *obj);
103 OPENSSL_EXPORT int OBJ_cbs2nid(const CBS *cbs);
107 OPENSSL_EXPORT int OBJ_sn2nid(const char *short_name);
111 OPENSSL_EXPORT int OBJ_ln2nid(const char *long_name);
116 OPENSSL_EXPORT int OBJ_txt2nid(const char *s);
123 OPENSSL_EXPORT const ASN1_OBJECT *OBJ_nid2obj(int nid);
126 OPENSSL_EXPORT const char *OBJ_nid2sn(int nid);
129 OPENSSL_EXPORT cons
[all...]
H A Dbuf.h78 OPENSSL_EXPORT BUF_MEM *BUF_MEM_new(void);
81 OPENSSL_EXPORT void BUF_MEM_free(BUF_MEM *buf);
86 OPENSSL_EXPORT size_t BUF_MEM_grow(BUF_MEM *buf, size_t len);
90 OPENSSL_EXPORT size_t BUF_MEM_grow_clean(BUF_MEM *str, size_t len);
93 OPENSSL_EXPORT char *BUF_strdup(const char *str);
98 OPENSSL_EXPORT size_t BUF_strnlen(const char *str, size_t max_len);
102 OPENSSL_EXPORT char *BUF_strndup(const char *str, size_t size);
105 OPENSSL_EXPORT void *BUF_memdup(const void *data, size_t size);
108 OPENSSL_EXPORT size_t BUF_strlcpy(char *dst, const char *src, size_t dst_size);
111 OPENSSL_EXPORT size_
[all...]
H A Dbytestring.h44 OPENSSL_EXPORT void CBS_init(CBS *cbs, const uint8_t *data, size_t len);
48 OPENSSL_EXPORT int CBS_skip(CBS *cbs, size_t len);
51 OPENSSL_EXPORT const uint8_t *CBS_data(const CBS *cbs);
54 OPENSSL_EXPORT size_t CBS_len(const CBS *cbs);
61 OPENSSL_EXPORT int CBS_stow(const CBS *cbs, uint8_t **out_ptr, size_t *out_len);
70 OPENSSL_EXPORT int CBS_strdup(const CBS *cbs, char **out_ptr);
74 OPENSSL_EXPORT int CBS_contains_zero_byte(const CBS *cbs);
79 OPENSSL_EXPORT int CBS_mem_equal(const CBS *cbs, const uint8_t *data,
84 OPENSSL_EXPORT int CBS_get_u8(CBS *cbs, uint8_t *out);
88 OPENSSL_EXPORT in
[all...]
H A Dengine.h40 OPENSSL_EXPORT ENGINE *ENGINE_new(void);
44 OPENSSL_EXPORT void ENGINE_free(ENGINE *engine);
56 OPENSSL_EXPORT int ENGINE_set_DH_method(ENGINE *engine, const DH_METHOD *method,
58 OPENSSL_EXPORT DH_METHOD *ENGINE_get_DH_method(const ENGINE *engine);
60 OPENSSL_EXPORT int ENGINE_set_DSA_method(ENGINE *engine,
63 OPENSSL_EXPORT DSA_METHOD *ENGINE_get_DSA_method(const ENGINE *engine);
65 OPENSSL_EXPORT int ENGINE_set_RSA_method(ENGINE *engine,
68 OPENSSL_EXPORT RSA_METHOD *ENGINE_get_RSA_method(const ENGINE *engine);
70 OPENSSL_EXPORT int ENGINE_set_ECDSA_method(ENGINE *engine,
73 OPENSSL_EXPORT ECDSA_METHO
[all...]
H A Dstack.h208 OPENSSL_EXPORT _STACK *sk_new(stack_cmp_func comp);
212 OPENSSL_EXPORT _STACK *sk_new_null(void);
215 OPENSSL_EXPORT size_t sk_num(const _STACK *sk);
219 OPENSSL_EXPORT void sk_zero(_STACK *sk);
223 OPENSSL_EXPORT void *sk_value(const _STACK *sk, size_t i);
227 OPENSSL_EXPORT void *sk_set(_STACK *sk, size_t i, void *p);
231 OPENSSL_EXPORT void sk_free(_STACK *sk);
235 OPENSSL_EXPORT void sk_pop_free(_STACK *sk, void (*free_func)(void *));
240 OPENSSL_EXPORT size_t sk_insert(_STACK *sk, void *p, size_t where);
245 OPENSSL_EXPORT voi
[all...]
H A Dbn.h168 OPENSSL_EXPORT BIGNUM *BN_new(void);
171 OPENSSL_EXPORT void BN_init(BIGNUM *bn);
175 OPENSSL_EXPORT void BN_free(BIGNUM *bn);
179 OPENSSL_EXPORT void BN_clear_free(BIGNUM *bn);
183 OPENSSL_EXPORT BIGNUM *BN_dup(const BIGNUM *src);
186 OPENSSL_EXPORT BIGNUM *BN_copy(BIGNUM *dest, const BIGNUM *src);
189 OPENSSL_EXPORT void BN_clear(BIGNUM *bn);
192 OPENSSL_EXPORT const BIGNUM *BN_value_one(void);
199 OPENSSL_EXPORT void BN_with_flags(BIGNUM *out, const BIGNUM *in, int flags);
206 OPENSSL_EXPORT unsigne
[all...]
H A Dsha.h81 OPENSSL_EXPORT int SHA1_Init(SHA_CTX *sha);
84 OPENSSL_EXPORT int SHA1_Update(SHA_CTX *sha, const void *data, size_t len);
89 OPENSSL_EXPORT int SHA1_Final(uint8_t *md, SHA_CTX *sha);
94 OPENSSL_EXPORT uint8_t *SHA1(const uint8_t *data, size_t len, uint8_t *out);
98 OPENSSL_EXPORT void SHA1_Transform(SHA_CTX *sha, const uint8_t *block);
117 OPENSSL_EXPORT int SHA224_Init(SHA256_CTX *sha);
120 OPENSSL_EXPORT int SHA224_Update(SHA256_CTX *sha, const void *data, size_t len);
125 OPENSSL_EXPORT int SHA224_Final(uint8_t *md, SHA256_CTX *sha);
130 OPENSSL_EXPORT uint8_t *SHA224(const uint8_t *data, size_t len, uint8_t *out);
142 OPENSSL_EXPORT in
[all...]
H A Dsrtp.h137 OPENSSL_EXPORT int SSL_CTX_set_srtp_profiles(SSL_CTX *ctx,
143 OPENSSL_EXPORT int SSL_set_srtp_profiles(SSL *ctx, const char *profiles);
146 OPENSSL_EXPORT STACK_OF(SRTP_PROTECTION_PROFILE) *SSL_get_srtp_profiles(
151 OPENSSL_EXPORT const SRTP_PROTECTION_PROFILE *SSL_get_selected_srtp_profile(
162 OPENSSL_EXPORT int SSL_CTX_set_tlsext_use_srtp(SSL_CTX *ctx,
170 OPENSSL_EXPORT int SSL_set_tlsext_use_srtp(SSL *ctx, const char *profiles);
/external/boringssl/src/include/openssl/
H A Drand.h29 OPENSSL_EXPORT int RAND_bytes(uint8_t *buf, size_t len);
33 OPENSSL_EXPORT void RAND_cleanup(void);
39 OPENSSL_EXPORT int RAND_pseudo_bytes(uint8_t *buf, size_t len);
42 OPENSSL_EXPORT void RAND_seed(const void *buf, int num);
45 OPENSSL_EXPORT int RAND_load_file(const char *path, long num);
48 OPENSSL_EXPORT void RAND_add(const void *buf, int num, double entropy);
51 OPENSSL_EXPORT int RAND_poll(void);
54 OPENSSL_EXPORT int RAND_status(void);
H A Daead.h96 OPENSSL_EXPORT const EVP_AEAD *EVP_aead_aes_128_gcm(void);
99 OPENSSL_EXPORT const EVP_AEAD *EVP_aead_aes_256_gcm(void);
102 OPENSSL_EXPORT const EVP_AEAD *EVP_aead_chacha20_poly1305(void);
110 OPENSSL_EXPORT const EVP_AEAD *EVP_aead_aes_128_key_wrap(void);
116 OPENSSL_EXPORT const EVP_AEAD *EVP_aead_aes_256_key_wrap(void);
121 OPENSSL_EXPORT const EVP_AEAD *EVP_aead_aes_128_ctr_hmac_sha256(void);
125 OPENSSL_EXPORT const EVP_AEAD *EVP_aead_aes_256_ctr_hmac_sha256(void);
129 OPENSSL_EXPORT int EVP_has_aes_hardware(void);
141 OPENSSL_EXPORT const EVP_AEAD *EVP_aead_rc4_md5_tls(void);
142 OPENSSL_EXPORT cons
[all...]
H A Ddigest.h79 OPENSSL_EXPORT const EVP_MD *EVP_md4(void);
80 OPENSSL_EXPORT const EVP_MD *EVP_md5(void);
81 OPENSSL_EXPORT const EVP_MD *EVP_sha1(void);
82 OPENSSL_EXPORT const EVP_MD *EVP_sha224(void);
83 OPENSSL_EXPORT const EVP_MD *EVP_sha256(void);
84 OPENSSL_EXPORT const EVP_MD *EVP_sha384(void);
85 OPENSSL_EXPORT const EVP_MD *EVP_sha512(void);
89 OPENSSL_EXPORT const EVP_MD *EVP_md5_sha1(void);
93 OPENSSL_EXPORT const EVP_MD *EVP_get_digestbynid(int nid);
97 OPENSSL_EXPORT cons
[all...]
H A Dpqueue.h87 OPENSSL_EXPORT pqueue pqueue_new(void);
91 OPENSSL_EXPORT void pqueue_free(pqueue pq);
100 OPENSSL_EXPORT pitem *pitem_new(uint8_t prio64be[8], void *data);
103 OPENSSL_EXPORT void pitem_free(pitem *item);
110 OPENSSL_EXPORT pitem *pqueue_peek(pqueue pq);
114 OPENSSL_EXPORT pitem *pqueue_find(pqueue pq, uint8_t *prio64be);
120 OPENSSL_EXPORT pitem *pqueue_insert(pqueue pq, pitem *item);
124 OPENSSL_EXPORT pitem *pqueue_pop(pqueue pq);
127 OPENSSL_EXPORT size_t pqueue_size(pqueue pq);
134 OPENSSL_EXPORT piterato
[all...]
H A Dcpu.h95 OPENSSL_EXPORT char CRYPTO_is_NEON_capable(void);
101 OPENSSL_EXPORT void CRYPTO_set_NEON_capable(char neon_capable);
106 OPENSSL_EXPORT char CRYPTO_is_NEON_functional(void);
113 OPENSSL_EXPORT void CRYPTO_set_NEON_functional(char neon_functional);
H A Dobj.h88 OPENSSL_EXPORT ASN1_OBJECT *OBJ_dup(const ASN1_OBJECT *obj);
92 OPENSSL_EXPORT int OBJ_cmp(const ASN1_OBJECT *a, const ASN1_OBJECT *b);
99 OPENSSL_EXPORT int OBJ_obj2nid(const ASN1_OBJECT *obj);
103 OPENSSL_EXPORT int OBJ_cbs2nid(const CBS *cbs);
107 OPENSSL_EXPORT int OBJ_sn2nid(const char *short_name);
111 OPENSSL_EXPORT int OBJ_ln2nid(const char *long_name);
116 OPENSSL_EXPORT int OBJ_txt2nid(const char *s);
123 OPENSSL_EXPORT const ASN1_OBJECT *OBJ_nid2obj(int nid);
126 OPENSSL_EXPORT const char *OBJ_nid2sn(int nid);
129 OPENSSL_EXPORT cons
[all...]
H A Dbuf.h78 OPENSSL_EXPORT BUF_MEM *BUF_MEM_new(void);
81 OPENSSL_EXPORT void BUF_MEM_free(BUF_MEM *buf);
86 OPENSSL_EXPORT size_t BUF_MEM_grow(BUF_MEM *buf, size_t len);
90 OPENSSL_EXPORT size_t BUF_MEM_grow_clean(BUF_MEM *str, size_t len);
93 OPENSSL_EXPORT char *BUF_strdup(const char *str);
98 OPENSSL_EXPORT size_t BUF_strnlen(const char *str, size_t max_len);
102 OPENSSL_EXPORT char *BUF_strndup(const char *str, size_t size);
105 OPENSSL_EXPORT void *BUF_memdup(const void *data, size_t size);
108 OPENSSL_EXPORT size_t BUF_strlcpy(char *dst, const char *src, size_t dst_size);
111 OPENSSL_EXPORT size_
[all...]
H A Dbytestring.h44 OPENSSL_EXPORT void CBS_init(CBS *cbs, const uint8_t *data, size_t len);
48 OPENSSL_EXPORT int CBS_skip(CBS *cbs, size_t len);
51 OPENSSL_EXPORT const uint8_t *CBS_data(const CBS *cbs);
54 OPENSSL_EXPORT size_t CBS_len(const CBS *cbs);
61 OPENSSL_EXPORT int CBS_stow(const CBS *cbs, uint8_t **out_ptr, size_t *out_len);
70 OPENSSL_EXPORT int CBS_strdup(const CBS *cbs, char **out_ptr);
74 OPENSSL_EXPORT int CBS_contains_zero_byte(const CBS *cbs);
79 OPENSSL_EXPORT int CBS_mem_equal(const CBS *cbs, const uint8_t *data,
84 OPENSSL_EXPORT int CBS_get_u8(CBS *cbs, uint8_t *out);
88 OPENSSL_EXPORT in
[all...]
H A Dengine.h40 OPENSSL_EXPORT ENGINE *ENGINE_new(void);
44 OPENSSL_EXPORT void ENGINE_free(ENGINE *engine);
56 OPENSSL_EXPORT int ENGINE_set_DH_method(ENGINE *engine, const DH_METHOD *method,
58 OPENSSL_EXPORT DH_METHOD *ENGINE_get_DH_method(const ENGINE *engine);
60 OPENSSL_EXPORT int ENGINE_set_DSA_method(ENGINE *engine,
63 OPENSSL_EXPORT DSA_METHOD *ENGINE_get_DSA_method(const ENGINE *engine);
65 OPENSSL_EXPORT int ENGINE_set_RSA_method(ENGINE *engine,
68 OPENSSL_EXPORT RSA_METHOD *ENGINE_get_RSA_method(const ENGINE *engine);
70 OPENSSL_EXPORT int ENGINE_set_ECDSA_method(ENGINE *engine,
73 OPENSSL_EXPORT ECDSA_METHO
[all...]
H A Dstack.h208 OPENSSL_EXPORT _STACK *sk_new(stack_cmp_func comp);
212 OPENSSL_EXPORT _STACK *sk_new_null(void);
215 OPENSSL_EXPORT size_t sk_num(const _STACK *sk);
219 OPENSSL_EXPORT void sk_zero(_STACK *sk);
223 OPENSSL_EXPORT void *sk_value(const _STACK *sk, size_t i);
227 OPENSSL_EXPORT void *sk_set(_STACK *sk, size_t i, void *p);
231 OPENSSL_EXPORT void sk_free(_STACK *sk);
235 OPENSSL_EXPORT void sk_pop_free(_STACK *sk, void (*free_func)(void *));
240 OPENSSL_EXPORT size_t sk_insert(_STACK *sk, void *p, size_t where);
245 OPENSSL_EXPORT voi
[all...]
H A Dbn.h168 OPENSSL_EXPORT BIGNUM *BN_new(void);
171 OPENSSL_EXPORT void BN_init(BIGNUM *bn);
175 OPENSSL_EXPORT void BN_free(BIGNUM *bn);
179 OPENSSL_EXPORT void BN_clear_free(BIGNUM *bn);
183 OPENSSL_EXPORT BIGNUM *BN_dup(const BIGNUM *src);
186 OPENSSL_EXPORT BIGNUM *BN_copy(BIGNUM *dest, const BIGNUM *src);
189 OPENSSL_EXPORT void BN_clear(BIGNUM *bn);
192 OPENSSL_EXPORT const BIGNUM *BN_value_one(void);
199 OPENSSL_EXPORT void BN_with_flags(BIGNUM *out, const BIGNUM *in, int flags);
206 OPENSSL_EXPORT unsigne
[all...]
H A Dsha.h81 OPENSSL_EXPORT int SHA1_Init(SHA_CTX *sha);
84 OPENSSL_EXPORT int SHA1_Update(SHA_CTX *sha, const void *data, size_t len);
89 OPENSSL_EXPORT int SHA1_Final(uint8_t *md, SHA_CTX *sha);
94 OPENSSL_EXPORT uint8_t *SHA1(const uint8_t *data, size_t len, uint8_t *out);
98 OPENSSL_EXPORT void SHA1_Transform(SHA_CTX *sha, const uint8_t *block);
117 OPENSSL_EXPORT int SHA224_Init(SHA256_CTX *sha);
120 OPENSSL_EXPORT int SHA224_Update(SHA256_CTX *sha, const void *data, size_t len);
125 OPENSSL_EXPORT int SHA224_Final(uint8_t *md, SHA256_CTX *sha);
130 OPENSSL_EXPORT uint8_t *SHA224(const uint8_t *data, size_t len, uint8_t *out);
142 OPENSSL_EXPORT in
[all...]

Completed in 170 milliseconds

12345