Home
last modified time | relevance | path

Searched refs:md_name (Results 1 – 7 of 7) sorted by relevance

/third_party/mbedtls/tests/suites/
Dtest_suite_md.function106 void md_info( int md_type, char * md_name, int md_size )
114 TEST_ASSERT( md_info == mbedtls_md_info_from_string( md_name ) );
118 TEST_ASSERT( strcmp( mbedtls_md_get_name( md_info ), md_name ) == 0 );
132 char md_name[100];
137 memset( md_name, 0x00, 100 );
142 strncpy( (char *) md_name, text_md_name, sizeof( md_name ) - 1 );
143 md_info = mbedtls_md_info_from_string(md_name);
157 char md_name[100];
161 memset( md_name, 0x00, 100 );
164 strncpy( (char *) md_name, text_md_name, sizeof( md_name ) - 1 );
[all …]
/third_party/mbedtls/library/
Dmd.c120 const mbedtls_md_info_t *mbedtls_md_info_from_string( const char *md_name ) in mbedtls_md_info_from_string() argument
122 if( NULL == md_name ) in mbedtls_md_info_from_string()
127 if( !strcmp( "MD2", md_name ) ) in mbedtls_md_info_from_string()
131 if( !strcmp( "MD4", md_name ) ) in mbedtls_md_info_from_string()
135 if( !strcmp( "MD5", md_name ) ) in mbedtls_md_info_from_string()
139 if( !strcmp( "RIPEMD160", md_name ) ) in mbedtls_md_info_from_string()
143 if( !strcmp( "SHA1", md_name ) || !strcmp( "SHA", md_name ) ) in mbedtls_md_info_from_string()
147 if( !strcmp( "SHA224", md_name ) ) in mbedtls_md_info_from_string()
149 if( !strcmp( "SHA256", md_name ) ) in mbedtls_md_info_from_string()
153 if( !strcmp( "SHA384", md_name ) ) in mbedtls_md_info_from_string()
[all …]
/third_party/openssl/apps/
Ddgst.c29 const char *sig_name, const char *md_name,
392 const char *md_name = NULL, *sig_name = NULL; in dgst_main() local
402 md_name = EVP_MD_name(md); in dgst_main()
413 siglen, sig_name, md_name, argv[i]); in dgst_main()
501 const char *sig_name, const char *md_name, in do_fp() argument
574 if (md_name != NULL) in do_fp()
575 BIO_printf(out, "-%s", md_name); in do_fp()
577 } else if (md_name != NULL) { in do_fp()
578 BIO_printf(out, "%s(%s)= ", md_name, file); in do_fp()
/third_party/python/Objects/
Dmoduleobject.c21 PyObject *md_name; /* for logging purposes after md_dict is cleared */ member
76 Py_XSETREF(mod->md_name, name); in module_init_dict()
93 m->md_name = NULL; in PyModule_NewObject()
666 if (verbose && m->md_name) { in module_dealloc()
667 PySys_FormatStderr("# destroy %U\n", m->md_name); in module_dealloc()
678 Py_XDECREF(m->md_name); in module_dealloc()
780 m->md_name ? " " : "", in module_clear()
781 m->md_name, ""); in module_clear()
/third_party/grpc/tools/codegen/core/
Dgen_static_metadata.py498 md_name = mangle(elem).upper() variable
500 md_spec = ' /* %s: \n %s */\n' % (md_name, md_human_readable)
588 md_name = mangle(elem).upper() variable
591 (md_name, i))
/third_party/mbedtls/include/mbedtls/
Dmd.h144 const mbedtls_md_info_t *mbedtls_md_info_from_string( const char *md_name );
/third_party/node/src/
Dnode_crypto.cc6440 String::Utf8Value md_name(env->isolate(), args[2].As<String>()); in GenerateKeyPairRSAPSS() local
6441 md = EVP_get_digestbyname(*md_name); in GenerateKeyPairRSAPSS()