Searched refs:crypto_hash (Results 1 - 6 of 6) sorted by relevance

/freebsd-9.3-release/contrib/wpa/src/tls/
H A Dtlsv1_common.h198 struct crypto_hash *md5_client;
199 struct crypto_hash *sha1_client;
200 struct crypto_hash *md5_server;
201 struct crypto_hash *sha1_server;
202 struct crypto_hash *md5_cert;
203 struct crypto_hash *sha1_cert;
H A Dtlsv1_record.c156 struct crypto_hash *hmac;
251 struct crypto_hash *hmac;
/freebsd-9.3-release/contrib/wpa/src/crypto/
H A Dcrypto.h161 struct crypto_hash;
175 struct crypto_hash * crypto_hash_init(enum crypto_hash_alg alg, const u8 *key,
188 void crypto_hash_update(struct crypto_hash *ctx, const u8 *data, size_t len);
207 int crypto_hash_finish(struct crypto_hash *ctx, u8 *hash, size_t *len);
H A Dcrypto_internal.c22 struct crypto_hash { struct
33 struct crypto_hash * crypto_hash_init(enum crypto_hash_alg alg, const u8 *key,
36 struct crypto_hash *ctx;
99 void crypto_hash_update(struct crypto_hash *ctx, const u8 *data, size_t len)
117 int crypto_hash_finish(struct crypto_hash *ctx, u8 *mac, size_t *len)
H A Dcrypto_cryptoapi.c350 struct crypto_hash { struct
358 struct crypto_hash * crypto_hash_init(enum crypto_hash_alg alg, const u8 *key,
361 struct crypto_hash *ctx;
461 void crypto_hash_update(struct crypto_hash *ctx, const u8 *data, size_t len)
473 int crypto_hash_finish(struct crypto_hash *ctx, u8 *mac, size_t *len)
H A Dcrypto_libtomcrypt.c149 struct crypto_hash { struct
159 struct crypto_hash * crypto_hash_init(enum crypto_hash_alg alg, const u8 *key,
162 struct crypto_hash *ctx;
200 void crypto_hash_update(struct crypto_hash *ctx, const u8 *data, size_t len)
220 int crypto_hash_finish(struct crypto_hash *ctx, u8 *mac, size_t *len)

Completed in 57 milliseconds