Home
last modified time | relevance | path

Searched refs:crypto_hash (Results 1 – 23 of 23) sorted by relevance

/freebsd/contrib/wpa/src/tls/
H A Dtlsv1_common.h238 struct crypto_hash *md5_client;
239 struct crypto_hash *sha1_client;
240 struct crypto_hash *sha256_client;
241 struct crypto_hash *md5_server;
242 struct crypto_hash *sha1_server;
243 struct crypto_hash *sha256_server;
244 struct crypto_hash *md5_cert;
245 struct crypto_hash *sha1_cert;
246 struct crypto_hash *sha256_cert;
H A Dtlsv1_record.c155 struct crypto_hash *hmac; in tlsv1_record_send()
284 struct crypto_hash *hmac; in tlsv1_record_receive()
H A Dtlsv1_common.c345 struct crypto_hash *ctx; in tlsv12_key_x_server_params_hash()
385 struct crypto_hash *ctx; in tls_key_x_server_params_hash()
/freebsd/contrib/wpa/src/eap_common/
H A Deap_pwd_common.h67 struct crypto_hash * eap_pwd_h_init(void);
68 void eap_pwd_h_update(struct crypto_hash *hash, const u8 *data, size_t len);
69 void eap_pwd_h_final(struct crypto_hash *hash, u8 *digest);
H A Deap_pwd_common.c22 struct crypto_hash * eap_pwd_h_init(void) in eap_pwd_h_init()
31 void eap_pwd_h_update(struct crypto_hash *hash, const u8 *data, size_t len) in eap_pwd_h_update()
37 void eap_pwd_h_final(struct crypto_hash *hash, u8 *digest) in eap_pwd_h_final()
48 struct crypto_hash *hash; in eap_pwd_kdf()
132 struct crypto_hash *hash; in compute_password_element()
336 struct crypto_hash *hash; in compute_keys()
/freebsd/contrib/wpa/src/crypto/
H A Dcrypto_internal.c19 struct crypto_hash { struct
39 struct crypto_hash * crypto_hash_init(enum crypto_hash_alg alg, const u8 *key, in crypto_hash_init() argument
42 struct crypto_hash *ctx; in crypto_hash_init()
143 void crypto_hash_update(struct crypto_hash *ctx, const u8 *data, size_t len) in crypto_hash_update()
179 int crypto_hash_finish(struct crypto_hash *ctx, u8 *mac, size_t *len) in crypto_hash_finish()
H A Dcrypto_libtomcrypt.c144 struct crypto_hash { struct
154 struct crypto_hash * crypto_hash_init(enum crypto_hash_alg alg, const u8 *key, in crypto_hash_init() argument
157 struct crypto_hash *ctx; in crypto_hash_init()
195 void crypto_hash_update(struct crypto_hash *ctx, const u8 *data, size_t len) in crypto_hash_update()
215 int crypto_hash_finish(struct crypto_hash *ctx, u8 *mac, size_t *len) in crypto_hash_finish()
H A Dcrypto.h169 struct crypto_hash;
183 struct crypto_hash * crypto_hash_init(enum crypto_hash_alg alg, const u8 *key,
196 void crypto_hash_update(struct crypto_hash *ctx, const u8 *data, size_t len);
215 int crypto_hash_finish(struct crypto_hash *ctx, u8 *hash, size_t *len);
H A Dcrypto_linux.c231 struct crypto_hash { struct
239 struct crypto_hash * crypto_hash_init(enum crypto_hash_alg alg, const u8 *key, in crypto_hash_init() argument
242 struct crypto_hash *ctx; in crypto_hash_init()
315 void crypto_hash_update(struct crypto_hash *ctx, const u8 *data, size_t len) in crypto_hash_update()
340 static void crypto_hash_deinit(struct crypto_hash *ctx) in crypto_hash_deinit()
348 int crypto_hash_finish(struct crypto_hash *ctx, u8 *mac, size_t *len) in crypto_hash_finish()
H A Dcrypto_wolfssl.c1172 struct crypto_hash { struct
1178 struct crypto_hash * crypto_hash_init(enum crypto_hash_alg alg, const u8 *key, in crypto_hash_init() argument
1181 struct crypto_hash *ret = NULL; in crypto_hash_init()
1182 struct crypto_hash *hash; in crypto_hash_init()
1226 void crypto_hash_update(struct crypto_hash *ctx, const u8 *data, size_t len) in crypto_hash_update()
1234 int crypto_hash_finish(struct crypto_hash *ctx, u8 *mac, size_t *len) in crypto_hash_finish()
H A Dcrypto_openssl.c1315 struct crypto_hash { struct
1325 struct crypto_hash * crypto_hash_init(enum crypto_hash_alg alg, const u8 *key, in crypto_hash_init() argument
1329 struct crypto_hash *ctx; in crypto_hash_init()
1384 struct crypto_hash *ctx; in crypto_hash_init()
1429 void crypto_hash_update(struct crypto_hash *ctx, const u8 *data, size_t len) in crypto_hash_update()
1443 int crypto_hash_finish(struct crypto_hash *ctx, u8 *mac, size_t *len) in crypto_hash_finish()
/freebsd/sys/contrib/libsodium/test/default/
H A Dhash.c17 crypto_hash(h, x, sizeof x - 1U); in main()
22 crypto_hash(h, x2, sizeof x2 - 1U); in main()
H A Dhash3.c13 crypto_hash(h, x, sizeof x - 1U); in main()
/freebsd/sys/contrib/libsodium/
H A DAUTHORS70 crypto_hash/sha256 Colin Percival
71 crypto_hash/sha512
72 crypto_hash/sha512256
/freebsd/sys/contrib/libsodium/src/libsodium/
H A DMakefile.am29 crypto_hash/crypto_hash.c \
30 crypto_hash/sha256/hash_sha256.c \
31 crypto_hash/sha256/cp/hash_sha256_cp.c \
32 crypto_hash/sha512/hash_sha512.c \
33 crypto_hash/sha512/cp/hash_sha512_cp.c \
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_hash/
H A Dcrypto_hash.c11 crypto_hash(unsigned char *out, const unsigned char *in, in crypto_hash() function
/freebsd/sys/contrib/libsodium/src/libsodium/include/sodium/
H A Dcrypto_hash.h28 int crypto_hash(unsigned char *out, const unsigned char *in,
/freebsd/sys/contrib/libsodium/src/libsodium/include/
H A DMakefile.am22 sodium/crypto_hash.h \
/freebsd/contrib/libarchive/libarchive/
H A Darchive_blake2s_ref.c297 int crypto_hash( unsigned char *out, unsigned char *in, unsigned long long inlen ) in crypto_hash() function
/freebsd/sys/contrib/libb2/
H A Dblake2s.c417 int crypto_hash( unsigned char *out, unsigned char *in, unsigned long long inlen ) in crypto_hash() function
H A Dblake2b.c439 int crypto_hash( unsigned char *out, unsigned char *in, unsigned long long inlen ) in crypto_hash() function
/freebsd/contrib/wpa/src/eap_server/
H A Deap_server_pwd.c317 struct crypto_hash *hash = NULL; in eap_pwd_build_confirm_req()
758 struct crypto_hash *hash = NULL; in eap_pwd_process_confirm_resp()
/freebsd/contrib/wpa/src/eap_peer/
H A Deap_pwd.c695 struct crypto_hash *hash = NULL; in eap_pwd_perform_confirm_exchange()