Home
last modified time | relevance | path

Searched refs:md (Results 1 – 21 of 21) sorted by relevance

/optee_test/host/openssl/include/openssl/
A Dsha.h113 int SHA_Final(unsigned char *md, SHA_CTX *c);
114 unsigned char *SHA(const unsigned char *d, size_t n, unsigned char *md);
123 int SHA1_Final(unsigned char *md, SHA_CTX *c);
124 unsigned char *SHA1(const unsigned char *d, size_t n, unsigned char *md);
148 int SHA224_Final(unsigned char *md, SHA256_CTX *c);
149 unsigned char *SHA224(const unsigned char *d, size_t n, unsigned char *md);
152 int SHA256_Final(unsigned char *md, SHA256_CTX *c);
153 unsigned char *SHA256(const unsigned char *d, size_t n, unsigned char *md);
201 int SHA384_Final(unsigned char *md, SHA512_CTX *c);
202 unsigned char *SHA384(const unsigned char *d, size_t n, unsigned char *md);
[all …]
A Dhmac.h76 const EVP_MD *md; member
84 # define HMAC_size(e) (EVP_MD_size((e)->md))
93 int HMAC_Init(HMAC_CTX *ctx, const void *key, int len, const EVP_MD *md);
95 const EVP_MD *md, ENGINE *impl);
97 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, unsigned int *len);
99 const unsigned char *d, size_t n, unsigned char *md,
A Dconf.h109 typedef int conf_init_func (CONF_IMODULE *md, const CONF *cnf);
110 typedef void conf_finish_func (CONF_IMODULE *md);
195 const char *CONF_imodule_get_name(const CONF_IMODULE *md);
196 const char *CONF_imodule_get_value(const CONF_IMODULE *md);
197 void *CONF_imodule_get_usr_data(const CONF_IMODULE *md);
198 void CONF_imodule_set_usr_data(CONF_IMODULE *md, void *usr_data);
199 CONF_MODULE *CONF_imodule_get_module(const CONF_IMODULE *md);
200 unsigned long CONF_imodule_get_flags(const CONF_IMODULE *md);
201 void CONF_imodule_set_flags(CONF_IMODULE *md, unsigned long flags);
A Dmdc2.h87 int MDC2_Final(unsigned char *md, MDC2_CTX *c);
88 unsigned char *MDC2(const unsigned char *d, size_t n, unsigned char *md);
A Dwhrlpool.h33 int WHIRLPOOL_Final(unsigned char *md, WHIRLPOOL_CTX *c);
34 unsigned char *WHIRLPOOL(const void *inp, size_t bytes, unsigned char *md);
A Dmd4.h112 int MD4_Final(unsigned char *md, MD4_CTX *c);
113 unsigned char *MD4(const unsigned char *d, size_t n, unsigned char *md);
A Dmd5.h112 int MD5_Final(unsigned char *md, MD5_CTX *c);
113 unsigned char *MD5(const unsigned char *d, size_t n, unsigned char *md);
A Dripemd.h98 int RIPEMD160_Final(unsigned char *md, RIPEMD160_CTX *c);
99 unsigned char *RIPEMD160(const unsigned char *d, size_t n, unsigned char *md);
A Devp.h167 int (*final) (EVP_MD_CTX *ctx, unsigned char *md);
516 int EVP_MD_type(const EVP_MD *md);
519 int EVP_MD_pkey_type(const EVP_MD *md);
520 int EVP_MD_size(const EVP_MD *md);
521 int EVP_MD_block_size(const EVP_MD *md);
522 unsigned long EVP_MD_flags(const EVP_MD *md);
564 void BIO_set_md(BIO *, const EVP_MD *md);
566 # define BIO_set_md(b,md) BIO_ctrl(b,BIO_C_SET_MD,0,(char *)md) argument
1022 const EVP_MD *md, int en_de);
1031 const EVP_MD *md, int en_de);
[all …]
A Drsa.h264 # define EVP_PKEY_CTX_set_rsa_mgf1_md(ctx, md) \ argument
267 EVP_PKEY_CTRL_RSA_MGF1_MD, 0, (void *)md)
269 # define EVP_PKEY_CTX_set_rsa_oaep_md(ctx, md) \ argument
271 EVP_PKEY_CTRL_RSA_OAEP_MD, 0, (void *)md)
452 const EVP_MD *md, const EVP_MD *mgf1md);
456 int plen, const EVP_MD *md,
A Dpkcs7.h155 X509_ALGOR *md; /* md used */ member
261 const EVP_MD *type, unsigned char *md,
313 int PKCS7_set_digest(PKCS7 *p7, const EVP_MD *md);
343 const EVP_MD *md, int flags);
363 const unsigned char *md, int mdlen);
A Docsp.h372 # define OCSP_REQUEST_sign(o,pkey,md) \ argument
375 o->optionalSignature->signature,o->tbsRequest,pkey,md)
377 # define OCSP_BASICRESP_sign(o,pkey,md,d) \ argument
379 o->signature,o->tbsResponseData,pkey,md)
388 # define ASN1_BIT_STRING_digest(data,type,md,len) \ argument
389 ASN1_item_digest(ASN1_ITEM_rptr(ASN1_BIT_STRING),type,data,md,len)
A Dx509.h647 int X509_sign(X509 *x, EVP_PKEY *pkey, const EVP_MD *md);
650 int X509_REQ_sign(X509_REQ *x, EVP_PKEY *pkey, const EVP_MD *md);
652 int X509_CRL_sign(X509_CRL *x, EVP_PKEY *pkey, const EVP_MD *md);
658 unsigned char *md, unsigned int *len);
660 unsigned char *md, unsigned int *len);
662 unsigned char *md, unsigned int *len);
664 unsigned char *md, unsigned int *len);
666 unsigned char *md, unsigned int *len);
758 void X509_ALGOR_set_md(X509_ALGOR *alg, const EVP_MD *md);
881 unsigned char *md, unsigned int *len);
[all …]
A Ddh.h265 const unsigned char *ukm, size_t ukmlen, const EVP_MD *md);
312 # define EVP_PKEY_CTX_set_dh_kdf_md(ctx, md) \ argument
315 EVP_PKEY_CTRL_DH_KDF_MD, 0, (void *)md)
A Decdh.h109 const EVP_MD *md);
A Dcms.h159 CMS_ContentInfo *CMS_digest_create(BIO *in, const EVP_MD *md,
264 X509 *signer, EVP_PKEY *pk, const EVP_MD *md,
A Dec.h1027 # define EVP_PKEY_CTX_set_ecdh_kdf_md(ctx, md) \ argument
1030 EVP_PKEY_CTRL_EC_KDF_MD, 0, (void *)md)
A Dpem.h147 EVP_MD_CTX md; member
188 EVP_MD *md; /* signature type */ member
A Dts.h553 int TS_RESP_CTX_add_md(TS_RESP_CTX *ctx, const EVP_MD *md);
/optee_test/host/xtest/
A Dxtest_uuid_helpers.c91 const EVP_MD *md = NULL; in xtest_uuid_v5() local
111 md = EVP_sha1(); in xtest_uuid_v5()
112 if (!md) { in xtest_uuid_v5()
116 ret = EVP_DigestInit_ex(mdctx, md, NULL); in xtest_uuid_v5()
/optee_test/host/xtest/gp/include/
A Dxml_crypto_api.h2681 const EVP_MD *md = hash_algo_to_md(saved_alloc.algo); in calculate_digest() local
2685 if (!ADBG_EXPECT_NOT_NULL(c, md)) in calculate_digest()
2687 sz = EVP_MD_size(md); in calculate_digest()
2692 if (EVP_Digest(data, data_length, buf, &sz, md, NULL)) { in calculate_digest()
3159 const EVP_MD *md = algo_to_md(algo); in rsa_sign_digest() local
3164 if (!ADBG_EXPECT_NOT_NULL(c, md)) in rsa_sign_digest()
3192 md, md, in rsa_sign_digest()
3234 res = RSA_verify_PKCS1_PSS_mgf1(key, digest, md, md, buf, -2); in rsa_verify_pss_digest()
3249 const EVP_MD *md = algo_to_md(algo); in rsa_verify_digest() local
3253 if (!ADBG_EXPECT_NOT_NULL(c, md)) in rsa_verify_digest()
[all …]

Completed in 46 milliseconds