/openbsd/regress/sys/crypto/hmac/ |
H A D | hmac_test.c | 38 HMAC_MD5_CTX md5; in main() local 43 HMAC_MD5_Init(&md5, "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b", 16); in main() 44 HMAC_MD5_Update(&md5, "Hi There", 8); in main() 45 HMAC_MD5_Final(output, &md5); in main() 48 HMAC_MD5_Init(&md5, "Jefe", 4); in main() 49 HMAC_MD5_Update(&md5, "what do ya want for nothing?", 28); in main() 50 HMAC_MD5_Final(output, &md5); in main() 53 HMAC_MD5_Init(&md5, "\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA", 16); in main() 55 HMAC_MD5_Update(&md5, data, sizeof data); in main() 56 HMAC_MD5_Final(output, &md5); in main()
|
/openbsd/regress/bin/md5/ |
H A D | Makefile | 3 REGRESS_TARGETS=cksum md5 sha1 sha224 sha256 sha384 sha512 md5_string_vs_files 9 md5: target 10 md5 -x | cmp -s ${.CURDIR}/testsuite.md5 /dev/stdin 29 if md5 -s "" /dev/null >/dev/null 2>&1; then \ 34 echo hi | md5 -p | cmp -s ${.CURDIR}/pipe_test.md5 /dev/stdin 38 if echo hi | md5 -p /dev/null >/dev/null 2>&1; then \ 44 if [ `md5 /dev/null /dev/null | wc -l` != 2 ]; then \
|
/openbsd/bin/md5/ |
H A D | Makefile | 3 PROG= md5 4 SRCS= crc.c md5.c 5 MAN= cksum.1 md5.1 6 LINKS= ${BINDIR}/md5 ${BINDIR}/sha1 \ 7 ${BINDIR}/md5 ${BINDIR}/sha256 \ 8 ${BINDIR}/md5 ${BINDIR}/sha512 \ 9 ${BINDIR}/md5 ${BINDIR}/cksum
|
/openbsd/gnu/usr.bin/perl/cpan/Digest-MD5/t/ |
H A D | bits.t | 11 my $md5 = Digest::MD5->new; 14 $md5->add_bits("01111111"); 15 ok($md5->hexdigest, "83acb6e67e50e31db6ed341dd2de1595"); 17 $md5->add_bits("0111"); 24 $md5->add_bits("foo");
|
H A D | files.t | 4 use Digest::MD5 qw(md5 md5_hex md5_base64); 91 if (md5($data) ne $md5bin) { 92 print "$file: md5() failed\n"; 118 if (md5(@data) ne $md5bin) { 119 print "$file: md5(\@data) failed\n"; 126 my $md5 = Digest::MD5->new; 128 $md5->add($_); 130 if ($md5->digest ne $md5bin) { 131 print "$file: $md5->add()-loop failed\n";
|
H A D | badfile.t | 7 my $md5 = Digest::MD5->new; 11 $md5->addfile(*FOO); 18 $md5->addfile(*BAR);
|
/openbsd/gnu/usr.bin/perl/cpan/CPAN/lib/CPAN/HTTP/ |
H A D | Client.pm | 162 my $md5 = Digest::MD5->new; 165 $md5->add(join(":", $user, $auth_param->{realm}, $pass)); 166 push(@digest, $md5->hexdigest); 167 $md5->reset; 175 $md5->add(join(":", 'GET', $path)); 176 push(@digest, $md5->hexdigest); 177 $md5->reset; 179 $md5->add(join(":", @digest)); 180 my($digest) = $md5->hexdigest; 181 $md5->reset;
|
/openbsd/lib/libcrypto/evp/ |
H A D | m_md5_sha1.c | 30 MD5_CTX md5; member 39 if (!MD5_Init(&mdctx->md5)) in md5_sha1_init() 52 if (!MD5_Update(&mdctx->md5, data, count)) in md5_sha1_update() 65 if (!MD5_Final(out, &mdctx->md5)) in md5_sha1_final()
|
/openbsd/distrib/special/md5/ |
H A D | Makefile | 3 PROG= md5 4 COPTS+= -DSHA2_ONLY -I${.CURDIR}/../../../bin/md5 5 .PATH: ${.CURDIR}/../../../bin/md5
|
/openbsd/regress/usr.sbin/relayd/ |
H A D | funcs.pl | 565 my @md5 = ref($args{md5}) eq 'ARRAY' ? @{$args{md5}} : $args{md5} || () 567 foreach my $md5 (@md5) { 571 $cmd5 =~ /^MD5: ($md5)$/ 572 or die "client: $cmd5", "md5 $md5 expected"; 577 $smd5 =~ /^MD5: ($md5)$/ 578 or die "server: $smd5", "md5 $md5 expected"; 581 @cmd5 && ref($args{md5}) eq 'ARRAY' 583 @smd5 && ref($args{md5}) eq 'ARRAY'
|
/openbsd/regress/usr.sbin/httpd/tests/ |
H A D | funcs.pl | 434 my @md5 = ref($args{md5}) eq 'ARRAY' ? @{$args{md5}} : $args{md5} || () 436 foreach my $md5 (@md5) { 440 $cmd5 =~ /^MD5: ($md5)$/ 441 or die "client: $cmd5", "md5 $md5 expected"; 444 @cmd5 && ref($args{md5}) eq 'ARRAY'
|
H A D | Makefile | 25 CLEANFILES += *.pem *.req *.crt *.key *.srl md5-* 28 HTDOCS_MD5 = ${HTDOCS_FILES:S,^,md5-,} 64 md5-$d: htdocs/$d 65 md5 -q htdocs/$d >$@
|
/openbsd/usr.sbin/pkg_add/OpenBSD/ |
H A D | md5.pod | 1 $OpenBSD: md5.pod,v 1.2 2023/05/16 11:53:01 espie Exp $ 5 OpenBSD::md5 - simple interface to sha256 digests 9 use OpenBSD::md5; 27 C<OpenBSD::md5> provides an object-oriented interface to cryptographic 34 The module itself is called C<OpenBSD::md5> for historical reasons, 38 The C<OpenBSD::md5> class itself was removed a few years ago.
|
/openbsd/distrib/notes/octeon/ |
H A D | install | 96 reading vmlinux.64.md5 98 md5 checksum error. 103 The file 'vmlinux.64.md5' can be renamed from the running OpenBSD system. 104 In case of ER-6p, the file 'vmlinux.64.md5' resides on a FAT partition 108 # mv /mnt/vmlinux.64.md5 /mnt/vmlinux.64.md5.unused 113 reading vmlinux.64.md5 114 ** Unable to read file vmlinux.64.md5 **
|
/openbsd/regress/sys/kern/sosplice/ |
H A D | funcs.pl | 708 !$cmd5 || !$smd5 || ref($args{md5}) eq 'ARRAY' || $cmd5 eq $smd5 710 my $md5 = ref($args{md5}) eq 'ARRAY' ? 711 join('|', @{$args{md5}}) : $args{md5}; 712 !$md5 || !$cmd5 || $cmd5 =~ /^MD5: ($md5)$/ 713 or die "client: $cmd5", "md5 $md5 expected"; 714 !$md5 || !$smd5 || $smd5 =~ /^MD5: ($md5)$/ 715 or die "server: $smd5", "md5 $md5 expected";
|
/openbsd/regress/usr.sbin/snmpd/ |
H A D | snmpd.conf | 18 user auth_md5 authkey testpass auth hmac-md5 24 user authpriv_md5_des authkey testpass auth hmac-md5 enckey testpass enc des 25 user authpriv_md5_aes authkey testpass auth hmac-md5 enckey testpass enc aes
|
/openbsd/gnu/usr.bin/cvs/lib/ |
H A D | Makefile.am | 46 md5.c \ 55 md5.h \
|
H A D | build_lib.com | 8 $ CC md5.c 17 getopt.obj,getopt1.obj,md5.obj,regex.obj,savecwd.obj,sighandle.obj,-
|
/openbsd/lib/libcrypto/arch/i386/ |
H A D | Makefile.inc | 27 SSLASM+= md5 md5-586
|
/openbsd/lib/libssl/ |
H A D | s3_cbc.c | 295 MD5_CTX *md5 = ctx; in tls1_md5_final_raw() local 296 u32toLE(md5->A, md_out); in tls1_md5_final_raw() 297 u32toLE(md5->B, md_out); in tls1_md5_final_raw() 298 u32toLE(md5->C, md_out); in tls1_md5_final_raw() 299 u32toLE(md5->D, md_out); in tls1_md5_final_raw()
|
/openbsd/regress/sbin/ipsecctl/ |
H A D | sa12.ok | 5 ah transport from 1.1.1.2 to 2.2.2.2 spi 0x2eadbeef auth hmac-md5 \ 7 ah transport from 2.2.2.2 to 1.1.1.2 spi 0xbeef2ead auth hmac-md5 \
|
H A D | sa5.ok | 5 ah tunnel from 1.1.1.2 to 2.2.2.2 spi 0x2eadbeef auth hmac-md5 \ 7 ah tunnel from 2.2.2.2 to 1.1.1.2 spi 0xbeef2ead auth hmac-md5 \
|
H A D | sa24.ok | 5 ah transport from 3ffe::2 to 3ffe::8 spi 0x2eadbeef auth hmac-md5 \ 7 ah transport from 3ffe::8 to 3ffe::2 spi 0xbeef2ead auth hmac-md5 \
|
H A D | sa17.ok | 5 ah tunnel from 3ffe::2 to 3ffe::8 spi 0x2eadbeef auth hmac-md5 \ 7 ah tunnel from 3ffe::8 to 3ffe::2 spi 0xbeef2ead auth hmac-md5 \
|
/openbsd/regress/usr.sbin/bgpd/integrationtests/ |
H A D | md5.sh | 69 -v -f ${BGPDCONFIGDIR}/bgpd.md5.rdomain1.conf 72 -v -f ${BGPDCONFIGDIR}/bgpd.md5.rdomain2.conf
|