Lines Matching refs:hash_len
439 size_t hash_len;
458 hash_len = mbedtls_md_get_size( md_info );
463 hash_len = message_str->len;
479 digest, hash_result, hash_len,
626 size_t hash_len = sizeof( hash );
650 hash, hash_len,
660 hash, hash_len, sig, sig_len ) == verify_ret );
666 hash, hash_len, sig, sig_len ) != 0 );
671 hash, hash_len, sig, sig_len ) != 0 );
675 TEST_ASSERT( mbedtls_pk_sign( &pk, MBEDTLS_MD_SHA256, hash, hash_len,
685 hash, hash_len, sig, sig_len, rs_ctx ) == verify_ret );
832 size_t hash_len = SIZE_MAX, sig_len = SIZE_MAX;
848 MBEDTLS_MD_NONE, hash, hash_len, sig, sig_len ) ==
852 TEST_ASSERT( mbedtls_pk_verify( &pk, MBEDTLS_MD_NONE, hash, hash_len,
855 TEST_ASSERT( mbedtls_pk_sign( &pk, MBEDTLS_MD_NONE, hash, hash_len,