Home
last modified time | relevance | path

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

/third_party/curl/lib/
Dsha256.c76 typedef struct sha256_ctx SHA256_CTX; typedef
78 static void SHA256_Init(SHA256_CTX *ctx) in SHA256_Init()
83 static void SHA256_Update(SHA256_CTX *ctx, in SHA256_Update()
90 static void SHA256_Final(unsigned char *digest, SHA256_CTX *ctx) in SHA256_Final()
104 typedef mbedtls_sha256_context SHA256_CTX; typedef
106 static void SHA256_Init(SHA256_CTX *ctx) in SHA256_Init()
115 static void SHA256_Update(SHA256_CTX *ctx, in SHA256_Update()
126 static void SHA256_Final(unsigned char *digest, SHA256_CTX *ctx) in SHA256_Final()
147 typedef CC_SHA256_CTX SHA256_CTX; typedef
149 static void SHA256_Init(SHA256_CTX *ctx) in SHA256_Init()
[all …]
Damigaos.c100 int (SHA256_Init)(SHA256_CTX *c)
105 int (SHA256_Update)(SHA256_CTX *c, const void *data, size_t len)
110 int (SHA256_Final)(unsigned char *md, SHA256_CTX *c)
/third_party/openssl/include/openssl/
Dsha.h56 } SHA256_CTX; typedef
58 int SHA224_Init(SHA256_CTX *c);
59 int SHA224_Update(SHA256_CTX *c, const void *data, size_t len);
60 int SHA224_Final(unsigned char *md, SHA256_CTX *c);
62 int SHA256_Init(SHA256_CTX *c);
63 int SHA256_Update(SHA256_CTX *c, const void *data, size_t len);
64 int SHA256_Final(unsigned char *md, SHA256_CTX *c);
66 void SHA256_Transform(SHA256_CTX *c, const unsigned char *data);
/third_party/FreeBSD/sys/crypto/sha2/
Dsha256.h44 } SHA256_CTX; typedef
85 void SHA256_Init(SHA256_CTX *);
86 void SHA256_Update(SHA256_CTX *, const void *, size_t);
88 SHA256_CTX *);
90 char *SHA256_End(SHA256_CTX *, char *);
Dsha256c.c199 SHA256_Pad(SHA256_CTX * ctx) in SHA256_Pad()
228 SHA256_Init(SHA256_CTX * ctx) in SHA256_Init()
247 SHA256_Update(SHA256_CTX * ctx, const void *in, size_t len) in SHA256_Update()
290 SHA256_Final(unsigned char digest[static SHA256_DIGEST_LENGTH], SHA256_CTX *ctx) in SHA256_Final()
/third_party/boringssl/src/include/openssl/
Dsha.h131 OPENSSL_EXPORT int SHA224_Init(SHA256_CTX *sha);
134 OPENSSL_EXPORT int SHA224_Update(SHA256_CTX *sha, const void *data, size_t len);
140 SHA256_CTX *sha);
158 OPENSSL_EXPORT int SHA256_Init(SHA256_CTX *sha);
161 OPENSSL_EXPORT int SHA256_Update(SHA256_CTX *sha, const void *data, size_t len);
167 SHA256_CTX *sha);
178 OPENSSL_EXPORT void SHA256_Transform(SHA256_CTX *sha,
Dbase.h411 typedef struct sha256_state_st SHA256_CTX; typedef
/third_party/boringssl/src/crypto/cipher_extra/
De_aesctrhmac.c34 SHA256_CTX inner_init_state;
35 SHA256_CTX outer_init_state;
47 static void hmac_init(SHA256_CTX *out_inner, SHA256_CTX *out_outer, in hmac_init()
108 static void hmac_update_uint64(SHA256_CTX *sha256, uint64_t value) { in hmac_update_uint64()
120 const SHA256_CTX *inner_init_state, in hmac_calculate()
121 const SHA256_CTX *outer_init_state, in hmac_calculate()
125 SHA256_CTX sha256; in hmac_calculate()
Dtls_cbc.c211 SHA256_CTX sha256;
240 SHA256_CTX *sha256 = &ctx->sha256; in tls1_sha256_final_raw()
/third_party/openssl/doc/man3/
DSHA256_Init.pod20 int SHA224_Init(SHA256_CTX *c);
21 int SHA224_Update(SHA256_CTX *c, const void *data, size_t len);
22 int SHA224_Final(unsigned char *md, SHA256_CTX *c);
26 int SHA256_Init(SHA256_CTX *c);
27 int SHA256_Update(SHA256_CTX *c, const void *data, size_t len);
28 int SHA256_Final(unsigned char *md, SHA256_CTX *c);
71 B<SHA256_CTX> object instead of B<SHA_CTX>. SHA384 and SHA512 use B<SHA512_CTX>.
/third_party/boringssl/src/crypto/fipsmodule/sha/
Dsha256.c67 int SHA224_Init(SHA256_CTX *sha) { in SHA224_Init()
68 OPENSSL_memset(sha, 0, sizeof(SHA256_CTX)); in SHA224_Init()
81 int SHA256_Init(SHA256_CTX *sha) { in SHA256_Init()
82 OPENSSL_memset(sha, 0, sizeof(SHA256_CTX)); in SHA256_Init()
97 SHA256_CTX ctx; in SHA224()
107 SHA256_CTX ctx; in SHA256()
115 int SHA224_Update(SHA256_CTX *ctx, const void *data, size_t len) { in SHA224_Update()
119 int SHA224_Final(uint8_t out[SHA224_DIGEST_LENGTH], SHA256_CTX *ctx) { in SHA224_Final()
127 #define HASH_CTX SHA256_CTX
Dsha_test.cc38 SHA256_CTX ctx; in TEST()
/third_party/openssl/crypto/sha/
Dsha256.c19 int SHA224_Init(SHA256_CTX *c) in SHA224_Init()
34 int SHA256_Init(SHA256_CTX *c) in SHA256_Init()
51 SHA256_CTX c; in SHA224()
65 SHA256_CTX c; in SHA256()
77 int SHA224_Update(SHA256_CTX *c, const void *data, size_t len) in SHA224_Update()
82 int SHA224_Final(unsigned char *md, SHA256_CTX *c) in SHA224_Final()
90 #define HASH_CTX SHA256_CTX
129 void sha256_block_data_order(SHA256_CTX *ctx, const void *in, size_t num);
168 static void sha256_block_data_order(SHA256_CTX *ctx, const void *in, in sha256_block_data_order()
246 static void sha256_block_data_order(SHA256_CTX *ctx, const void *in, in sha256_block_data_order()
/third_party/FreeBSD/sys/dev/random/
Dhash.h43 SHA256_CTX sha;
/third_party/openssl/crypto/evp/
Dm_sha1.c155 sizeof(EVP_MD *) + sizeof(SHA256_CTX),
174 sizeof(EVP_MD *) + sizeof(SHA256_CTX),
De_aes_cbc_hmac_sha256.c27 SHA256_CTX head, tail, md;
56 SHA256_CTX *ctx, const void *in0);
93 static void sha256_update(SHA256_CTX *c, const void *data, size_t len) in sha256_update()
/third_party/openssl/ssl/
Ds3_cbc.c66 SHA256_CTX *sha256 = ctx; in tls1_sha256_final_raw()
192 if (SHA224_Init((SHA256_CTX *)md_state.c) <= 0) in ssl3_cbc_digest_record()
200 if (SHA256_Init((SHA256_CTX *)md_state.c) <= 0) in ssl3_cbc_digest_record()
/third_party/boringssl/src/crypto/fipsmodule/digest/
Ddigests.c170 out->ctx_size = sizeof(SHA256_CTX); in DEFINE_METHOD_FUNCTION()
194 out->ctx_size = sizeof(SHA256_CTX); in DEFINE_METHOD_FUNCTION()
/third_party/boringssl/src/crypto/digest_extra/
Ddigest_test.cc305 SHA256_CTX ctx1; in TEST()
309 SHA256_CTX ctx2; in TEST()
/third_party/openssl/engines/
De_ossltest.c122 sizeof(EVP_MD *) + sizeof(SHA256_CTX)) in digest_sha256()
512 #define data(ctx) ((SHA256_CTX *)EVP_MD_CTX_md_data(ctx))
/third_party/grpc/src/core/lib/security/credentials/external/
Daws_request_signer.cc40 SHA256_CTX sha256; in SHA256()
/third_party/openssl/util/
Dindent.pro370 -T SHA256_CTX
/third_party/boringssl/src/crypto/hrss/
Dhrss.c2056 SHA256_CTX hash_ctx; in HRSS_encap()
2083 SHA256_CTX hash_ctx; in HRSS_decap()
/third_party/libcoap/src/
Dcoap_openssl.c3425 SHA256_CTX *digest_ctx = OPENSSL_malloc(sizeof(SHA256_CTX)); in coap_digest_setup()
/third_party/boringssl/src/ssl/
Dt1_lib.cc3918 SHA256_CTX ctx; in tls1_channel_id_hash()