Lines Matching refs:sha256
26 sha256="R16NojROxtxH/xbDl//ehDsHm5DjWTQ2YXV+hGC2iBY="
72 echo_i "fetching using hmac-sha256"
74 $DIG $DIGOPTS example.nil. -y "hmac-sha256:sha256:$sha256" @10.53.0.1 soa >dig.out.sha256 || ret=1
75 grep -i "sha256.*TSIG.*NOERROR" dig.out.sha256 >/dev/null || ret=1
135 echo_i "fetching using hmac-sha256 (trunc)"
137 $DIG $DIGOPTS example.nil. -y "hmac-sha256-128:sha256-trunc:$sha256" @10.53.0.1 soa >dig.out.sha256.trunc || ret=1
138 grep -i "sha256-trunc.*TSIG.*NOERROR" dig.out.sha256.trunc >/dev/null || ret=1
198 echo_i "fetching using hmac-sha256-128 (BADTRUNC)"
200 $DIG $DIGOPTS example.nil. -y "hmac-sha256-128:sha256:$sha256" @10.53.0.1 soa >dig.out.sha256-128 || ret=1
201 grep -i "sha256.*TSIG.*BADTRUNC" dig.out.sha256-128 >/dev/null || ret=1
248 $KEYGEN -a hmac-sha256 -b 128 -n host example.net >keygen.out3 2>&1 && ret=1
315 echo_i "fetching using hmac-sha256 (legacy)"
317 $DIG $DIGOPTS example.nil. -k ns1/legacy/Khmac-sha256-legacy.*.key @10.53.0.1 soa >dig.out.sha256 2>&1 || ret=1
318 grep -i "sha256.*TSIG.*NOERROR" dig.out.sha256 >/dev/null || ret=1
319 grep "Use of K\* file pairs for HMAC is deprecated" dig.out.sha256 >/dev/null || ret=1