Home
last modified time | relevance | path

Searched refs:md5 (Results 1 – 25 of 290) sorted by relevance

12345678910>>...12

/openbsd/regress/sys/crypto/hmac/
H A Dhmac_test.c38 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 DMakefile3 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 DMakefile3 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 Dbits.t11 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 Dfiles.t4 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 Dbadfile.t7 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 DClient.pm162 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 Dm_md5_sha1.c30 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 DMakefile3 PROG= md5
4 COPTS+= -DSHA2_ONLY -I${.CURDIR}/../../../bin/md5
5 .PATH: ${.CURDIR}/../../../bin/md5
/openbsd/regress/usr.sbin/relayd/
H A Dfuncs.pl565 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 Dfuncs.pl434 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 DMakefile25 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 Dmd5.pod1 $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 Dinstall96 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 Dfuncs.pl708 !$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 Dsnmpd.conf18 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 DMakefile.am46 md5.c \
55 md5.h \
H A Dbuild_lib.com8 $ CC md5.c
17 getopt.obj,getopt1.obj,md5.obj,regex.obj,savecwd.obj,sighandle.obj,-
/openbsd/lib/libcrypto/arch/i386/
H A DMakefile.inc27 SSLASM+= md5 md5-586
/openbsd/lib/libssl/
H A Ds3_cbc.c295 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 Dsa12.ok5 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 Dsa5.ok5 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 Dsa24.ok5 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 Dsa17.ok5 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 Dmd5.sh69 -v -f ${BGPDCONFIGDIR}/bgpd.md5.rdomain1.conf
72 -v -f ${BGPDCONFIGDIR}/bgpd.md5.rdomain2.conf

12345678910>>...12