Home
last modified time | relevance | path

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

/external/openssl/crypto/sha/
Dsha.h135 } SHA256_CTX; typedef
138 int SHA224_Init(SHA256_CTX *c);
139 int SHA224_Update(SHA256_CTX *c, const void *data, size_t len);
140 int SHA224_Final(unsigned char *md, SHA256_CTX *c);
142 int SHA256_Init(SHA256_CTX *c);
143 int SHA256_Update(SHA256_CTX *c, const void *data, size_t len);
144 int SHA256_Final(unsigned char *md, SHA256_CTX *c);
146 void SHA256_Transform(SHA256_CTX *c, const unsigned char *data);
Dsha256.c19 int SHA224_Init (SHA256_CTX *c) in SHA224_Init()
30 int SHA256_Init (SHA256_CTX *c) in SHA256_Init()
43 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/openssl/include/openssl/
Dsha.h135 } SHA256_CTX; typedef
138 int SHA224_Init(SHA256_CTX *c);
139 int SHA224_Update(SHA256_CTX *c, const void *data, size_t len);
140 int SHA224_Final(unsigned char *md, SHA256_CTX *c);
142 int SHA256_Init(SHA256_CTX *c);
143 int SHA256_Update(SHA256_CTX *c, const void *data, size_t len);
144 int SHA256_Final(unsigned char *md, SHA256_CTX *c);
146 void SHA256_Transform(SHA256_CTX *c, const unsigned char *data);
/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/openssl/crypto/evp/
Dm_sha1.c130 sizeof(EVP_MD *)+sizeof(SHA256_CTX),
149 sizeof(EVP_MD *)+sizeof(SHA256_CTX),
/external/chromium/crypto/
Dsecure_hash_openssl.cc38 SHA256_CTX ctx_;
/external/ipsec-tools/src/racoon/
Dcrypto_openssl.c2278 SHA256_CTX *c = racoon_malloc(sizeof(*c)); in eay_sha2_256_init()
2290 SHA256_Update((SHA256_CTX *)c, (unsigned char *) data->v, data->l);
2304 SHA256_Final((unsigned char *) res->v, (SHA256_CTX *)c);