Home
last modified time | relevance | path

Searched refs:SHA1_CTX (Results 1 – 13 of 13) sorted by relevance

/external/vboot_reference/firmware/lib/cryptolib/include/
Dsha.h26 typedef struct SHA1_CTX { struct
37 } SHA1_CTX; argument
56 void SHA1_init(SHA1_CTX* ctx);
57 void SHA1_update(SHA1_CTX* ctx, const uint8_t* data, uint64_t len);
58 uint8_t* SHA1_final(SHA1_CTX* ctx);
97 SHA1_CTX* sha1_ctx;
/external/ppp/pppd/
Dsha1.h23 } SHA1_CTX; typedef
25 extern void SHA1_Init(SHA1_CTX *);
26 extern void SHA1_Update(SHA1_CTX *, const unsigned char *, unsigned int);
27 extern void SHA1_Final(unsigned char[SHA1_SIGNATURE_SIZE], SHA1_CTX *);
Dopenssl-hash.h26 #define SHA1_CTX SHA_CTX macro
Dchap_ms.c542 SHA1_CTX sha1Context; in ChallengeHash()
683 SHA1_CTX sha1Context; in GenerateAuthenticatorResponse()
737 SHA1_CTX sha1Context; in mppe_set_keys()
781 SHA1_CTX sha1Context; in mppe_set_keys2()
Dsha1.c103 SHA1_Init(SHA1_CTX *context) in SHA1_Init()
118 SHA1_Update(SHA1_CTX *context, const unsigned char *data, unsigned int len) in SHA1_Update()
142 SHA1_Final(unsigned char digest[20], SHA1_CTX *context) in SHA1_Final()
Deap.c320 SHA1_CTX ctxt; in pncrypt_setkey()
654 SHA1_CTX ctxt;
1255 SHA1_CTX ctxt;
1327 SHA1_CTX ctxt;
1736 SHA1_CTX ctxt;
/external/webrtc/webrtc/base/
Dsha1.h18 struct SHA1_CTX { struct
27 void SHA1Init(SHA1_CTX* context); argument
28 void SHA1Update(SHA1_CTX* context, const uint8_t* data, size_t len);
29 void SHA1Final(SHA1_CTX* context, uint8_t digest[SHA1_DIGEST_SIZE]);
Dsha1.cc151 void SHAPrintContext(SHA1_CTX *context, char *msg) { in SHAPrintContext()
222 void SHA1Init(SHA1_CTX* context) { in SHA1Init()
233 void SHA1Update(SHA1_CTX* context, const uint8_t* data, size_t input_len) { in SHA1Update()
270 void SHA1Final(SHA1_CTX* context, uint8_t digest[SHA1_DIGEST_SIZE]) { in SHA1Final()
Dsha1digest.h31 SHA1_CTX ctx_;
/external/vboot_reference/firmware/lib/cryptolib/
Dsha1.c34 static void SHA1_Transform(SHA1_CTX* ctx) { in SHA1_Transform()
130 void SHA1_update(SHA1_CTX* ctx, const uint8_t* data, uint64_t len) { in SHA1_update()
154 uint8_t* SHA1_final(SHA1_CTX* ctx) { in SHA1_final()
178 static void SHA1_transform(SHA1_CTX *ctx) { in SHA1_transform()
228 void SHA1_update(SHA1_CTX *ctx, const uint8_t *data, uint64_t len) { in SHA1_update()
242 uint8_t* SHA1_final(SHA1_CTX *ctx) { in SHA1_final()
269 void SHA1_init(SHA1_CTX* ctx) { in SHA1_init()
281 SHA1_CTX ctx; in internal_SHA1()
Dsha_utility.c19 ctx->sha1_ctx = (SHA1_CTX*) VbExMalloc(sizeof(SHA1_CTX)); in DigestInit()
/external/valgrind/none/tests/
Dsha1_test.c61 } SHA1_CTX; typedef
64 void SHA1Init(SHA1_CTX* context);
65 void SHA1Update(SHA1_CTX* context, const unsigned char* data, u_int32_t len);
66 void SHA1Final(unsigned char digest[20], SHA1_CTX* context);
163 void SHA1Init(SHA1_CTX* context) in SHA1Init()
177 void SHA1Update(SHA1_CTX* context, const unsigned char* data, u_int32_t len) in SHA1Update()
202 void SHA1Final(unsigned char digest[20], SHA1_CTX* context) in SHA1Final()
250 SHA1_CTX ctx; in main()
/external/wpa_supplicant_8/src/crypto/
Dsha1-internal.c17 typedef struct SHA1Context SHA1_CTX; typedef
33 SHA1_CTX ctx; in sha1_vector()
161 void SHAPrintContext(SHA1_CTX *context, char *msg) in SHAPrintContext()
234 void SHA1Init(SHA1_CTX* context) in SHA1Init()
248 void SHA1Update(SHA1_CTX* context, const void *_data, u32 len) in SHA1Update()
278 void SHA1Final(unsigned char digest[20], SHA1_CTX* context) in SHA1Final()