Home
last modified time | relevance | path

Searched refs:SHA256_CTX (Results 1 – 25 of 37) sorted by relevance

12

/freebsd/crypto/openssl/include/openssl/
H A Dsha.h67 } SHA256_CTX; typedef
69 OSSL_DEPRECATEDIN_3_0 int SHA224_Init(SHA256_CTX *c);
70 OSSL_DEPRECATEDIN_3_0 int SHA224_Update(SHA256_CTX *c,
72 OSSL_DEPRECATEDIN_3_0 int SHA224_Final(unsigned char *md, SHA256_CTX *c);
73 OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c);
74 OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c,
76 OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c);
77 OSSL_DEPRECATEDIN_3_0 void SHA256_Transform(SHA256_CTX *c,
/freebsd/sys/crypto/openssl/
H A Dossl_sha256.c21 void sha256_block_data_order(SHA256_CTX *c, const void *in, size_t num);
28 SHA256_CTX *c = c_; in ossl_sha224_init()
44 SHA256_CTX *c = c_; in ossl_sha256_init()
61 #define HASH_CTX SHA256_CTX
100 .ctxsize = sizeof(SHA256_CTX),
111 .ctxsize = sizeof(SHA256_CTX),
118 _Static_assert(sizeof(SHA256_CTX) <= sizeof(struct ossl_hash_context),
H A Dossl_sha.h17 #define SHA256_CTX OSSL_SHA256_CTX macro
44 } SHA256_CTX; typedef
/freebsd/sys/crypto/sha2/
H A Dsha256.h42 } SHA256_CTX; typedef
79 void SHA256_Init(SHA256_CTX *);
80 void SHA256_Update(SHA256_CTX *, const void *, size_t);
82 SHA256_CTX *);
84 char *SHA256_End(SHA256_CTX *, char *);
H A Dsha256c.c229 SHA256_Pad(SHA256_CTX * ctx) in SHA256_Pad()
258 SHA256_Init(SHA256_CTX * ctx) in SHA256_Init()
277 SHA256_Update(SHA256_CTX * ctx, const void *in, size_t len) in SHA256_Update()
320 SHA256_Final(unsigned char digest[static SHA256_DIGEST_LENGTH], SHA256_CTX *ctx) in SHA256_Final()
362 SHA256_Update((SHA256_CTX *)ctx, in, len); in SHA224_Update()
374 SHA256_Pad((SHA256_CTX *)ctx); in SHA224_Final()
/freebsd/libexec/flua/libhash/
H A Dlhash.c34 SHA256_CTX *ctx; in lua_sha256_update()
52 SHA256_CTX *ctx; in lua_sha256_digest()
69 SHA256_CTX *ctx; in lua_sha256_hexdigest()
96 SHA256_CTX *ctx; in lua_sha256_done()
112 SHA256_CTX *ctx; in lua_sha256()
/freebsd/crypto/openssl/doc/man3/
H A DSHA256_Init.pod28 int SHA224_Init(SHA256_CTX *c);
29 int SHA224_Update(SHA256_CTX *c, const void *data, size_t len);
30 int SHA224_Final(unsigned char *md, SHA256_CTX *c);
32 int SHA256_Init(SHA256_CTX *c);
33 int SHA256_Update(SHA256_CTX *c, const void *data, size_t len);
34 int SHA256_Final(unsigned char *md, SHA256_CTX *c);
76 B<SHA256_CTX> object instead of B<SHA_CTX>. SHA384 and SHA512 use B<SHA512_CTX>.
/freebsd/crypto/openssl/crypto/sha/
H A Dsha256.c26 int SHA224_Init(SHA256_CTX *c) in SHA224_Init()
41 int SHA256_Init(SHA256_CTX *c) in SHA256_Init()
56 int SHA224_Update(SHA256_CTX *c, const void *data, size_t len) in SHA224_Update()
61 int SHA224_Final(unsigned char *md, SHA256_CTX *c) in SHA224_Final()
69 #define HASH_CTX SHA256_CTX
108 void sha256_block_data_order(SHA256_CTX *ctx, const void *in, size_t num);
147 static void sha256_block_data_order(SHA256_CTX *ctx, const void *in, in sha256_block_data_order()
225 static void sha256_block_data_order(SHA256_CTX *ctx, const void *in, in sha256_block_data_order()
/freebsd/crypto/openssl/providers/implementations/digests/
H A Dsha2_prov.c67 IMPLEMENT_digest_functions(sha224, SHA256_CTX,
72 IMPLEMENT_digest_functions(sha256, SHA256_CTX,
/freebsd/sys/opencrypto/
H A Dxform_sha2.c79 .ctxsize = sizeof(SHA256_CTX),
128 .ctxsize = sizeof(SHA256_CTX),
H A Dxform_auth.h91 SHA256_CTX sha256ctx;
/freebsd/contrib/libarchive/libarchive/
H A Darchive_digest_private.h238 typedef SHA256_CTX archive_sha256_ctx;
240 typedef SHA256_CTX archive_sha256_ctx;
244 typedef SHA256_CTX archive_sha256_ctx;
/freebsd/sys/dev/qat/qat_api/qat_utils/src/
H A DQatUtilsCrypto.c48 SHA256_CTX ctx; in qatUtilsHashSHA256()
108 SHA256_CTX ctx; in qatUtilsHashSHA256Full()
/freebsd/sys/security/mac_veriexec/
H A Dmac_veriexec_sha256.c38 MAC_VERIEXEC_FPMOD(SHA256, SHA256_DIGEST_LENGTH, sizeof(SHA256_CTX),
/freebsd/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs.suppr6 name = SHA256_CTX
/freebsd/crypto/openssl/ssl/
H A Ds3_cbc.c118 SHA256_CTX *sha256 = ctx; in tls1_sha256_final_raw()
223 if (SHA224_Init((SHA256_CTX *)md_state.c) <= 0) in ssl3_cbc_digest_record()
230 if (SHA256_Init((SHA256_CTX *)md_state.c) <= 0) in ssl3_cbc_digest_record()
/freebsd/sys/dev/random/
H A Dhash.h48 SHA256_CTX sha;
/freebsd/crypto/openssl/providers/implementations/ciphers/
H A Dcipher_aes_cbc_hmac_sha.h60 SHA256_CTX head, tail, md;
/freebsd/lib/libcrypt/
H A Dcrypt-sha256.c68 SHA256_CTX ctx, alt_ctx; in crypt_sha256()
354 SHA256_CTX ctx; in main()
/freebsd/sbin/hastd/
H A Dhast_checksum.c62 SHA256_CTX ctx; in hast_sha256_checksum()
/freebsd/sys/geom/eli/
H A Dg_eli_hmac.c142 SHA256_CTX ctx; in g_eli_crypto_ivgen()
H A Dg_eli.h201 SHA256_CTX sc_akeyctx;
203 SHA256_CTX sc_ivctx;
/freebsd/contrib/netbsd-tests/lib/libc/hash/
H A Dt_sha2.c173 SHA256_CTX ctx; in ATF_TC_BODY()
/freebsd/sys/libkern/
H A Darc4random.c93 SHA256_CTX ctx; in chacha20_randomstir()
/freebsd/crypto/openssl/crypto/evp/
H A De_aes_cbc_hmac_sha256.c33 SHA256_CTX head, tail, md;
61 SHA256_CTX *ctx, const void *in0);
98 static void sha256_update(SHA256_CTX *c, const void *data, size_t len) in sha256_update()

12