/external/eigen/doc/snippets/ |
H A D | MatrixBase_cast.cpp | 1 Matrix2d md = Matrix2d::Identity() * 0.45; variable 3 cout << md + mf.cast<double>() << endl;
|
/external/dropbear/libtomcrypt/src/hashes/sha2/ |
H A D | sha384.c | 36 @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 D | sha224.c | 37 @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 D | md4_one.c | 68 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 D | md5_one.c | 68 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 D | mdc2_one.c | 63 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 D | rmd_one.c | 65 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 D | sha1_one.c | 65 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 D | hash_memory.c | 29 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 D | hash_memory_multi.c | 31 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 D | m_dss.c | 77 static int final(EVP_MD_CTX *ctx,unsigned char *md) argument 78 { return SHA1_Final(md,ctx->md_data); }
|
H A D | m_dss1.c | 79 static int final(EVP_MD_CTX *ctx,unsigned char *md) argument 80 { return SHA1_Final(md,ctx->md_data); }
|
H A D | m_ecdsa.c | 127 static int final(EVP_MD_CTX *ctx,unsigned char *md) argument 128 { return SHA1_Final(md,ctx->md_data); }
|
H A D | m_md4.c | 80 static int final(EVP_MD_CTX *ctx,unsigned char *md) argument 81 { return MD4_Final(md,ctx->md_data); }
|
H A D | m_md5.c | 79 static int final(EVP_MD_CTX *ctx,unsigned char *md) argument 80 { return MD5_Final(md,ctx->md_data); }
|
H A D | m_mdc2.c | 80 static int final(EVP_MD_CTX *ctx,unsigned char *md) argument 81 { return MDC2_Final(md,ctx->md_data); }
|
H A D | m_null.c | 71 static int final(EVP_MD_CTX *ctx,unsigned char *md) argument
|
H A D | m_ripemd.c | 79 static int final(EVP_MD_CTX *ctx,unsigned char *md) argument 80 { return RIPEMD160_Final(md,ctx->md_data); }
|
H A D | m_wp.c | 20 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 D | hashsum.c | 21 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 D | pkcs_5_1.c | 36 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 D | pkcs_1_mgf1.c | 36 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 D | md4.c | 66 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 D | a_digest.c | 76 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 D | hmac.h | 77 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,
|