Searched defs:md (Results 1 - 25 of 218) sorted by relevance

123456789

/external/eigen/doc/snippets/
H A DMatrixBase_cast.cpp1 Matrix2d md = Matrix2d::Identity() * 0.45; variable
3 cout << md + mf.cast<double>() << endl;
/external/dropbear/libtomcrypt/src/hashes/sha2/
H A Dsha384.c36 @param md The hash state you wish to initialize
39 int sha384_init(hash_state * md) argument
41 LTC_ARGCHK(md != NULL);
43 md->sha512.curlen = 0;
44 md->sha512.length = 0;
45 md->sha512.state[0] = CONST64(0xcbbb9d5dc1059ed8);
46 md->sha512.state[1] = CONST64(0x629a292a367cd507);
47 md->sha512.state[2] = CONST64(0x9159015a3070dd17);
48 md->sha512.state[3] = CONST64(0x152fecd8f70e5939);
49 md
62 sha384_done(hash_state * md, unsigned char *out) argument
[all...]
H A Dsha224.c37 @param md The hash state you wish to initialize
40 int sha224_init(hash_state * md) argument
42 LTC_ARGCHK(md != NULL);
44 md->sha256.curlen = 0;
45 md->sha256.length = 0;
46 md->sha256.state[0] = 0xc1059ed8UL;
47 md->sha256.state[1] = 0x367cd507UL;
48 md->sha256.state[2] = 0x3070dd17UL;
49 md->sha256.state[3] = 0xf70e5939UL;
50 md
63 sha224_done(hash_state * md, unsigned char *out) argument
[all...]
/external/openssl/crypto/md4/
H A Dmd4_one.c68 unsigned char *MD4(const unsigned char *d, size_t n, unsigned char *md) argument
73 if (md == NULL) md=m;
93 MD4_Final(md,&c);
95 return(md);
/external/openssl/crypto/md5/
H A Dmd5_one.c68 unsigned char *MD5(const unsigned char *d, size_t n, unsigned char *md) argument
73 if (md == NULL) md=m;
93 MD5_Final(md,&c);
95 return(md);
/external/openssl/crypto/mdc2/
H A Dmdc2_one.c63 unsigned char *MDC2(const unsigned char *d, size_t n, unsigned char *md) argument
68 if (md == NULL) md=m;
72 MDC2_Final(md,&c);
74 return(md);
/external/openssl/crypto/ripemd/
H A Drmd_one.c65 unsigned char *md)
70 if (md == NULL) md=m;
74 RIPEMD160_Final(md,&c);
76 return(md);
64 RIPEMD160(const unsigned char *d, size_t n, unsigned char *md) argument
/external/openssl/crypto/sha/
H A Dsha1_one.c65 unsigned char *SHA1(const unsigned char *d, size_t n, unsigned char *md) argument
70 if (md == NULL) md=m;
74 SHA1_Final(md,&c);
76 return(md);
/external/dropbear/libtomcrypt/src/hashes/helper/
H A Dhash_memory.c29 hash_state *md; local
45 md = XMALLOC(sizeof(hash_state));
46 if (md == NULL) {
50 if ((err = hash_descriptor[hash].init(md)) != CRYPT_OK) {
53 if ((err = hash_descriptor[hash].process(md, in, inlen)) != CRYPT_OK) {
56 err = hash_descriptor[hash].done(md, out);
60 zeromem(md, sizeof(hash_state));
62 XFREE(md);
H A Dhash_memory_multi.c31 hash_state *md; local
50 md = XMALLOC(sizeof(hash_state));
51 if (md == NULL) {
55 if ((err = hash_descriptor[hash].init(md)) != CRYPT_OK) {
64 if ((err = hash_descriptor[hash].process(md, curptr, curlen)) != CRYPT_OK) {
74 err = hash_descriptor[hash].done(md, out);
78 zeromem(md, sizeof(hash_state));
80 XFREE(md);
/external/openssl/crypto/evp/
H A Dm_dss.c77 static int final(EVP_MD_CTX *ctx,unsigned char *md) argument
78 { return SHA1_Final(md,ctx->md_data); }
H A Dm_dss1.c79 static int final(EVP_MD_CTX *ctx,unsigned char *md) argument
80 { return SHA1_Final(md,ctx->md_data); }
H A Dm_ecdsa.c127 static int final(EVP_MD_CTX *ctx,unsigned char *md) argument
128 { return SHA1_Final(md,ctx->md_data); }
H A Dm_md4.c80 static int final(EVP_MD_CTX *ctx,unsigned char *md) argument
81 { return MD4_Final(md,ctx->md_data); }
H A Dm_md5.c79 static int final(EVP_MD_CTX *ctx,unsigned char *md) argument
80 { return MD5_Final(md,ctx->md_data); }
H A Dm_mdc2.c80 static int final(EVP_MD_CTX *ctx,unsigned char *md) argument
81 { return MDC2_Final(md,ctx->md_data); }
H A Dm_null.c71 static int final(EVP_MD_CTX *ctx,unsigned char *md) argument
H A Dm_ripemd.c79 static int final(EVP_MD_CTX *ctx,unsigned char *md) argument
80 { return RIPEMD160_Final(md,ctx->md_data); }
H A Dm_wp.c20 static int final(EVP_MD_CTX *ctx,unsigned char *md) argument
21 { return WHIRLPOOL_Final(md,ctx->md_data); }
/external/dropbear/libtomcrypt/demos/
H A Dhashsum.c21 hash_state md; local
41 hash_descriptor[idx].init(&md);
44 hash_descriptor[idx].process(&md, hash_buffer, x);
46 hash_descriptor[idx].done(&md, hash_buffer);
/external/dropbear/libtomcrypt/src/misc/pkcs5/
H A Dpkcs_5_1.c36 hash_state *md; local
50 md = XMALLOC(sizeof(hash_state));
52 if (md == NULL || buf == NULL) {
53 if (md != NULL) {
54 XFREE(md);
63 if ((err = hash_descriptor[hash_idx].init(md)) != CRYPT_OK) {
66 if ((err = hash_descriptor[hash_idx].process(md, password, password_len)) != CRYPT_OK) {
69 if ((err = hash_descriptor[hash_idx].process(md, salt, 8)) != CRYPT_OK) {
72 if ((err = hash_descriptor[hash_idx].done(md, buf)) != CRYPT_OK) {
93 zeromem(md, sizeo
[all...]
/external/dropbear/libtomcrypt/src/pk/pkcs1/
H A Dpkcs_1_mgf1.c36 hash_state *md; local
51 md = XMALLOC(sizeof(hash_state));
53 if (md == NULL || buf == NULL) {
54 if (md != NULL) {
55 XFREE(md);
72 if ((err = hash_descriptor[hash_idx].init(md)) != CRYPT_OK) {
75 if ((err = hash_descriptor[hash_idx].process(md, seed, seedlen)) != CRYPT_OK) {
78 if ((err = hash_descriptor[hash_idx].process(md, buf, 4)) != CRYPT_OK) {
81 if ((err = hash_descriptor[hash_idx].done(md, buf)) != CRYPT_OK) {
95 zeromem(md, sizeo
[all...]
/external/openssl/apps/
H A Dmd4.c66 void pt(unsigned char *md);
102 unsigned char md[MD4_DIGEST_LENGTH]; local
115 MD4_Final(&(md[0]),&c);
116 pt(md);
119 void pt(unsigned char *md) argument
124 printf("%02x",md[i]);
/external/openssl/crypto/asn1/
H A Da_digest.c76 unsigned char *md, unsigned int *len)
90 if (!EVP_Digest(str, i, md, len, type, NULL))
100 unsigned char *md, unsigned int *len)
108 if (!EVP_Digest(str, i, md, len, type, NULL))
75 ASN1_digest(i2d_of_void *i2d, const EVP_MD *type, char *data, unsigned char *md, unsigned int *len) argument
99 ASN1_item_digest(const ASN1_ITEM *it, const EVP_MD *type, void *asn, unsigned char *md, unsigned int *len) argument
/external/openssl/crypto/hmac/
H A Dhmac.h77 const EVP_MD *md; member in struct:hmac_ctx_st
85 #define HMAC_size(e) (EVP_MD_size((e)->md))
94 const EVP_MD *md); /* deprecated */
96 const EVP_MD *md, ENGINE *impl);
98 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, unsigned int *len);
100 const unsigned char *d, size_t n, unsigned char *md,

Completed in 281 milliseconds

123456789