/external/openssl/crypto/evp/ |
D | openbsd_hw.c | 282 static int dev_crypto_init_digest(MD_DATA *md_data,int mac) 284 if(!dev_crypto_init(&md_data->sess)) 287 md_data->len=0; 288 md_data->data=NULL; 290 md_data->sess.mac=mac; 292 if (ioctl(fd,CIOCGSESSION,&md_data->sess) == -1) 300 static int dev_crypto_cleanup_digest(MD_DATA *md_data) 302 if (ioctl(fd,CIOCFSESSION,&md_data->sess.ses) == -1) 314 { return dev_crypto_init_digest(ctx->md_data,CRYPTO_MD5); } 374 MD_DATA *md_data=ctx->md_data; [all …]
|
D | m_sha1.c | 75 { return SHA1_Init(ctx->md_data); } in init() 78 { return SHA1_Update(ctx->md_data,data,count); } in update() 81 { return SHA1_Final(md,ctx->md_data); } in final() 107 { return SHA224_Init(ctx->md_data); } in init224() 109 { return SHA256_Init(ctx->md_data); } in init256() 116 { return SHA256_Update(ctx->md_data,data,count); } in update256() 118 { return SHA256_Final(md,ctx->md_data); } in final256() 161 { return SHA384_Init(ctx->md_data); } in init384() 163 { return SHA512_Init(ctx->md_data); } in init512() 166 { return SHA512_Update(ctx->md_data,data,count); } in update512() [all …]
|
D | digest.c | 205 OPENSSL_free(ctx->md_data); in EVP_DigestInit_ex() 210 ctx->md_data=OPENSSL_malloc(type->ctx_size); in EVP_DigestInit_ex() 211 if (ctx->md_data == NULL) in EVP_DigestInit_ex() 237 OPENSSL_free(ctx->md_data); in EVP_DigestInit_ex() 238 ctx->md_data = NULL; in EVP_DigestInit_ex() 280 memset(ctx->md_data,0,ctx->digest->ctx_size); in EVP_DigestFinal_ex() 310 tmp_buf = out->md_data; in EVP_MD_CTX_copy_ex() 317 if (in->md_data && out->digest->ctx_size) in EVP_MD_CTX_copy_ex() 320 out->md_data = tmp_buf; in EVP_MD_CTX_copy_ex() 323 out->md_data=OPENSSL_malloc(out->digest->ctx_size); in EVP_MD_CTX_copy_ex() [all …]
|
D | m_wp.c | 15 { return WHIRLPOOL_Init(ctx->md_data); } in init() 18 { return WHIRLPOOL_Update(ctx->md_data,data,count); } in update() 21 { return WHIRLPOOL_Final(md,ctx->md_data); } in final()
|
D | m_md4.c | 75 { return MD4_Init(ctx->md_data); } in init() 78 { return MD4_Update(ctx->md_data,data,count); } in update() 81 { return MD4_Final(md,ctx->md_data); } in final()
|
D | m_ecdsa.c | 122 { return SHA1_Init(ctx->md_data); } in init() 125 { return SHA1_Update(ctx->md_data,data,count); } in update() 128 { return SHA1_Final(md,ctx->md_data); } in final()
|
D | m_mdc2.c | 75 { return MDC2_Init(ctx->md_data); } in init() 78 { return MDC2_Update(ctx->md_data,data,count); } in update() 81 { return MDC2_Final(md,ctx->md_data); } in final()
|
D | m_ripemd.c | 74 { return RIPEMD160_Init(ctx->md_data); } in init() 77 { return RIPEMD160_Update(ctx->md_data,data,count); } in update() 80 { return RIPEMD160_Final(md,ctx->md_data); } in final()
|
D | m_md5.c | 74 { return MD5_Init(ctx->md_data); } in init() 77 { return MD5_Update(ctx->md_data,data,count); } in update() 80 { return MD5_Final(md,ctx->md_data); } in final()
|
D | m_dss1.c | 74 { return SHA1_Init(ctx->md_data); } in init() 77 { return SHA1_Update(ctx->md_data,data,count); } in update() 80 { return SHA1_Final(md,ctx->md_data); } in final()
|
D | m_dss.c | 72 { return SHA1_Init(ctx->md_data); } in init() 75 { return SHA1_Update(ctx->md_data,data,count); } in update() 78 { return SHA1_Final(md,ctx->md_data); } in final()
|
D | bio_ok.c | 494 RAND_pseudo_bytes(md->md_data, md->digest->md_size); in sig_out() 495 memcpy(&(ctx->buf[ctx->buf_len]), md->md_data, md->digest->md_size); in sig_out() 526 memcpy(md->md_data, &(ctx->buf[ctx->buf_off]), md->digest->md_size); in sig_in() 527 longswap(md->md_data, md->digest->md_size); in sig_in()
|
D | evp.h | 270 void *md_data; member
|
/external/openssh/ |
D | md-sha256.c | 42 SHA256_Init(ctxt->md_data); in ssh_sha256_init() 49 SHA256_Update(ctxt->md_data, data, len); in ssh_sha256_update() 56 SHA256_Final(digest, ctxt->md_data); in ssh_sha256_final() 63 memset(ctxt->md_data, 0, sizeof(SHA256_CTX)); in ssh_sha256_cleanup()
|
/external/openssl/crypto/engine/ |
D | eng_openssl.c | 314 return SHA1_Init(ctx->md_data); in test_sha1_init() 321 return SHA1_Update(ctx->md_data,data,count); in test_sha1_update() 328 return SHA1_Final(md,ctx->md_data); in test_sha1_final()
|
D | eng_cryptodev.c | 677 struct dev_crypto_state *state = ctx->md_data; in cryptodev_digest_init() 711 struct dev_crypto_state *state = ctx->md_data; in cryptodev_digest_update() 757 struct dev_crypto_state *state = ctx->md_data; in cryptodev_digest_final() 793 struct dev_crypto_state *state = ctx->md_data; in cryptodev_digest_cleanup() 824 struct dev_crypto_state *fstate = from->md_data; in cryptodev_digest_copy() 825 struct dev_crypto_state *dstate = to->md_data; in cryptodev_digest_copy()
|
/external/openssl/crypto/mdc2/ |
D | mdc2test.c | 125 ((MDC2_CTX *)c.md_data)->pad_type=2; in main()
|
/external/openssl/crypto/pkcs7/ |
D | pk7_doit.c | 705 unsigned char md_data[EVP_MAX_MD_SIZE]; in do_pkcs7_signed_attrib() local 720 if (!EVP_DigestFinal_ex(mctx, md_data,&md_len)) in do_pkcs7_signed_attrib() 725 if (!PKCS7_add1_attrib_digest(si, md_data, md_len)) in do_pkcs7_signed_attrib() 866 unsigned char md_data[EVP_MAX_MD_SIZE]; in PKCS7_dataFinal() local 871 if (!EVP_DigestFinal_ex(mdc,md_data,&md_len)) in PKCS7_dataFinal() 873 M_ASN1_OCTET_STRING_set(p7->d.digest->digest, md_data, md_len); in PKCS7_dataFinal()
|
/external/ipsec-tools/src/racoon/missing/crypto/sha2/ |
D | sha2.c | 1068 #define data(ctx) ((SHA256_CTX *)(ctx)->md_data) 1087 #define data(ctx) ((SHA384_CTX *)(ctx)->md_data) 1106 #define data(ctx) ((SHA512_CTX *)(ctx)->md_data)
|
/external/openssl/include/openssl/ |
D | pem.h | 193 char *md_data; /* message digest, could be pkey encrypted */ member
|
D | evp.h | 270 void *md_data; member
|
/external/openssl/crypto/pem/ |
D | pem.h | 193 char *md_data; /* message digest, could be pkey encrypted */ member
|