Home
last modified time | relevance | path

Searched refs:SHA_CTX (Results 1 – 24 of 24) sorted by relevance

/third_party/openssl/include/openssl/
Dsha.h39 } SHA_CTX; typedef
41 int SHA1_Init(SHA_CTX *c);
42 int SHA1_Update(SHA_CTX *c, const void *data, size_t len);
43 int SHA1_Final(unsigned char *md, SHA_CTX *c);
45 void SHA1_Transform(SHA_CTX *c, const unsigned char *data);
/third_party/boringssl/src/include/openssl/
Dsha.h77 OPENSSL_EXPORT int SHA1_Init(SHA_CTX *sha);
80 OPENSSL_EXPORT int SHA1_Update(SHA_CTX *sha, const void *data, size_t len);
85 OPENSSL_EXPORT int SHA1_Final(uint8_t out[SHA_DIGEST_LENGTH], SHA_CTX *sha);
96 OPENSSL_EXPORT void SHA1_Transform(SHA_CTX *sha,
Dbase.h413 typedef struct sha_state_st SHA_CTX; typedef
/third_party/openssl/doc/man3/
DSHA256_Init.pod14 int SHA1_Init(SHA_CTX *c);
15 int SHA1_Update(SHA_CTX *c, const void *data, size_t len);
16 int SHA1_Final(unsigned char *md, SHA_CTX *c);
61 SHA1_Init() initializes a B<SHA_CTX> structure.
67 for SHA_DIGEST_LENGTH == 20 bytes of output, and erases the B<SHA_CTX>.
71 B<SHA256_CTX> object instead of B<SHA_CTX>. SHA384 and SHA512 use B<SHA512_CTX>.
/third_party/openssl/crypto/sha/
Dsha1_one.c17 SHA_CTX c; in SHA1()
Dsha_local.h19 #define HASH_CTX SHA_CTX
40 static void sha1_block_data_order(SHA_CTX *c, const void *p, size_t num);
42 void sha1_block_data_order(SHA_CTX *c, const void *p, size_t num);
53 int HASH_INIT(SHA_CTX *c) in HASH_INIT()
136 static void HASH_BLOCK_DATA_ORDER(SHA_CTX *c, const void *p, size_t num) in HASH_BLOCK_DATA_ORDER()
370 static void HASH_BLOCK_DATA_ORDER(SHA_CTX *c, const void *p, size_t num) in HASH_BLOCK_DATA_ORDER()
/third_party/openssl/crypto/evp/
Dm_sha1.c40 SHA_CTX *sha1; in ctrl()
105 sizeof(EVP_MD *) + sizeof(SHA_CTX),
Dm_md5_sha1.c23 SHA_CTX sha1;
De_aes_cbc_hmac_sha1.c26 SHA_CTX head, tail, md;
55 SHA_CTX *ctx, const void *in0);
59 SHA_CTX *ctx, const void *in0);
97 static void sha1_update(SHA_CTX *c, const void *data, size_t len) in sha1_update()
/third_party/boringssl/src/crypto/fipsmodule/sha/
Dsha_test.cc25 SHA_CTX ctx; in TEST()
Dsha1.c67 int SHA1_Init(SHA_CTX *sha) { in SHA1_Init()
68 OPENSSL_memset(sha, 0, sizeof(SHA_CTX)); in SHA1_Init()
78 SHA_CTX ctx; in SHA1()
88 #define HASH_CTX SHA_CTX
/third_party/boringssl/src/crypto/fipsmodule/digest/
Ddigests.c146 out->ctx_size = sizeof(SHA_CTX); in DEFINE_METHOD_FUNCTION()
248 SHA_CTX sha1;
/third_party/openssl/test/
Drc4test.c98 SHA_CTX c; in test_rc_bulk()
/third_party/ltp/testcases/kernel/security/integrity/ima/src/
Dima_boot_aggregate.c68 SHA_CTX c; in main()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
Dfips_prf_openssl.c18 SHA_CTX context; in sha1_transform()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
Dfips_prf_openssl.c18 SHA_CTX context; in sha1_transform()
/third_party/openssl/ssl/
Ds3_cbc.c56 SHA_CTX *sha1 = ctx; in tls1_sha1_final_raw()
184 if (SHA1_Init((SHA_CTX *)md_state.c) <= 0) in ssl3_cbc_digest_record()
/third_party/boringssl/src/crypto/cipher_extra/
Dtls_cbc.c210 SHA_CTX sha1;
231 SHA_CTX *sha1 = &ctx->sha1; in tls1_sha1_final_raw()
/third_party/openssl/engines/
De_ossltest.c93 sizeof(EVP_MD *) + sizeof(SHA_CTX)) in digest_sha1()
485 #define data(ctx) ((SHA_CTX *)EVP_MD_CTX_md_data(ctx))
De_dasync.c230 sizeof(EVP_MD *) + sizeof(SHA_CTX)) in bind_dasync()
482 #define data(ctx) ((SHA_CTX *)EVP_MD_CTX_md_data(ctx))
/third_party/openssl/crypto/engine/
Deng_openssl.c343 sizeof(EVP_MD *) + sizeof(SHA_CTX)) in test_sha_md()
/third_party/openssl/util/
Dindent.pro372 -T SHA_CTX
/third_party/boringssl/src/
DAPI-CONVENTIONS.md176 A few types, such as `SHA_CTX`, are data-only types and do not require cleanup.
/third_party/python/Lib/lib2to3/tests/data/
Dinfinite_recursion.py1160 SHA_CTX = SHAstate_st variable