Re: Add SHA-2 support to snmpd [1/2] Digest length is not always 12 bytes

2019-06-07 Thread Gerhard Roth
On 6/7/19 9:50 AM, Martijn van Duren wrote: > Hello tech@, > > I managed to get SHA-2 support working for snmpd, based on RFC7860 and > tested with net-snmp commandline tools. > > I split the diff up in 2 steps for readability. > Step 1: Don't assume the digestlength is always 12 bytes. This is

Add SHA-2 support to snmpd [1/2] Digest length is not always 12 bytes

2019-06-07 Thread Martijn van Duren
Hello tech@, I managed to get SHA-2 support working for snmpd, based on RFC7860 and tested with net-snmp commandline tools. I split the diff up in 2 steps for readability. Step 1: Don't assume the digestlength is always 12 bytes. This is only true for MD5 and SHA-1. OK? martijn@ diff