/third_party/musl/src/crypt/ |
H A D | crypt_sha512.c | 139 static void sha512_sum(struct sha512 *s, uint8_t *md) in sha512_sum() argument 145 md[8*i] = s->h[i] >> 56; in sha512_sum() 146 md[8*i+1] = s->h[i] >> 48; in sha512_sum() 147 md[8*i+2] = s->h[i] >> 40; in sha512_sum() 148 md[8*i+3] = s->h[i] >> 32; in sha512_sum() 149 md[8*i+4] = s->h[i] >> 24; in sha512_sum() 150 md[8*i+5] = s->h[i] >> 16; in sha512_sum() 151 md[8*i+6] = s->h[i] >> 8; in sha512_sum() 152 md[8*i+7] = s->h[i]; in sha512_sum() 198 /* hash n bytes of the repeated md messag 199 hashmd(struct sha512 *s, unsigned int n, const void *md) hashmd() argument 211 unsigned char md[64], kmd[64], smd[64]; sha512crypt() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
H A D | sha256-internal.c | 84 static int sha256_compress(struct sha256_state *md, unsigned char *buf) in sha256_compress() argument 92 S[i] = md->state[i]; in sha256_compress() 120 md->state[i] = md->state[i] + S[i]; in sha256_compress() 127 void sha256_init(struct sha256_state *md) in sha256_init() argument 129 md->curlen = 0; in sha256_init() 130 md->length = 0; in sha256_init() 131 md->state[0] = 0x6A09E667UL; in sha256_init() 132 md->state[1] = 0xBB67AE85UL; in sha256_init() 133 md in sha256_init() 148 sha256_process(struct sha256_state *md, const unsigned char *in, unsigned long inlen) sha256_process() argument 188 sha256_done(struct sha256_state *md, unsigned char *out) sha256_done() argument [all...] |
H A D | sha512-internal.c | 110 static int sha512_compress(struct sha512_state *md, unsigned char *buf) in sha512_compress() argument 122 S[i] = md->state[i]; in sha512_compress() 151 md->state[i] = md->state[i] + S[i]; in sha512_compress() 161 @param md The hash state you wish to initialize 164 void sha512_init(struct sha512_state *md) in sha512_init() argument 166 md->curlen = 0; in sha512_init() 167 md->length = 0; in sha512_init() 168 md->state[0] = CONST64(0x6a09e667f3bcc908); in sha512_init() 169 md in sha512_init() 186 sha512_process(struct sha512_state *md, const unsigned char *in, unsigned long inlen) sha512_process() argument 226 sha512_done(struct sha512_state *md, unsigned char *out) sha512_done() argument [all...] |
H A D | sha384-internal.c | 49 @param md The hash state you wish to initialize 52 void sha384_init(struct sha384_state *md) in sha384_init() argument 54 md->curlen = 0; in sha384_init() 55 md->length = 0; in sha384_init() 56 md->state[0] = CONST64(0xcbbb9d5dc1059ed8); in sha384_init() 57 md->state[1] = CONST64(0x629a292a367cd507); in sha384_init() 58 md->state[2] = CONST64(0x9159015a3070dd17); in sha384_init() 59 md->state[3] = CONST64(0x152fecd8f70e5939); in sha384_init() 60 md->state[4] = CONST64(0x67332667ffc00b31); in sha384_init() 61 md in sha384_init() 66 sha384_process(struct sha384_state *md, const unsigned char *in, unsigned long inlen) sha384_process() argument 78 sha384_done(struct sha384_state *md, unsigned char *out) sha384_done() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/ |
H A D | sha256-internal.c | 84 static int sha256_compress(struct sha256_state *md, unsigned char *buf) in sha256_compress() argument 92 S[i] = md->state[i]; in sha256_compress() 120 md->state[i] = md->state[i] + S[i]; in sha256_compress() 127 void sha256_init(struct sha256_state *md) in sha256_init() argument 129 md->curlen = 0; in sha256_init() 130 md->length = 0; in sha256_init() 131 md->state[0] = 0x6A09E667UL; in sha256_init() 132 md->state[1] = 0xBB67AE85UL; in sha256_init() 133 md in sha256_init() 148 sha256_process(struct sha256_state *md, const unsigned char *in, unsigned long inlen) sha256_process() argument 188 sha256_done(struct sha256_state *md, unsigned char *out) sha256_done() argument [all...] |
H A D | sha512-internal.c | 110 static int sha512_compress(struct sha512_state *md, unsigned char *buf) in sha512_compress() argument 122 S[i] = md->state[i]; in sha512_compress() 151 md->state[i] = md->state[i] + S[i]; in sha512_compress() 161 @param md The hash state you wish to initialize 164 void sha512_init(struct sha512_state *md) in sha512_init() argument 166 md->curlen = 0; in sha512_init() 167 md->length = 0; in sha512_init() 168 md->state[0] = CONST64(0x6a09e667f3bcc908); in sha512_init() 169 md in sha512_init() 186 sha512_process(struct sha512_state *md, const unsigned char *in, unsigned long inlen) sha512_process() argument 226 sha512_done(struct sha512_state *md, unsigned char *out) sha512_done() argument [all...] |
H A D | sha384-internal.c | 49 @param md The hash state you wish to initialize 52 void sha384_init(struct sha384_state *md) in sha384_init() argument 54 md->curlen = 0; in sha384_init() 55 md->length = 0; in sha384_init() 56 md->state[0] = CONST64(0xcbbb9d5dc1059ed8); in sha384_init() 57 md->state[1] = CONST64(0x629a292a367cd507); in sha384_init() 58 md->state[2] = CONST64(0x9159015a3070dd17); in sha384_init() 59 md->state[3] = CONST64(0x152fecd8f70e5939); in sha384_init() 60 md->state[4] = CONST64(0x67332667ffc00b31); in sha384_init() 61 md in sha384_init() 66 sha384_process(struct sha384_state *md, const unsigned char *in, unsigned long inlen) sha384_process() argument 78 sha384_done(struct sha384_state *md, unsigned char *out) sha384_done() argument [all...] |
/third_party/node/deps/openssl/openssl/crypto/sha/ |
H A D | sha1_one.c | 23 unsigned char *ossl_sha1(const unsigned char *d, size_t n, unsigned char *md) in ossl_sha1() argument 28 if (md == NULL) in ossl_sha1() 29 md = m; in ossl_sha1() 33 SHA1_Final(md, &c); in ossl_sha1() 35 return md; in ossl_sha1() 38 unsigned char *SHA1(const unsigned char *d, size_t n, unsigned char *md) in SHA1() argument 42 if (md == NULL) in SHA1() 43 md = m; in SHA1() 44 return EVP_Q_digest(NULL, "SHA1", NULL, d, n, md, NULL) ? md in SHA1() 47 SHA224(const unsigned char *d, size_t n, unsigned char *md) SHA224() argument 56 SHA256(const unsigned char *d, size_t n, unsigned char *md) SHA256() argument 65 SHA384(const unsigned char *d, size_t n, unsigned char *md) SHA384() argument 74 SHA512(const unsigned char *d, size_t n, unsigned char *md) SHA512() argument [all...] |
/third_party/openssl/crypto/sha/ |
H A D | sha1_one.c | 23 unsigned char *ossl_sha1(const unsigned char *d, size_t n, unsigned char *md) in ossl_sha1() argument 28 if (md == NULL) in ossl_sha1() 29 md = m; in ossl_sha1() 33 SHA1_Final(md, &c); in ossl_sha1() 35 return md; in ossl_sha1() 38 unsigned char *SHA1(const unsigned char *d, size_t n, unsigned char *md) in SHA1() argument 42 if (md == NULL) in SHA1() 43 md = m; in SHA1() 44 return EVP_Q_digest(NULL, "SHA1", NULL, d, n, md, NULL) ? md in SHA1() 47 SHA224(const unsigned char *d, size_t n, unsigned char *md) SHA224() argument 56 SHA256(const unsigned char *d, size_t n, unsigned char *md) SHA256() argument 65 SHA384(const unsigned char *d, size_t n, unsigned char *md) SHA384() argument 74 SHA512(const unsigned char *d, size_t n, unsigned char *md) SHA512() argument [all...] |
/third_party/node/deps/openssl/openssl/engines/ |
H A D | e_ossltest.c | 66 static int digest_md5_final(EVP_MD_CTX *ctx, unsigned char *md); 72 EVP_MD *md; in digest_md5() local 74 if ((md = EVP_MD_meth_new(NID_md5, NID_md5WithRSAEncryption)) == NULL in digest_md5() 75 || !EVP_MD_meth_set_result_size(md, MD5_DIGEST_LENGTH) in digest_md5() 76 || !EVP_MD_meth_set_input_blocksize(md, MD5_CBLOCK) in digest_md5() 77 || !EVP_MD_meth_set_app_datasize(md, in digest_md5() 79 || !EVP_MD_meth_set_flags(md, 0) in digest_md5() 80 || !EVP_MD_meth_set_init(md, digest_md5_init) in digest_md5() 81 || !EVP_MD_meth_set_update(md, digest_md5_update) in digest_md5() 82 || !EVP_MD_meth_set_final(md, digest_md5_fina in digest_md5() 101 EVP_MD *md; digest_sha1() local 130 EVP_MD *md; digest_sha256() local 164 EVP_MD *md; digest_sha384() local 186 EVP_MD *md; digest_sha512() local 224 const EVP_MD *md; ossltest_digest_nids() local 554 fill_known_data(unsigned char *md, unsigned int len) fill_known_data() argument 580 digest_md5_final(EVP_MD_CTX *ctx, unsigned char *md) digest_md5_final() argument 604 digest_sha1_final(EVP_MD_CTX *ctx, unsigned char *md) digest_sha1_final() argument 628 digest_sha256_final(EVP_MD_CTX *ctx, unsigned char *md) digest_sha256_final() argument 652 digest_sha384_final(EVP_MD_CTX *ctx, unsigned char *md) digest_sha384_final() argument 676 digest_sha512_final(EVP_MD_CTX *ctx, unsigned char *md) digest_sha512_final() argument [all...] |
/third_party/openssl/engines/ |
H A D | e_ossltest.c | 66 static int digest_md5_final(EVP_MD_CTX *ctx, unsigned char *md); 72 EVP_MD *md; in digest_md5() local 74 if ((md = EVP_MD_meth_new(NID_md5, NID_md5WithRSAEncryption)) == NULL in digest_md5() 75 || !EVP_MD_meth_set_result_size(md, MD5_DIGEST_LENGTH) in digest_md5() 76 || !EVP_MD_meth_set_input_blocksize(md, MD5_CBLOCK) in digest_md5() 77 || !EVP_MD_meth_set_app_datasize(md, in digest_md5() 79 || !EVP_MD_meth_set_flags(md, 0) in digest_md5() 80 || !EVP_MD_meth_set_init(md, digest_md5_init) in digest_md5() 81 || !EVP_MD_meth_set_update(md, digest_md5_update) in digest_md5() 82 || !EVP_MD_meth_set_final(md, digest_md5_fina in digest_md5() 101 EVP_MD *md; digest_sha1() local 130 EVP_MD *md; digest_sha256() local 164 EVP_MD *md; digest_sha384() local 186 EVP_MD *md; digest_sha512() local 224 const EVP_MD *md; ossltest_digest_nids() local 554 fill_known_data(unsigned char *md, unsigned int len) fill_known_data() argument 580 digest_md5_final(EVP_MD_CTX *ctx, unsigned char *md) digest_md5_final() argument 604 digest_sha1_final(EVP_MD_CTX *ctx, unsigned char *md) digest_sha1_final() argument 628 digest_sha256_final(EVP_MD_CTX *ctx, unsigned char *md) digest_sha256_final() argument 652 digest_sha384_final(EVP_MD_CTX *ctx, unsigned char *md) digest_sha384_final() argument 676 digest_sha512_final(EVP_MD_CTX *ctx, unsigned char *md) digest_sha512_final() argument [all...] |
/third_party/libexif/libexif/apple/ |
H A D | exif-mnote-data-apple.c | 32 exif_mnote_data_apple_free(ExifMnoteData *md) { in exif_mnote_data_apple_free() argument 33 ExifMnoteDataApple *d = (ExifMnoteDataApple *) md; in exif_mnote_data_apple_free() 45 exif_mem_free(md->mem, d->entries[i].data); in exif_mnote_data_apple_free() 48 exif_mem_free(md->mem, d->entries); in exif_mnote_data_apple_free() 57 exif_mnote_data_apple_load(ExifMnoteData *md, const unsigned char *buf, unsigned int buf_size) { in exif_mnote_data_apple_load() argument 58 ExifMnoteDataApple *d = (ExifMnoteDataApple *) md; in exif_mnote_data_apple_load() 66 exif_log(md->log, EXIF_LOG_CODE_CORRUPT_DATA, in exif_mnote_data_apple_load() 74 exif_log(md->log, EXIF_LOG_CODE_CORRUPT_DATA, in exif_mnote_data_apple_load() 84 exif_log(md->log, EXIF_LOG_CODE_CORRUPT_DATA, in exif_mnote_data_apple_load() 94 exif_log(md in exif_mnote_data_apple_load() 167 exif_mnote_data_apple_set_offset(ExifMnoteData *md, unsigned int o) exif_mnote_data_apple_set_offset() argument 201 exif_mnote_data_apple_count(ExifMnoteData *md) exif_mnote_data_apple_count() argument 208 exif_mnote_data_apple_get_id(ExifMnoteData *md, unsigned int i) exif_mnote_data_apple_get_id() argument 219 exif_mnote_data_apple_get_name(ExifMnoteData *md, unsigned int i) exif_mnote_data_apple_get_name() argument 230 exif_mnote_data_apple_get_title(ExifMnoteData *md, unsigned int i) exif_mnote_data_apple_get_title() argument 241 exif_mnote_data_apple_get_description(ExifMnoteData *md, unsigned int i) exif_mnote_data_apple_get_description() argument 252 exif_mnote_data_apple_get_value(ExifMnoteData *md, unsigned int i, char *val, unsigned int maxlen) exif_mnote_data_apple_get_value() argument 274 ExifMnoteData *md; exif_mnote_data_apple_new() local [all...] |
/third_party/node/deps/openssl/openssl/crypto/evp/ |
H A D | evp_lib.c | 731 int EVP_MD_is_a(const EVP_MD *md, const char *name) in EVP_MD_is_a() argument 733 if (md == NULL) in EVP_MD_is_a() 735 if (md->prov != NULL) in EVP_MD_is_a() 736 return evp_is_a(md->prov, md->name_id, NULL, name); in EVP_MD_is_a() 737 return evp_is_a(NULL, 0, EVP_MD_get0_name(md), name); in EVP_MD_is_a() 740 int evp_md_get_number(const EVP_MD *md) in evp_md_get_number() argument 742 return md->name_id; in evp_md_get_number() 745 const char *EVP_MD_get0_description(const EVP_MD *md) in EVP_MD_get0_description() argument 747 if (md in EVP_MD_get0_description() 756 EVP_MD_get0_name(const EVP_MD *md) EVP_MD_get0_name() argument 769 EVP_MD_names_do_all(const EVP_MD *md, void (*fn)(const char *name, void *data), void *data) EVP_MD_names_do_all() argument 779 EVP_MD_get0_provider(const EVP_MD *md) EVP_MD_get0_provider() argument 784 EVP_MD_get_type(const EVP_MD *md) EVP_MD_get_type() argument 789 EVP_MD_get_pkey_type(const EVP_MD *md) EVP_MD_get_pkey_type() argument 794 EVP_MD_get_block_size(const EVP_MD *md) EVP_MD_get_block_size() argument 803 EVP_MD_get_size(const EVP_MD *md) EVP_MD_get_size() argument 812 EVP_MD_get_flags(const EVP_MD *md) EVP_MD_get_flags() argument 819 EVP_MD *md = evp_md_new(); EVP_MD_meth_new() local 829 EVP_MD_meth_dup(const EVP_MD *md) EVP_MD_meth_dup() argument 850 evp_md_free_int(EVP_MD *md) evp_md_free_int() argument 858 EVP_MD_meth_free(EVP_MD *md) EVP_MD_meth_free() argument 866 EVP_MD_meth_set_input_blocksize(EVP_MD *md, int blocksize) EVP_MD_meth_set_input_blocksize() argument 874 EVP_MD_meth_set_result_size(EVP_MD *md, int resultsize) EVP_MD_meth_set_result_size() argument 882 EVP_MD_meth_set_app_datasize(EVP_MD *md, int datasize) EVP_MD_meth_set_app_datasize() argument 890 EVP_MD_meth_set_flags(EVP_MD *md, unsigned long flags) EVP_MD_meth_set_flags() argument 898 EVP_MD_meth_set_init(EVP_MD *md, int (*init)(EVP_MD_CTX *ctx)) EVP_MD_meth_set_init() argument 906 EVP_MD_meth_set_update(EVP_MD *md, int (*update)(EVP_MD_CTX *ctx, const void *data, size_t count)) EVP_MD_meth_set_update() argument 916 EVP_MD_meth_set_final(EVP_MD *md, int (*final)(EVP_MD_CTX *ctx, unsigned char *md)) EVP_MD_meth_set_final() argument 925 EVP_MD_meth_set_copy(EVP_MD *md, int (*copy)(EVP_MD_CTX *to, const EVP_MD_CTX *from)) EVP_MD_meth_set_copy() argument 934 EVP_MD_meth_set_cleanup(EVP_MD *md, int (*cleanup)(EVP_MD_CTX *ctx)) EVP_MD_meth_set_cleanup() argument 942 EVP_MD_meth_set_ctrl(EVP_MD *md, int (*ctrl)(EVP_MD_CTX *ctx, int cmd, int p1, void *p2)) EVP_MD_meth_set_ctrl() argument 952 EVP_MD_meth_get_input_blocksize(const EVP_MD *md) EVP_MD_meth_get_input_blocksize() argument 956 EVP_MD_meth_get_result_size(const EVP_MD *md) EVP_MD_meth_get_result_size() argument 960 EVP_MD_meth_get_app_datasize(const EVP_MD *md) EVP_MD_meth_get_app_datasize() argument 964 EVP_MD_meth_get_flags(const EVP_MD *md) EVP_MD_meth_get_flags() argument 968 EVP_MD_meth_get_init(const EVP_MD *md) EVP_MD_meth_get_init() argument 972 EVP_MD_meth_get_update(const EVP_MD *md) EVP_MD_meth_get_update() argument 978 EVP_MD_meth_get_final(const EVP_MD *md) EVP_MD_meth_get_final() argument 983 EVP_MD_meth_get_copy(const EVP_MD *md) EVP_MD_meth_get_copy() argument 988 EVP_MD_meth_get_cleanup(const EVP_MD *md) EVP_MD_meth_get_cleanup() argument 992 EVP_MD_meth_get_ctrl(const EVP_MD *md) EVP_MD_meth_get_ctrl() argument 1016 EVP_MD *md; EVP_MD_CTX_get1_md() local [all...] |
H A D | digest.c | 416 int EVP_DigestFinal(EVP_MD_CTX *ctx, unsigned char *md, unsigned int *size) in EVP_DigestFinal() argument 419 ret = EVP_DigestFinal_ex(ctx, md, size); in EVP_DigestFinal() 425 int EVP_DigestFinal_ex(EVP_MD_CTX *ctx, unsigned char *md, unsigned int *isize) in EVP_DigestFinal_ex() argument 446 ret = ctx->digest->dfinal(ctx->algctx, md, &size, mdsize); in EVP_DigestFinal_ex() 462 ret = ctx->digest->final(ctx, md); in EVP_DigestFinal_ex() 473 int EVP_DigestFinalXOF(EVP_MD_CTX *ctx, unsigned char *md, size_t size) in EVP_DigestFinalXOF() argument 496 ret = ctx->digest->dfinal(ctx->algctx, md, &size, size); in EVP_DigestFinalXOF() 504 ret = ctx->digest->final(ctx, md); in EVP_DigestFinalXOF() 647 unsigned char *md, unsigned int *size, const EVP_MD *type, in EVP_Digest() 658 && EVP_DigestFinal_ex(ctx, md, siz in EVP_Digest() 646 EVP_Digest(const void *data, size_t count, unsigned char *md, unsigned int *size, const EVP_MD *type, ENGINE *impl) EVP_Digest() argument 664 EVP_Q_digest(OSSL_LIB_CTX *libctx, const char *name, const char *propq, const void *data, size_t datalen, unsigned char *md, size_t *mdlen) EVP_Q_digest() argument 715 EVP_MD_settable_ctx_params(const EVP_MD *md) EVP_MD_settable_ctx_params() argument 771 EVP_MD_gettable_ctx_params(const EVP_MD *md) EVP_MD_gettable_ctx_params() argument 863 EVP_MD *md = OPENSSL_zalloc(sizeof(*md)); evp_md_new() local 907 evp_md_cache_constants(EVP_MD *md) evp_md_cache_constants() argument 939 EVP_MD *md = NULL; evp_md_from_algorithm() local 1059 evp_md_up_ref(void *md) evp_md_up_ref() argument 1064 evp_md_free(void *md) evp_md_free() argument 1072 EVP_MD *md = EVP_MD_fetch() local 1079 EVP_MD_up_ref(EVP_MD *md) EVP_MD_up_ref() argument 1088 EVP_MD_free(EVP_MD *md) EVP_MD_free() argument [all...] |
/third_party/openssl/crypto/evp/ |
H A D | evp_lib.c | 731 int EVP_MD_is_a(const EVP_MD *md, const char *name) in EVP_MD_is_a() argument 733 if (md == NULL) in EVP_MD_is_a() 735 if (md->prov != NULL) in EVP_MD_is_a() 736 return evp_is_a(md->prov, md->name_id, NULL, name); in EVP_MD_is_a() 737 return evp_is_a(NULL, 0, EVP_MD_get0_name(md), name); in EVP_MD_is_a() 740 int evp_md_get_number(const EVP_MD *md) in evp_md_get_number() argument 742 return md->name_id; in evp_md_get_number() 745 const char *EVP_MD_get0_description(const EVP_MD *md) in EVP_MD_get0_description() argument 747 if (md in EVP_MD_get0_description() 756 EVP_MD_get0_name(const EVP_MD *md) EVP_MD_get0_name() argument 769 EVP_MD_names_do_all(const EVP_MD *md, void (*fn)(const char *name, void *data), void *data) EVP_MD_names_do_all() argument 779 EVP_MD_get0_provider(const EVP_MD *md) EVP_MD_get0_provider() argument 784 EVP_MD_get_type(const EVP_MD *md) EVP_MD_get_type() argument 789 EVP_MD_get_pkey_type(const EVP_MD *md) EVP_MD_get_pkey_type() argument 794 EVP_MD_get_block_size(const EVP_MD *md) EVP_MD_get_block_size() argument 803 EVP_MD_get_size(const EVP_MD *md) EVP_MD_get_size() argument 812 EVP_MD_get_flags(const EVP_MD *md) EVP_MD_get_flags() argument 819 EVP_MD *md = evp_md_new(); EVP_MD_meth_new() local 829 EVP_MD_meth_dup(const EVP_MD *md) EVP_MD_meth_dup() argument 850 evp_md_free_int(EVP_MD *md) evp_md_free_int() argument 858 EVP_MD_meth_free(EVP_MD *md) EVP_MD_meth_free() argument 866 EVP_MD_meth_set_input_blocksize(EVP_MD *md, int blocksize) EVP_MD_meth_set_input_blocksize() argument 874 EVP_MD_meth_set_result_size(EVP_MD *md, int resultsize) EVP_MD_meth_set_result_size() argument 882 EVP_MD_meth_set_app_datasize(EVP_MD *md, int datasize) EVP_MD_meth_set_app_datasize() argument 890 EVP_MD_meth_set_flags(EVP_MD *md, unsigned long flags) EVP_MD_meth_set_flags() argument 898 EVP_MD_meth_set_init(EVP_MD *md, int (*init)(EVP_MD_CTX *ctx)) EVP_MD_meth_set_init() argument 906 EVP_MD_meth_set_update(EVP_MD *md, int (*update)(EVP_MD_CTX *ctx, const void *data, size_t count)) EVP_MD_meth_set_update() argument 916 EVP_MD_meth_set_final(EVP_MD *md, int (*final)(EVP_MD_CTX *ctx, unsigned char *md)) EVP_MD_meth_set_final() argument 925 EVP_MD_meth_set_copy(EVP_MD *md, int (*copy)(EVP_MD_CTX *to, const EVP_MD_CTX *from)) EVP_MD_meth_set_copy() argument 934 EVP_MD_meth_set_cleanup(EVP_MD *md, int (*cleanup)(EVP_MD_CTX *ctx)) EVP_MD_meth_set_cleanup() argument 942 EVP_MD_meth_set_ctrl(EVP_MD *md, int (*ctrl)(EVP_MD_CTX *ctx, int cmd, int p1, void *p2)) EVP_MD_meth_set_ctrl() argument 952 EVP_MD_meth_get_input_blocksize(const EVP_MD *md) EVP_MD_meth_get_input_blocksize() argument 956 EVP_MD_meth_get_result_size(const EVP_MD *md) EVP_MD_meth_get_result_size() argument 960 EVP_MD_meth_get_app_datasize(const EVP_MD *md) EVP_MD_meth_get_app_datasize() argument 964 EVP_MD_meth_get_flags(const EVP_MD *md) EVP_MD_meth_get_flags() argument 968 EVP_MD_meth_get_init(const EVP_MD *md) EVP_MD_meth_get_init() argument 972 EVP_MD_meth_get_update(const EVP_MD *md) EVP_MD_meth_get_update() argument 978 EVP_MD_meth_get_final(const EVP_MD *md) EVP_MD_meth_get_final() argument 983 EVP_MD_meth_get_copy(const EVP_MD *md) EVP_MD_meth_get_copy() argument 988 EVP_MD_meth_get_cleanup(const EVP_MD *md) EVP_MD_meth_get_cleanup() argument 992 EVP_MD_meth_get_ctrl(const EVP_MD *md) EVP_MD_meth_get_ctrl() argument 1016 EVP_MD *md; EVP_MD_CTX_get1_md() local [all...] |
H A D | digest.c | 416 int EVP_DigestFinal(EVP_MD_CTX *ctx, unsigned char *md, unsigned int *size) in EVP_DigestFinal() argument 419 ret = EVP_DigestFinal_ex(ctx, md, size); in EVP_DigestFinal() 425 int EVP_DigestFinal_ex(EVP_MD_CTX *ctx, unsigned char *md, unsigned int *isize) in EVP_DigestFinal_ex() argument 446 ret = ctx->digest->dfinal(ctx->algctx, md, &size, mdsize); in EVP_DigestFinal_ex() 462 ret = ctx->digest->final(ctx, md); in EVP_DigestFinal_ex() 473 int EVP_DigestFinalXOF(EVP_MD_CTX *ctx, unsigned char *md, size_t size) in EVP_DigestFinalXOF() argument 496 ret = ctx->digest->dfinal(ctx->algctx, md, &size, size); in EVP_DigestFinalXOF() 504 ret = ctx->digest->final(ctx, md); in EVP_DigestFinalXOF() 647 unsigned char *md, unsigned int *size, const EVP_MD *type, in EVP_Digest() 658 && EVP_DigestFinal_ex(ctx, md, siz in EVP_Digest() 646 EVP_Digest(const void *data, size_t count, unsigned char *md, unsigned int *size, const EVP_MD *type, ENGINE *impl) EVP_Digest() argument 664 EVP_Q_digest(OSSL_LIB_CTX *libctx, const char *name, const char *propq, const void *data, size_t datalen, unsigned char *md, size_t *mdlen) EVP_Q_digest() argument 715 EVP_MD_settable_ctx_params(const EVP_MD *md) EVP_MD_settable_ctx_params() argument 771 EVP_MD_gettable_ctx_params(const EVP_MD *md) EVP_MD_gettable_ctx_params() argument 863 EVP_MD *md = OPENSSL_zalloc(sizeof(*md)); evp_md_new() local 907 evp_md_cache_constants(EVP_MD *md) evp_md_cache_constants() argument 939 EVP_MD *md = NULL; evp_md_from_algorithm() local 1059 evp_md_up_ref(void *md) evp_md_up_ref() argument 1064 evp_md_free(void *md) evp_md_free() argument 1072 EVP_MD *md = EVP_MD_fetch() local 1079 EVP_MD_up_ref(EVP_MD *md) EVP_MD_up_ref() argument 1088 EVP_MD_free(EVP_MD *md) EVP_MD_free() argument [all...] |
/third_party/node/deps/openssl/openssl/crypto/hmac/ |
H A D | hmac.c | 26 const EVP_MD *md, ENGINE *impl) in HMAC_Init_ex() 35 if (md != NULL && md != ctx->md && (key == NULL || len < 0)) in HMAC_Init_ex() 38 if (md != NULL) in HMAC_Init_ex() 39 ctx->md = md; in HMAC_Init_ex() 40 else if (ctx->md != NULL) in HMAC_Init_ex() 41 md = ctx->md; in HMAC_Init_ex() 25 HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, const EVP_MD *md, ENGINE *impl) HMAC_Init_ex() argument 102 HMAC_Init(HMAC_CTX *ctx, const void *key, int len, const EVP_MD *md) HMAC_Init() argument 117 HMAC_Final(HMAC_CTX *ctx, unsigned char *md, unsigned int *len) HMAC_Final() argument 221 HMAC(const EVP_MD *evp_md, const void *key, int key_len, const unsigned char *data, size_t data_len, unsigned char *md, unsigned int *md_len) HMAC() argument [all...] |
/third_party/openssl/crypto/hmac/ |
H A D | hmac.c | 26 const EVP_MD *md, ENGINE *impl) in HMAC_Init_ex() 35 if (md != NULL && md != ctx->md && (key == NULL || len < 0)) in HMAC_Init_ex() 38 if (md != NULL) in HMAC_Init_ex() 39 ctx->md = md; in HMAC_Init_ex() 40 else if (ctx->md != NULL) in HMAC_Init_ex() 41 md = ctx->md; in HMAC_Init_ex() 25 HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, const EVP_MD *md, ENGINE *impl) HMAC_Init_ex() argument 102 HMAC_Init(HMAC_CTX *ctx, const void *key, int len, const EVP_MD *md) HMAC_Init() argument 117 HMAC_Final(HMAC_CTX *ctx, unsigned char *md, unsigned int *len) HMAC_Final() argument 221 HMAC(const EVP_MD *evp_md, const void *key, int key_len, const unsigned char *data, size_t data_len, unsigned char *md, unsigned int *md_len) HMAC() argument [all...] |
/third_party/f2fs-tools/tools/ |
H A D | sha512.c | 134 static void sha512_compress(struct hash_state * md, const unsigned char *buf) in sha512_compress() argument 141 S[i] = md->sha512.state[i]; in sha512_compress() 168 md->sha512.state[i] = md->sha512.state[i] + S[i]; in sha512_compress() 172 static void sha512_init(struct hash_state * md) in sha512_init() argument 174 md->sha512.curlen = 0; in sha512_init() 175 md->sha512.length = 0; in sha512_init() 176 md->sha512.state[0] = CONST64(0x6a09e667f3bcc908); in sha512_init() 177 md->sha512.state[1] = CONST64(0xbb67ae8584caa73b); in sha512_init() 178 md in sha512_init() 186 sha512_done(struct hash_state * md, unsigned char *out) sha512_done() argument 225 sha512_process(struct hash_state * md, const unsigned char *in, unsigned long inlen) sha512_process() argument 256 struct hash_state md; f2fs_sha512() local 305 struct hash_state md; main() local [all...] |
/third_party/backends/backend/ |
H A D | microtek2.c | 231 Microtek2_Device *md; in sane_get_devices() local 270 md = md_first_dev; in sane_get_devices() 271 while ( md ) in sane_get_devices() 273 status = attach(md); in sane_get_devices() 278 md = md->next; in sane_get_devices() 283 status = scsi_test_unit_ready(md); in sane_get_devices() 288 md = md->next; in sane_get_devices() 292 sd_list[index] = &md in sane_get_devices() 309 Microtek2_Device *md; sane_get_parameters() local 450 Microtek2_Device *md; sane_init() local 507 Microtek2_Device *md; sane_open() local 688 Microtek2_Device *md; add_device_list() local 755 attach(Microtek2_Device *md) attach() argument 867 Microtek2_Device *md; attach_one() local 1132 check_inquiry(Microtek2_Device *md, SANE_String *model_string) check_inquiry() argument 2013 Microtek2_Device *md; init_options() local 2848 Microtek2_Device *md; set_option_dependencies() local 3020 Microtek2_Device *md; sane_control_option() local 3706 Microtek2_Device *md; calculate_sane_params() local 3753 Microtek2_Device *md; get_calib_params() local 3820 Microtek2_Device *md; get_scan_parameters() local 4020 Microtek2_Device *md; get_scan_mode_and_depth() local 4615 Microtek2_Device *md; scsi_read_image_info() local 4723 Microtek2_Device *md; scsi_read_image_status() local 4888 scsi_read_system_status(Microtek2_Device *md, int fd) scsi_read_system_status() argument 5004 scsi_send_system_status(Microtek2_Device *md, int fd) scsi_send_system_status() argument 5222 scsi_test_unit_ready(Microtek2_Device *md) scsi_test_unit_ready() argument 5258 Microtek2_Device *md; sane_start() local 5519 Microtek2_Device *md; prepare_buffers() local 5647 Microtek2_Device *md; write_shading_buf_pnm() local 5728 Microtek2_Device *md; write_shading_pnm() local 5813 Microtek2_Device *md; write_cshading_pnm() local 5880 Microtek2_Device *md; condense_shading() local 6046 Microtek2_Device *md; read_shading_image() local 6360 Microtek2_Device *md; prepare_shading_data() local 6551 Microtek2_Device *md; read_cx_shading() local 6590 Microtek2_Device *md; read_cx_shading_image() local 6671 Microtek2_Device *md; calc_cx_shading_line() local 6861 Microtek2_Device *md; calculate_gamma() local 6987 Microtek2_Device *md; shading_function() local 7067 Microtek2_Device *md; set_exposure() local 7150 Microtek2_Device *md; reader_process() local 7277 Microtek2_Device *md; chunky_proc_data() local 7343 Microtek2_Device *md; chunky_copy_pixels() local 7395 Microtek2_Device *md; segreg_proc_data() local 7537 Microtek2_Device *md; segreg_copy_pixels() local 7676 Microtek2_Device *md; lplconcat_proc_data() local 7740 Microtek2_Device *md; lplconcat_copy_pixels() local 7952 Microtek2_Device *md; gray_proc_data() local 7999 Microtek2_Device *md; gray_copy_pixels() local 8099 Microtek2_Device *md; proc_onebit_data() local 8186 Microtek2_Device *md; lineartfake_proc_data() local 8233 Microtek2_Device *md; lineartfake_copy_pixels() local 8305 Microtek2_Device *md; auto_adjust_proc_data() local 8364 Microtek2_Device *md; get_cshading_values() local [all...] |
/third_party/curl/lib/ |
H A D | sha256.c | 347 static int sha256_compress(struct sha256_state *md, in sha256_compress() argument 355 S[i] = md->state[i]; in sha256_compress() 384 md->state[i] = md->state[i] + S[i]; in sha256_compress() 391 static CURLcode my_sha256_init(struct sha256_state *md) in my_sha256_init() argument 393 md->curlen = 0; in my_sha256_init() 394 md->length = 0; in my_sha256_init() 395 md->state[0] = 0x6A09E667UL; in my_sha256_init() 396 md->state[1] = 0xBB67AE85UL; in my_sha256_init() 397 md in my_sha256_init() 414 my_sha256_update(struct sha256_state *md, const unsigned char *in, unsigned long inlen) my_sha256_update() argument 455 my_sha256_final(unsigned char *out, struct sha256_state *md) my_sha256_final() argument [all...] |
/third_party/selinux/secilc/docs/ |
H A D | Makefile | 8 FILE_LIST ?= cil_introduction.md \ 9 cil_reference_guide.md \ 10 cil_access_vector_rules.md \ 11 cil_call_macro_statements.md \ 12 cil_class_and_permission_statements.md \ 13 cil_conditional_statements.md \ 14 cil_constraint_statements.md \ 15 cil_container_statements.md \ 16 cil_context_statement.md \ 17 cil_default_object_statements.md \ [all...] |
/third_party/node/deps/openssl/openssl/providers/implementations/ciphers/ |
H A D | cipher_rc4_hmac_md5_hw.c | 43 ctx->md = ctx->head; in cipher_hw_rc4_hmac_md5_initkey() 58 size_t md5_off = MD5_CBLOCK - ctx->md.num, blocks; in cipher_hw_rc4_hmac_md5_cipher() 77 MD5_Update(&ctx->md, in, md5_off); in cipher_hw_rc4_hmac_md5_cipher() 81 &ctx->md, in + md5_off, blocks); in cipher_hw_rc4_hmac_md5_cipher() 85 ctx->md.Nh += blocks >> 29; in cipher_hw_rc4_hmac_md5_cipher() 86 ctx->md.Nl += blocks <<= 3; in cipher_hw_rc4_hmac_md5_cipher() 87 if (ctx->md.Nl < (unsigned int)blocks) in cipher_hw_rc4_hmac_md5_cipher() 88 ctx->md.Nh++; in cipher_hw_rc4_hmac_md5_cipher() 94 MD5_Update(&ctx->md, in + md5_off, plen - md5_off); in cipher_hw_rc4_hmac_md5_cipher() 101 MD5_Final(out + plen, &ctx->md); in cipher_hw_rc4_hmac_md5_cipher() [all...] |
/third_party/openssl/providers/implementations/ciphers/ |
H A D | cipher_rc4_hmac_md5_hw.c | 43 ctx->md = ctx->head; in cipher_hw_rc4_hmac_md5_initkey() 58 size_t md5_off = MD5_CBLOCK - ctx->md.num, blocks; in cipher_hw_rc4_hmac_md5_cipher() 77 MD5_Update(&ctx->md, in, md5_off); in cipher_hw_rc4_hmac_md5_cipher() 81 &ctx->md, in + md5_off, blocks); in cipher_hw_rc4_hmac_md5_cipher() 85 ctx->md.Nh += blocks >> 29; in cipher_hw_rc4_hmac_md5_cipher() 86 ctx->md.Nl += blocks <<= 3; in cipher_hw_rc4_hmac_md5_cipher() 87 if (ctx->md.Nl < (unsigned int)blocks) in cipher_hw_rc4_hmac_md5_cipher() 88 ctx->md.Nh++; in cipher_hw_rc4_hmac_md5_cipher() 94 MD5_Update(&ctx->md, in + md5_off, plen - md5_off); in cipher_hw_rc4_hmac_md5_cipher() 101 MD5_Final(out + plen, &ctx->md); in cipher_hw_rc4_hmac_md5_cipher() [all...] |
/third_party/rust/crates/rust-openssl/openssl-sys/src/ |
H A D | sha.rs | 15 pub unsafe fn SHA1(d: *const c_uchar, n: size_t, md: *mut c_uchar) -> *mut c_uchar { in SHA1() 22 md, in SHA1() 26 md in SHA1() 32 pub unsafe fn SHA224(d: *const c_uchar, n: size_t, md: *mut c_uchar) -> *mut c_uchar { in SHA224() 39 md, in SHA224() 42 md in SHA224() 48 pub unsafe fn SHA256(d: *const c_uchar, n: size_t, md: *mut c_uchar) -> *mut c_uchar { in SHA256() 55 md, in SHA256() 58 md in SHA256() 71 pub unsafe fn SHA384(d: *const c_uchar, n: size_t, md [all...] |