Home
last modified time | relevance | path

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

/external/openssl/include/openssl/
Dsha.h141 } SHA256_CTX; typedef
145 int private_SHA224_Init(SHA256_CTX *c);
146 int private_SHA256_Init(SHA256_CTX *c);
148 int SHA224_Init(SHA256_CTX *c);
149 int SHA224_Update(SHA256_CTX *c, const void *data, size_t len);
150 int SHA224_Final(unsigned char *md, SHA256_CTX *c);
152 int SHA256_Init(SHA256_CTX *c);
153 int SHA256_Update(SHA256_CTX *c, const void *data, size_t len);
154 int SHA256_Final(unsigned char *md, SHA256_CTX *c);
156 void SHA256_Transform(SHA256_CTX *c, const unsigned char *data);
/external/openssl/crypto/sha/
Dsha.h141 } SHA256_CTX; typedef
145 int private_SHA224_Init(SHA256_CTX *c);
146 int private_SHA256_Init(SHA256_CTX *c);
148 int SHA224_Init(SHA256_CTX *c);
149 int SHA224_Update(SHA256_CTX *c, const void *data, size_t len);
150 int SHA224_Final(unsigned char *md, SHA256_CTX *c);
152 int SHA256_Init(SHA256_CTX *c);
153 int SHA256_Update(SHA256_CTX *c, const void *data, size_t len);
154 int SHA256_Final(unsigned char *md, SHA256_CTX *c);
156 void SHA256_Transform(SHA256_CTX *c, const unsigned char *data);
Dsha256.c43 SHA256_CTX c; in SHA224()
56 SHA256_CTX c; in SHA256()
67 int SHA224_Update(SHA256_CTX *c, const void *data, size_t len) in SHA224_Update()
69 int SHA224_Final (unsigned char *md, SHA256_CTX *c) in SHA224_Final()
75 #define HASH_CTX SHA256_CTX
113 void sha256_block_data_order (SHA256_CTX *ctx, const void *in, size_t num);
151 static void sha256_block_data_order (SHA256_CTX *ctx, const void *in, size_t num) in sha256_block_data_order()
203 static void sha256_block_data_order (SHA256_CTX *ctx, const void *in, size_t num) in sha256_block_data_order()
/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/openssh/openbsd-compat/
Dsha2.h66 } SHA256_CTX; typedef
77 void SHA256_Init(SHA256_CTX *);
79 void SHA256_Update(SHA256_CTX *, const u_int8_t *, size_t)
81 void SHA256_Pad(SHA256_CTX *);
82 void SHA256_Final(u_int8_t [SHA256_DIGEST_LENGTH], SHA256_CTX *)
84 char *SHA256_End(SHA256_CTX *, char *)
Dsha2.c282 SHA256_Init(SHA256_CTX *context) in SHA256_Init()
451 SHA256_Update(SHA256_CTX *context, const u_int8_t *data, size_t len) in SHA256_Update()
497 SHA256_Pad(SHA256_CTX *context) in SHA256_Pad()
540 SHA256_Final(u_int8_t digest[SHA256_DIGEST_LENGTH], SHA256_CTX *context) in SHA256_Final()
/external/openssh/
Dmd-sha256.c63 memset(ctxt->md_data, 0, sizeof(SHA256_CTX)); in ssh_sha256_cleanup()
80 ssh_sha256.ctx_size = sizeof(SHA256_CTX); in evp_ssh_sha256()
/external/openssl/crypto/evp/
Dm_sha1.c133 sizeof(EVP_MD *)+sizeof(SHA256_CTX),
152 sizeof(EVP_MD *)+sizeof(SHA256_CTX),
/external/chromium/crypto/
Dsecure_hash_openssl.cc38 SHA256_CTX ctx_;
/external/ipsec-tools/src/racoon/
Dcrypto_openssl.c2233 SHA256_CTX *c = racoon_malloc(sizeof(*c)); in eay_sha2_256_init()
2245 SHA256_Update((SHA256_CTX *)c, (unsigned char *) data->v, data->l);
2259 SHA256_Final((unsigned char *) res->v, (SHA256_CTX *)c);