Home
last modified time | relevance | path

Searched refs:MBEDTLS_MD_SHA256 (Results 1 – 25 of 27) sorted by relevance

12

/AliOS-Things-master/components/mbedtls/library/
A Dssl_ciphersuites.c330 MBEDTLS_CIPHER_CHACHA20_POLY1305, MBEDTLS_MD_SHA256,
339 MBEDTLS_CIPHER_CHACHA20_POLY1305, MBEDTLS_MD_SHA256,
348 MBEDTLS_CIPHER_CHACHA20_POLY1305, MBEDTLS_MD_SHA256,
357 MBEDTLS_CIPHER_CHACHA20_POLY1305, MBEDTLS_MD_SHA256,
366 MBEDTLS_CIPHER_CHACHA20_POLY1305, MBEDTLS_MD_SHA256,
375 MBEDTLS_CIPHER_CHACHA20_POLY1305, MBEDTLS_MD_SHA256,
384 MBEDTLS_CIPHER_CHACHA20_POLY1305, MBEDTLS_MD_SHA256,
1678 MBEDTLS_CIPHER_NULL, MBEDTLS_MD_SHA256, MBEDTLS_KEY_EXCHANGE_RSA,
1696 MBEDTLS_CIPHER_NULL, MBEDTLS_MD_SHA256, MBEDTLS_KEY_EXCHANGE_PSK,
1722 MBEDTLS_CIPHER_NULL, MBEDTLS_MD_SHA256, MBEDTLS_KEY_EXCHANGE_DHE_PSK,
[all …]
A Doid.c349 MBEDTLS_MD_SHA256, MBEDTLS_PK_RSA,
383 MBEDTLS_MD_SHA256, MBEDTLS_PK_ECDSA,
606 MBEDTLS_MD_SHA256,
652 MBEDTLS_MD_SHA256,
A Dmd.c63 MBEDTLS_MD_SHA256,
125 return mbedtls_md_info_from_type( MBEDTLS_MD_SHA256 ); in mbedtls_md_info_from_string()
163 case MBEDTLS_MD_SHA256: in mbedtls_md_info_from_type()
A Dmd_wrap.c473 MBEDTLS_MD_SHA256,
A Decjpake.c1020 MBEDTLS_MD_SHA256, MBEDTLS_ECP_DP_SECP256R1, in mbedtls_ecjpake_self_test()
1025 MBEDTLS_MD_SHA256, MBEDTLS_ECP_DP_SECP256R1, in mbedtls_ecjpake_self_test()
A Dx509_crt.c105 MBEDTLS_X509_ID_FLAG( MBEDTLS_MD_SHA256 ) |
119 MBEDTLS_X509_ID_FLAG( MBEDTLS_MD_SHA256 ) |
144 MBEDTLS_X509_ID_FLAG( MBEDTLS_MD_SHA256 ) |
A Dssl_tls.c562 return( tls_prf_generic( MBEDTLS_MD_SHA256, secret, slen, in tls_prf_sha256()
2243 case MBEDTLS_MD_SHA256: in ssl_decrypt_buf()
7389 MBEDTLS_MD_SHA256, in mbedtls_ssl_set_hs_ecjpake_password()
9084 MBEDTLS_MD_SHA256,
9102 MBEDTLS_MD_SHA256,
9434 return( MBEDTLS_MD_SHA256 ); in mbedtls_ssl_md_alg_from_hash()
9465 case MBEDTLS_MD_SHA256: in mbedtls_ssl_hash_from_md_alg()
/AliOS-Things-master/components/mbedtls/programs/pkey/
A Drsa_verify_pss.c115 mbedtls_rsa_set_padding( mbedtls_pk_rsa( pk ), MBEDTLS_RSA_PKCS_V21, MBEDTLS_MD_SHA256 ); in main()
141 mbedtls_md_info_from_type( MBEDTLS_MD_SHA256 ), in main()
148 if( ( ret = mbedtls_pk_verify( &pk, MBEDTLS_MD_SHA256, hash, 0, in main()
A Drsa_sign_pss.c132 mbedtls_rsa_set_padding( mbedtls_pk_rsa( pk ), MBEDTLS_RSA_PKCS_V21, MBEDTLS_MD_SHA256 ); in main()
142 mbedtls_md_info_from_type( MBEDTLS_MD_SHA256 ), in main()
149 if( ( ret = mbedtls_pk_sign( &pk, MBEDTLS_MD_SHA256, hash, 0, buf, &olen, in main()
A Dpk_verify.c128 mbedtls_md_info_from_type( MBEDTLS_MD_SHA256 ), in main()
135 if( ( ret = mbedtls_pk_verify( &pk, MBEDTLS_MD_SHA256, hash, 0, in main()
A Drsa_verify.c148 mbedtls_md_info_from_type( MBEDTLS_MD_SHA256 ), in main()
156 MBEDTLS_MD_SHA256, 20, hash, buf ) ) != 0 ) in main()
A Dpk_sign.c132 mbedtls_md_info_from_type( MBEDTLS_MD_SHA256 ), in main()
139 if( ( ret = mbedtls_pk_sign( &pk, MBEDTLS_MD_SHA256, hash, 0, buf, &olen, in main()
A Drsa_sign.c155 mbedtls_md_info_from_type( MBEDTLS_MD_SHA256 ), in main()
162 if( ( ret = mbedtls_rsa_pkcs1_sign( &rsa, NULL, NULL, MBEDTLS_RSA_PRIVATE, MBEDTLS_MD_SHA256, in main()
A Ddh_client.c108 mbedtls_rsa_init( &rsa, MBEDTLS_RSA_PKCS_V15, MBEDTLS_MD_SHA256 ); in main()
237 MBEDTLS_MD_SHA256, 0, hash, p ) ) != 0 ) in main()
A Ddh_server.c111 mbedtls_rsa_init( &rsa, MBEDTLS_RSA_PKCS_V15, MBEDTLS_MD_SHA256 ); in main()
245 if( ( ret = mbedtls_rsa_pkcs1_sign( &rsa, NULL, NULL, MBEDTLS_RSA_PRIVATE, MBEDTLS_MD_SHA256, in main()
A Decdsa.c198 if( ( ret = mbedtls_ecdsa_write_signature( &ctx_sign, MBEDTLS_MD_SHA256, in main()
/AliOS-Things-master/components/ota/hal/
A Dota_hal_digest.c113 mbedtls_rsa_init(&ctx, MBEDTLS_RSA_PKCS_V15, MBEDTLS_MD_SHA256); in ota_rsa_pubkey_verify()
127 …ret = mbedtls_rsa_pkcs1_verify(&ctx, NULL, NULL, MBEDTLS_RSA_PUBLIC, MBEDTLS_MD_SHA256, (unsigned … in ota_rsa_pubkey_verify()
/AliOS-Things-master/components/mbedtls/platform/yoc/
A Drsa_alt.c411 } else if (md_alg == MBEDTLS_MD_SHA256) { in mbedtls_rsa_pkcs1_sign()
422 } else if (md_alg == MBEDTLS_MD_SHA256) { in mbedtls_rsa_pkcs1_sign()
500 } else if (md_alg == MBEDTLS_MD_SHA256) { in mbedtls_rsa_pkcs1_verify()
511 } else if (md_alg == MBEDTLS_MD_SHA256) { in mbedtls_rsa_pkcs1_verify()
/AliOS-Things-master/components/mbedtls/programs/x509/
A Dcert_req.c69 #define DFL_MD_ALG MBEDTLS_MD_SHA256
224 opt.md_alg = MBEDTLS_MD_SHA256; in main()
A Dcert_write.c95 #define DFL_DIGEST MBEDTLS_MD_SHA256
372 opt.md = MBEDTLS_MD_SHA256; in main()
/AliOS-Things-master/components/mbedtls/include/mbedtls/
A Dmd.h65 MBEDTLS_MD_SHA256, /**< The SHA-256 message digest. */ enumerator
/AliOS-Things-master/components/mbedtls/programs/test/
A Dbenchmark.c729 if( ( md_info = mbedtls_md_info_from_type( MBEDTLS_MD_SHA256 ) ) == NULL ) in main()
850 … ret = mbedtls_ecdsa_write_signature( &ecdsa, MBEDTLS_MD_SHA256, buf, curve_info->bit_size, in main()
863 mbedtls_ecdsa_write_signature( &ecdsa, MBEDTLS_MD_SHA256, buf, curve_info->bit_size, in main()
/AliOS-Things-master/components/mbedtls/programs/aes/
A Daescrypt2.c129 ret = mbedtls_md_setup( &sha_ctx, mbedtls_md_info_from_type( MBEDTLS_MD_SHA256 ), 1 ); in main()
/AliOS-Things-master/components/mbedtls/programs/ssl/
A Dssl_client2.c471 MBEDTLS_MD_SHA256,
A Dssl_server2.c889 MBEDTLS_MD_SHA256,

Completed in 57 milliseconds

12