Home
last modified time | relevance | path

Searched refs:SHA_CTX (Results 1 – 25 of 26) sorted by relevance

12

/freebsd/lib/libmd/
H A Dsha.h75 } SHA_CTX; typedef
76 #define SHA1_CTX SHA_CTX
149 void SHA_Init(SHA_CTX *c);
150 void SHA_Update(SHA_CTX *c, const void *data, size_t len);
151 void SHA_Final(unsigned char *md, SHA_CTX *c);
152 char *SHA_End(SHA_CTX *, char *);
159 void SHA1_Init(SHA_CTX *c);
160 void SHA1_Update(SHA_CTX *c, const void *data, size_t len);
161 void SHA1_Final(unsigned char *md, SHA_CTX *c);
162 char *SHA1_End(SHA_CTX *, char *);
H A Dsha1c.c100 void sha1_block_x86(SHA_CTX *c, const u_int32_t *p, int num);
103 void sha1_block(SHA_CTX *c, const u_int32_t *p, int num);
129 void SHA1_Init(SHA_CTX *c) in SHA1_Init()
142 SHA1_Update(SHA_CTX *c, const void *in, size_t len) in SHA1_Update()
273 static void SHA1_Transform(SHA_CTX *c, unsigned char *b) in SHA1_Transform()
311 sha1_block(SHA_CTX *c, const u_int32_t *W, int num) in sha1_block()
428 void SHA1_Final(unsigned char *md, SHA_CTX *c) in SHA1_Final()
H A Dsha0c.c91 void sha_block(SHA_CTX *c, const u_int32_t *p, int num);
102 void SHA_Init(SHA_CTX *c) in SHA_Init()
114 void SHA_Update(SHA_CTX *c, const void *in, size_t len) in SHA_Update()
245 static void SHA_Transform(SHA_CTX *c, unsigned char *b) in SHA_Transform()
280 void sha_block(SHA_CTX *c, const u_int32_t *W, int num) in sha_block()
396 void SHA_Final(unsigned char *md, SHA_CTX *c) in SHA_Final()
/freebsd/sys/crypto/openssl/
H A Dossl_sha1.c21 void sha1_block_data_order(SHA_CTX *c, const void *p, size_t len);
27 #define HASH_CTX SHA_CTX
52 SHA_CTX *c = c_; in HASH_INIT()
67 .ctxsize = sizeof(SHA_CTX),
74 _Static_assert(sizeof(SHA_CTX) <= sizeof(struct ossl_hash_context),
H A Dossl_sha.h33 } SHA_CTX; typedef
/freebsd/crypto/openssl/include/openssl/
H A Dsha.h47 } SHA_CTX; typedef
49 OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c);
50 OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len);
51 OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c);
52 OSSL_DEPRECATEDIN_3_0 void SHA1_Transform(SHA_CTX *c, const unsigned char *data);
/freebsd/usr.sbin/ppp/
H A Dchap_ms.c157 SHA_CTX Context; in ChallengeHash()
193 SHA1_End(SHA_CTX *ctx, char *buf) in SHA1_End()
219 SHA_CTX Context; in GenerateAuthenticatorResponse()
281 SHA_CTX Context; in GetMasterKey()
300 SHA_CTX Context; in GetAsymetricStartKey()
353 SHA_CTX Context; in GetNewKeyFromSHA()
371 SHA_CTX Context;
/freebsd/crypto/openssl/providers/implementations/digests/
H A Dsha2_prov.c46 SHA_CTX *ctx = (SHA_CTX *)vctx; in sha1_set_ctx_params()
62 sha1, SHA_CTX, SHA_CBLOCK, SHA_DIGEST_LENGTH, SHA2_FLAGS,
/freebsd/crypto/openssl/doc/man3/
H A DSHA256_Init.pod24 int SHA1_Init(SHA_CTX *c);
25 int SHA1_Update(SHA_CTX *c, const void *data, size_t len);
26 int SHA1_Final(unsigned char *md, SHA_CTX *c);
66 SHA1_Init() initializes a B<SHA_CTX> structure.
72 for SHA_DIGEST_LENGTH == 20 bytes of output, and erases the B<SHA_CTX>.
76 B<SHA256_CTX> object instead of B<SHA_CTX>. SHA384 and SHA512 use B<SHA512_CTX>.
/freebsd/lib/libnetbsd/
H A Dsha1.h39 #define SHA1_CTX SHA_CTX
/freebsd/crypto/openssl/include/crypto/
H A Dsha.h19 int ossl_sha1_ctrl(SHA_CTX *ctx, int cmd, int mslen, void *ms);
/freebsd/crypto/openssl/providers/implementations/include/prov/
H A Dmd5_sha1.h26 SHA_CTX sha1;
/freebsd/crypto/openssl/crypto/sha/
H A Dsha1dgst.c28 int ossl_sha1_ctrl(SHA_CTX *sha1, int cmd, int mslen, void *ms) in ossl_sha1_ctrl()
H A Dsha_local.h20 #define HASH_CTX SHA_CTX
41 static void sha1_block_data_order(SHA_CTX *c, const void *p, size_t num);
43 void sha1_block_data_order(SHA_CTX *c, const void *p, size_t num);
54 int HASH_INIT(SHA_CTX *c) in HASH_INIT()
137 static void HASH_BLOCK_DATA_ORDER(SHA_CTX *c, const void *p, size_t num) in HASH_BLOCK_DATA_ORDER()
366 static void HASH_BLOCK_DATA_ORDER(SHA_CTX *c, const void *p, size_t num) in HASH_BLOCK_DATA_ORDER()
H A Dsha1_one.c25 SHA_CTX c; in ossl_sha1()
/freebsd/crypto/openssl/providers/implementations/ciphers/
H A Dcipher_aes_cbc_hmac_sha.h55 SHA_CTX head, tail, md;
H A Dcipher_aes_cbc_hmac_sha1_hw.c38 SHA_CTX *ctx, const void *in0);
69 static void sha1_update(SHA_CTX *c, const void *data, size_t len) in sha1_update()
/freebsd/lib/libulog/
H A Dulog_login.c41 SHA_CTX c; in ulog_fill()
/freebsd/crypto/openssl/test/
H A Drc4test.c104 SHA_CTX c; in test_rc_bulk()
/freebsd/contrib/wpa/src/crypto/
H A Dfips_prf_openssl.c31 SHA_CTX context; in sha1_transform()
/freebsd/crypto/openssl/ssl/
H A Ds3_cbc.c108 SHA_CTX *sha1 = ctx; in tls1_sha1_final_raw()
216 if (SHA1_Init((SHA_CTX *)md_state.c) <= 0) in ssl3_cbc_digest_record()
/freebsd/crypto/openssl/crypto/evp/
H A De_aes_cbc_hmac_sha1.c33 SHA_CTX head, tail, md;
61 SHA_CTX *ctx, const void *in0);
65 SHA_CTX *ctx, const void *in0);
103 static void sha1_update(SHA_CTX *c, const void *data, size_t len) in sha1_update()
/freebsd/crypto/openssl/crypto/engine/
H A Deng_openssl.c360 sizeof(EVP_MD *) + sizeof(SHA_CTX)) in test_sha_md()
/freebsd/crypto/openssl/engines/
H A De_ossltest.c107 sizeof(EVP_MD *) + sizeof(SHA_CTX)) in digest_sha1()
/freebsd/crypto/openssl/util/
H A Dindent.pro374 -T SHA_CTX

12