Home
last modified time | relevance | path

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

/external/mesa3d/src/util/sha1/
Dsha1.h27 } SHA1_CTX; typedef
29 void SHA1Init(SHA1_CTX *);
30 void SHA1Pad(SHA1_CTX *);
32 void SHA1Update(SHA1_CTX *, const uint8_t *, size_t);
33 void SHA1Final(uint8_t [SHA1_DIGEST_LENGTH], SHA1_CTX *);
Dsha1.c107 SHA1Init(SHA1_CTX *context) in SHA1Init()
124 SHA1Update(SHA1_CTX *context, const uint8_t *data, size_t len) in SHA1Update()
147 SHA1Pad(SHA1_CTX *context) in SHA1Pad()
163 SHA1Final(uint8_t digest[SHA1_DIGEST_LENGTH], SHA1_CTX *context) in SHA1Final()
/external/mesa3d/src/util/
Dmesa-sha1.c33 SHA1_CTX *ctx = malloc(sizeof(*ctx)); in _mesa_sha1_init()
45 SHA1_CTX *sha1_ctx = (SHA1_CTX *) ctx; in _mesa_sha1_update()
54 SHA1_CTX *sha1_ctx = (SHA1_CTX *) ctx; in _mesa_sha1_final()
/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/syslinux/com32/libutil/include/
Dsha1.h10 } SHA1_CTX; typedef
13 void SHA1Init(SHA1_CTX * context);
14 void SHA1Update(SHA1_CTX * context, const unsigned char *data, uint32_t len); /*
16 void SHA1Final(unsigned char digest[20], SHA1_CTX * context);
/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/syslinux/gpxe/src/crypto/axtls/
Dsha1.c34 static void SHA1PadMessage(SHA1_CTX *ctx);
35 static void SHA1ProcessMessageBlock(SHA1_CTX *ctx);
40 void SHA1Init(SHA1_CTX *ctx) in SHA1Init()
55 void SHA1Update(SHA1_CTX *ctx, const uint8_t *msg, int len) in SHA1Update()
79 void SHA1Final(SHA1_CTX *ctx, uint8_t *digest) in SHA1Final()
97 static void SHA1ProcessMessageBlock(SHA1_CTX *ctx) in SHA1ProcessMessageBlock()
195 static void SHA1PadMessage(SHA1_CTX *ctx) in SHA1PadMessage()
Dcrypto.h90 } SHA1_CTX; typedef
92 void SHA1Init(SHA1_CTX *);
93 void SHA1Update(SHA1_CTX *, const uint8_t * msg, int len);
94 void SHA1Final(SHA1_CTX *, uint8_t *digest);
/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()
/external/syslinux/com32/libutil/
Dsha1hash.c102 void SHAPrintContext(SHA1_CTX * context, char *msg) in SHAPrintContext()
229 void SHA1Init(SHA1_CTX * context) in SHA1Init()
242 void SHA1Update(SHA1_CTX * context, const unsigned char *data, uint32_t len) in SHA1Update()
271 void SHA1Final(unsigned char digest[20], SHA1_CTX * context) in SHA1Final()
339 SHA1_CTX context; in main()
/external/syslinux/gpxe/src/include/gpxe/
Dsha1.h10 #define SHA1_CTX_SIZE sizeof ( SHA1_CTX )
/external/syslinux/com32/menu/
Dpasswd.c23 SHA1_CTX ctx; in passwd_compare_sha1()