Home
last modified time | relevance | path

Searched refs:SHA512_CTX (Results 1 – 19 of 19) sorted by relevance

/external/ipsec-tools/src/racoon/missing/crypto/sha2/
Dsha2.h99 } SHA512_CTX;
112 } SHA512_CTX; typedef
117 typedef SHA512_CTX SHA384_CTX;
139 void SHA512_Init __P((SHA512_CTX*));
140 void SHA512_Update __P((SHA512_CTX*, const u_int8_t*, size_t));
141 void SHA512_Final __P((u_int8_t[SHA512_DIGEST_LENGTH], SHA512_CTX*));
143 char* SHA512_End __P((SHA512_CTX*, char[SHA512_DIGEST_STRING_LENGTH]));
Dsha2.c220 void SHA512_Last(SHA512_CTX*);
222 void SHA512_Transform(SHA512_CTX*, const sha2_word64*);
662 void SHA512_Init(SHA512_CTX* context) { in SHA512_Init()
663 if (context == (SHA512_CTX*)0) { in SHA512_Init()
707 void SHA512_Transform(SHA512_CTX* context, const sha2_word64* data) { in SHA512_Transform()
762 void SHA512_Transform(SHA512_CTX* context, const sha2_word64* data) { in SHA512_Transform()
840 void SHA512_Update(SHA512_CTX* context, const sha2_byte *data, size_t len) { in SHA512_Update()
849 assert(context != (SHA512_CTX*)0 && data != (sha2_byte*)0); in SHA512_Update()
888 void SHA512_Last(SHA512_CTX* context) { in SHA512_Last()
929 void SHA512_Final(sha2_byte digest[], SHA512_CTX* context) { in SHA512_Final()
[all …]
/external/openssh/openbsd-compat/
Dsha2.h77 } SHA512_CTX; typedef
79 typedef SHA512_CTX SHA384_CTX;
115 void SHA512_Init(SHA512_CTX *);
117 void SHA512_Update(SHA512_CTX *, const u_int8_t *, size_t)
119 void SHA512_Pad(SHA512_CTX *);
120 void SHA512_Final(u_int8_t [SHA512_DIGEST_LENGTH], SHA512_CTX *)
122 char *SHA512_End(SHA512_CTX *, char *)
Dsha2.c567 SHA512_Init(SHA512_CTX *context) in SHA512_Init()
737 SHA512_Update(SHA512_CTX *context, const u_int8_t *data, size_t len) in SHA512_Update()
783 SHA512_Pad(SHA512_CTX *context) in SHA512_Pad()
826 SHA512_Final(u_int8_t digest[SHA512_DIGEST_LENGTH], SHA512_CTX *context) in SHA512_Final()
871 SHA384_Update(SHA512_CTX *context, const u_int8_t *data, size_t len) in SHA384_Update()
877 SHA384_Pad(SHA512_CTX *context) in SHA384_Pad()
/external/boringssl/src/include/openssl/
Dsha.h199 OPENSSL_EXPORT int SHA384_Init(SHA512_CTX *sha);
202 OPENSSL_EXPORT int SHA384_Update(SHA512_CTX *sha, const void *data, size_t len);
207 OPENSSL_EXPORT int SHA384_Final(uint8_t *md, SHA512_CTX *sha);
224 OPENSSL_EXPORT int SHA512_Init(SHA512_CTX *sha);
227 OPENSSL_EXPORT int SHA512_Update(SHA512_CTX *sha, const void *data, size_t len);
232 OPENSSL_EXPORT int SHA512_Final(uint8_t *md, SHA512_CTX *sha);
242 OPENSSL_EXPORT void SHA512_Transform(SHA512_CTX *sha, const uint8_t *block);
Dbase.h389 typedef struct sha512_state_st SHA512_CTX; typedef
/external/boringssl/src/crypto/fipsmodule/sha/
Dsha512.c73 int SHA384_Init(SHA512_CTX *sha) { in SHA384_Init()
91 int SHA512_Init(SHA512_CTX *sha) { in SHA512_Init()
109 SHA512_CTX ctx; in SHA384()
118 SHA512_CTX ctx; in SHA512()
132 int SHA384_Final(uint8_t *md, SHA512_CTX *sha) { in SHA384_Final()
136 int SHA384_Update(SHA512_CTX *sha, const void *data, size_t len) { in SHA384_Update()
140 void SHA512_Transform(SHA512_CTX *c, const uint8_t *block) { in SHA512_Transform()
144 int SHA512_Update(SHA512_CTX *c, const void *in_data, size_t len) { in SHA512_Update()
192 int SHA512_Final(uint8_t *md, SHA512_CTX *sha) { in SHA512_Final()
Dsha_test.cc51 SHA512_CTX ctx; in TEST()
/external/boringssl/src/crypto/fipsmodule/digest/
Ddigests.c218 out->ctx_size = sizeof(SHA512_CTX); in DEFINE_METHOD_FUNCTION()
242 out->ctx_size = sizeof(SHA512_CTX); in DEFINE_METHOD_FUNCTION()
/external/boringssl/src/crypto/curve25519/
Dspake25519.c460 static void update_with_length_prefix(SHA512_CTX *sha, const uint8_t *data, in update_with_length_prefix()
510 SHA512_CTX sha; in SPAKE2_process_msg()
/external/toybox/toys/lsb/
Dmd5sum.c89 typedef int SHA512_CTX; typedef
251 SHA512_CTX ctx; in do_lib_hash()
/external/boringssl/src/crypto/cipher_extra/
Dtls_cbc.c212 SHA512_CTX sha512;
247 SHA512_CTX *sha512 = &ctx->sha512; in tls1_sha512_final_raw()
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/
D2009-04-16-SpillerUnfold.ll5 %struct.SHA512_CTX = type { [8 x i64], i64, i64, %struct.anon, i32, i32 }
9 define fastcc void @sha512_block_data_order(%struct.SHA512_CTX* nocapture %ctx, i8* nocapture %in, …
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
D2009-04-16-SpillerUnfold.ll8 %struct.SHA512_CTX = type { [8 x i64], i64, i64, %struct.anon, i32, i32 }
12 define fastcc void @sha512_block_data_order(%struct.SHA512_CTX* nocapture %ctx, i8* nocapture %in, …
/external/llvm/test/CodeGen/X86/
D2009-04-16-SpillerUnfold.ll8 %struct.SHA512_CTX = type { [8 x i64], i64, i64, %struct.anon, i32, i32 }
12 define fastcc void @sha512_block_data_order(%struct.SHA512_CTX* nocapture %ctx, i8* nocapture %in, …
/external/openssh/
Ddigest-libc.c116 sizeof(SHA512_CTX),
/external/boringssl/src/crypto/fipsmodule/ecdsa/
Decdsa.c216 SHA512_CTX sha; in ecdsa_sign_setup()
/external/ipsec-tools/src/racoon/
Dcrypto_openssl.c2143 SHA512_CTX *c = racoon_malloc(sizeof(*c)); in eay_sha2_512_init()
2155 SHA512_Update((SHA512_CTX *)c, (unsigned char *) data->v, data->l);
2169 SHA512_Final((unsigned char *) res->v, (SHA512_CTX *)c);
/external/boringssl/src/third_party/fiat/
Dcurve25519.c1907 SHA512_CTX hash_ctx; in ED25519_sign()
1976 SHA512_CTX hash_ctx; in ED25519_verify()