Home
last modified time | relevance | path

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

/net-tools-latest/mbedtls-2.4.0/library/
Dpkcs5.c353 mbedtls_md_context_t sha1_ctx; in mbedtls_pkcs5_self_test() local
358 mbedtls_md_init( &sha1_ctx ); in mbedtls_pkcs5_self_test()
367 if( ( ret = mbedtls_md_setup( &sha1_ctx, info_sha1, 1 ) ) != 0 ) in mbedtls_pkcs5_self_test()
378 ret = mbedtls_pkcs5_pbkdf2_hmac( &sha1_ctx, password[i], plen[i], salt[i], in mbedtls_pkcs5_self_test()
398 mbedtls_md_free( &sha1_ctx ); in mbedtls_pkcs5_self_test()