Home
last modified time | relevance | path

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

/external/dhcpcd-6.8.2/crypt/
Dsha256.h40 } SHA256_CTX; typedef
42 void SHA256_Init(SHA256_CTX *);
43 void SHA256_Update(SHA256_CTX *, const void *, size_t);
44 void SHA256_Final(unsigned char [32], SHA256_CTX *);
45 char *SHA256_End(SHA256_CTX *, char *);
Dsha256.c199 SHA256_Pad(SHA256_CTX * ctx) in SHA256_Pad()
221 SHA256_Init(SHA256_CTX * ctx) in SHA256_Init()
240 SHA256_Update(SHA256_CTX * ctx, const void *in, size_t len) in SHA256_Update()
283 SHA256_Final(unsigned char digest[32], SHA256_CTX * ctx) in SHA256_Final()
/external/ipsec-tools/src/racoon/missing/crypto/sha2/
Dsha2.h94 } SHA256_CTX;
107 } SHA256_CTX; typedef
123 void SHA256_Init __P((SHA256_CTX *));
124 void SHA256_Update __P((SHA256_CTX*, const u_int8_t*, size_t));
125 void SHA256_Final __P((u_int8_t[SHA256_DIGEST_LENGTH], SHA256_CTX*));
127 char* SHA256_End __P((SHA256_CTX*, char[SHA256_DIGEST_STRING_LENGTH]));
Dsha2.c221 void SHA256_Transform(SHA256_CTX*, const sha2_word32*);
334 void SHA256_Init(SHA256_CTX* context) { in SHA256_Init()
335 if (context == (SHA256_CTX*)0) { in SHA256_Init()
380 void SHA256_Transform(SHA256_CTX* context, const sha2_word32* data) { in SHA256_Transform()
438 void SHA256_Transform(SHA256_CTX* context, const sha2_word32* data) { in SHA256_Transform()
518 void SHA256_Update(SHA256_CTX* context, const sha2_byte *data, size_t len) { in SHA256_Update()
527 assert(context != (SHA256_CTX*)0 && data != (sha2_byte*)0); in SHA256_Update()
566 void SHA256_Final(sha2_byte digest[], SHA256_CTX* context) { in SHA256_Final()
571 assert(context != (SHA256_CTX*)0); in SHA256_Final()
629 char *SHA256_End(SHA256_CTX* context, char buffer[]) { in SHA256_End()
[all …]
/external/boringssl/src/include/openssl/
Dsha.h132 OPENSSL_EXPORT int SHA224_Init(SHA256_CTX *sha);
135 OPENSSL_EXPORT int SHA224_Update(SHA256_CTX *sha, const void *data, size_t len);
140 OPENSSL_EXPORT int SHA224_Final(uint8_t *md, SHA256_CTX *sha);
157 OPENSSL_EXPORT int SHA256_Init(SHA256_CTX *sha);
160 OPENSSL_EXPORT int SHA256_Update(SHA256_CTX *sha, const void *data, size_t len);
165 OPENSSL_EXPORT int SHA256_Final(uint8_t *md, SHA256_CTX *sha);
174 OPENSSL_EXPORT void SHA256_Transform(SHA256_CTX *sha, const uint8_t *data);
Dbase.h231 typedef struct sha256_state_st SHA256_CTX; typedef
/external/curl/src/
Dtool_metalink.c40 # define SHA256_CTX struct sha256_ctx macro
45 # define SHA256_CTX gcry_md_hd_t macro
51 # define SHA256_CTX void * macro
59 # define SHA256_CTX sha256_context macro
90 # define SHA256_CTX struct win32_crypto_hash macro
159 static int SHA256_Init(SHA256_CTX *ctx) in SHA256_Init()
165 static void SHA256_Update(SHA256_CTX *ctx, in SHA256_Update()
172 static void SHA256_Final(unsigned char digest[32], SHA256_CTX *ctx) in SHA256_Final()
217 static int SHA256_Init(SHA256_CTX *ctx) in SHA256_Init()
223 static void SHA256_Update(SHA256_CTX *ctx, in SHA256_Update()
[all …]
/external/boringssl/src/crypto/sha/
Dsha256.c70 int SHA224_Init(SHA256_CTX *sha) { in SHA224_Init()
71 memset(sha, 0, sizeof(SHA256_CTX)); in SHA224_Init()
84 int SHA256_Init(SHA256_CTX *sha) { in SHA256_Init()
85 memset(sha, 0, sizeof(SHA256_CTX)); in SHA256_Init()
99 SHA256_CTX ctx; in SHA224()
114 SHA256_CTX ctx; in SHA256()
128 int SHA224_Update(SHA256_CTX *ctx, const void *data, size_t len) { in SHA224_Update()
132 int SHA224_Final(uint8_t *md, SHA256_CTX *ctx) { in SHA224_Final()
138 #define HASH_CTX SHA256_CTX
/external/boringssl/src/crypto/cipher/
Dtls_cbc.c241 SHA256_CTX *sha256 = ctx; in tls1_sha256_final_raw()
249 #define LARGEST_DIGEST_CTX SHA256_CTX
315 SHA256_Init((SHA256_CTX *)md_state.c); in EVP_tls_cbc_digest_record()
De_aes.c1500 SHA256_CTX inner_init_state;
1501 SHA256_CTX outer_init_state;
1505 static void hmac_init(SHA256_CTX *out_inner, SHA256_CTX *out_outer, in hmac_init()
1577 static void hmac_update_uint64(SHA256_CTX *sha256, uint64_t value) { in hmac_update_uint64()
1589 const SHA256_CTX *inner_init_state, in hmac_calculate()
1590 const SHA256_CTX *outer_init_state, in hmac_calculate()
1594 SHA256_CTX sha256; in hmac_calculate()
/external/libweave/third_party/chromium/crypto/
Dsha2.cc21 SHA256_CTX sha_context; in SHA256HashString()
/external/libchrome/crypto/
Dsecure_hash_openssl.cc47 SHA256_CTX ctx_;
/external/boringssl/src/crypto/digest/
Ddigests.c151 64 /* block size */, sizeof(SHA256_CTX),
172 64 /* block size */, sizeof(SHA256_CTX),
/external/ipsec-tools/src/racoon/
Dcrypto_openssl.c2263 SHA256_CTX *c = racoon_malloc(sizeof(*c)); in eay_sha2_256_init()
2275 SHA256_Update((SHA256_CTX *)c, (unsigned char *) data->v, data->l);
2289 SHA256_Final((unsigned char *) res->v, (SHA256_CTX *)c);
/external/dhcpcd-6.8.2/
Dconfigure1018 SHA256_CTX context;
Dipv6.c323 SHA256_CTX ctx; in ipv6_makestableprivate1()
/external/boringssl/src/ssl/
Ds3_srvr.c1840 SHA256_CTX sha256; in ssl3_get_client_certificate()