Home
last modified time | relevance | path

Searched refs:SHA512_CTX (Results 1 – 11 of 11) 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/boringssl/src/include/openssl/
Dsha.h193 OPENSSL_EXPORT int SHA384_Init(SHA512_CTX *sha);
196 OPENSSL_EXPORT int SHA384_Update(SHA512_CTX *sha, const void *data, size_t len);
201 OPENSSL_EXPORT int SHA384_Final(uint8_t *md, SHA512_CTX *sha);
210 OPENSSL_EXPORT void SHA384_Transform(SHA512_CTX *sha, const uint8_t *data);
222 OPENSSL_EXPORT int SHA512_Init(SHA512_CTX *sha);
225 OPENSSL_EXPORT int SHA512_Update(SHA512_CTX *sha, const void *data, size_t len);
230 OPENSSL_EXPORT int SHA512_Final(uint8_t *md, SHA512_CTX *sha);
239 OPENSSL_EXPORT void SHA512_Transform(SHA512_CTX *sha, const uint8_t *data);
Dbase.h232 typedef struct sha512_state_st SHA512_CTX; typedef
/external/boringssl/src/crypto/sha/
Dsha512.c87 int SHA384_Init(SHA512_CTX *sha) { in SHA384_Init()
105 int SHA512_Init(SHA512_CTX *sha) { in SHA512_Init()
123 SHA512_CTX ctx; in SHA384()
139 SHA512_CTX ctx; in SHA512()
159 int SHA384_Final(uint8_t *md, SHA512_CTX *sha) { in SHA384_Final()
163 int SHA384_Update(SHA512_CTX *sha, const void *data, size_t len) { in SHA384_Update()
167 void SHA512_Transform(SHA512_CTX *c, const uint8_t *data) { in SHA512_Transform()
177 int SHA512_Update(SHA512_CTX *c, const void *in_data, size_t len) { in SHA512_Update()
237 int SHA512_Final(uint8_t *md, SHA512_CTX *sha) { in SHA512_Final()
/external/boringssl/src/crypto/cipher/
Dtls_cbc.c252 SHA512_CTX *sha512 = ctx; in tls1_sha512_final_raw()
260 #define LARGEST_DIGEST_CTX SHA512_CTX
323 SHA384_Init((SHA512_CTX *)md_state.c); in EVP_tls_cbc_digest_record()
/external/boringssl/src/crypto/digest/
Ddigests.c193 128 /* block size */, sizeof(SHA512_CTX),
214 128 /* block size */, sizeof(SHA512_CTX),
/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/boringssl/src/crypto/bn/
Drandom.c250 SHA512_CTX sha; in BN_generate_dsa_nonce()
/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/crypto/curve25519/
Dcurve25519.c4628 SHA512_CTX hash_ctx; in ED25519_sign()
4668 SHA512_CTX hash_ctx; in ED25519_verify()