Home
last modified time | relevance | path

Searched refs:sha (Results 1 – 25 of 84) sorted by relevance

1234

/openbsd/src/gnu/llvm/llvm/utils/
Drevert_checker.py81 def _resolve_sha(git_dir: str, sha: str) -> str:
82 if len(sha) == 40:
83 return sha
86 ['git', '-C', git_dir, 'rev-parse', sha],
122 sha = next(stdout_stream, None)
123 assert sha is not None, 'git died?'
124 sha = sha.rstrip()
136 yield _LogEntry(sha, '\n'.join(commit_message).rstrip())
192 for sha, commit_message in _log_stream(git_dir, root_sha, across_sha):
200 logging.debug('Commit %s reverts %s, which happened after %s', sha,
[all …]
Drevert_checker_test.py109 sha='4e0fe038f438ae1679eae9e156e1f248595b2373',
112 sha='9f981e9adf9c8d29bb80306daf08d2770263ade6',
/openbsd/src/lib/libskey/
Dskeysubr.c109 SHA1_CTX sha; in keycrunch_sha1() local
113 SHA1Init(&sha); in keycrunch_sha1()
114 SHA1Update(&sha, (unsigned char *)buf, buflen); in keycrunch_sha1()
115 SHA1Pad(&sha); in keycrunch_sha1()
118 sha.state[0] ^= sha.state[2]; in keycrunch_sha1()
119 sha.state[1] ^= sha.state[3]; in keycrunch_sha1()
120 sha.state[0] ^= sha.state[4]; in keycrunch_sha1()
128 result[j] = (u_char)(sha.state[i] & 0xff); in keycrunch_sha1()
129 result[j+1] = (u_char)((sha.state[i] >> 8) & 0xff); in keycrunch_sha1()
130 result[j+2] = (u_char)((sha.state[i] >> 16) & 0xff); in keycrunch_sha1()
[all …]
/openbsd/src/gnu/usr.bin/perl/cpan/Digest-SHA/t/
Dmethods.t30 my $sha = Digest::SHA->new()->reset("SHA-256")->new();
31 $sha->add_bits("a", 5)->add_bits("001");
34 print "not " unless $sha->clone->add("b", "c")->b64digest eq $rsp;
44 $sha->clone->addfile(*FILE)->hexdigest eq $rsp;
52 print "not " unless $sha->clone->addfile($fh)->hexdigest eq $rsp;
58 print "not " unless $sha->addfile($tempfile, "b")->hexdigest eq $rsp;
68 my $d = $sha->new(1)->addfile($tempfile, "U")->hexdigest;
85 print "not " unless $sha->new(1)->addfile($tempfile, "0")->hexdigest eq
94 print "not " unless $sha->new(1)->addfile($tempfile, "0")->hexdigest eq
Direland.t13 my $sha;
14 if ($sha = Digest::SHA->putstate(join('', <DATA>))) {
15 $sha->add("aa");
16 print "not " unless $sha->hexdigest eq $rsp;
Dnistbit.t40 my $sha = Digest::SHA->new(1);
53 print "not " unless uc($sha->add_bits($bitstr)->hexdigest)
Dnistbyte.t40 my $sha = Digest::SHA->new(1);
54 uc($sha->add(pack("B*", $bitstr))->hexdigest)
Dgg.t46 my $sha = Digest::SHA->new(1);
53 print "not " unless $sha->add_bits($bitstr)->hexdigest
/openbsd/src/usr.sbin/pkg_add/OpenBSD/
Dmd5.pod11 my $sha = OpenBSD::sha->new($filename);
12 $k->{$sha->key} = $filename;
14 my $ck2 = $sha->new($filename2);
16 if ($ck2->equals($sha)) {
20 print $sha->stringize # provides a base64 representation
35 but the module only provides a C<OpenBSD::sha> class, that produces
/openbsd/src/lib/libcrypto/arch/arm/
DMakefile.inc16 SSLASM+= sha sha1-armv4-large
18 SSLASM+= sha sha256-armv4
20 SSLASM+= sha sha512-armv4
/openbsd/src/lib/libcrypto/arch/sparc64/
DMakefile.inc13 SSLASM+= sha sha1-sparcv9 sha1-sparcv9
15 SSLASM+= sha sha512-sparcv9 sha256-sparcv9
17 SSLASM+= sha sha512-sparcv9 sha512-sparcv9
/openbsd/src/lib/libcrypto/arch/mips64/
DMakefile.inc13 SSLASM+= sha sha1-mips sha1-mips
15 SSLASM+= sha sha512-mips sha256-mips
17 SSLASM+= sha sha512-mips sha512-mips
/openbsd/src/gnu/llvm/llvm/utils/git/
Dpre-push.py170 for sha in revs:
171 print(' - ' + git('show', '--oneline', '--quiet', sha))
178 for sha in revs:
179 msg = git('log', '--format=%B', '-n1', sha)
185 …int('Please remove arcanist tags from the commit message (found "%s" tag in %s)' % (tag, sha[:12]))
/openbsd/src/gnu/usr.bin/perl/cpan/Digest-SHA/
DSHA.xs143 SHA sha; variable
146 if (!shainit(&sha, ix2alg[ix]))
151 shawrite(data, MAX_WRITE_SIZE << 3, &sha);
155 shawrite(data, (ULNG) len << 3, &sha);
157 shafinish(&sha);
160 result = (char *) shadigest(&sha);
161 len = sha.digestlen;
164 result = shahex(&sha);
166 result = shabase64(&sha);
/openbsd/src/lib/libcrypto/arch/i386/
DMakefile.inc32 SSLASM+= sha sha1-586
34 SSLASM+= sha sha256-586
36 SSLASM+= sha sha512-586
/openbsd/src/usr.bin/signify/
Dzsig.c133 copy_blocks(int fdout, int fdin, const char *sha, const char *endsha, in copy_blocks() argument
166 if (endsha - sha < SHA512_256_DIGEST_STRING_LENGTH-1) in copy_blocks()
168 if (memcmp(output, sha, SHA512_256_DIGEST_STRING_LENGTH-1) != 0) in copy_blocks()
170 if (sha[SHA512_256_DIGEST_STRING_LENGTH-1] != '\n') in copy_blocks()
172 sha += SHA512_256_DIGEST_STRING_LENGTH; in copy_blocks()
177 if (endsha != sha) in copy_blocks()
/openbsd/src/gnu/gcc/gcc/config/m32c/
Dshift.md40 sha.b\t%2,%0
52 sha.b\t%2,%0
109 sha.w\t%2,%0
121 sha.w\t%2,%0
182 sha.l\t%2,%0
194 sha.l\t%2,%0
258 sha.l\t%2,%0
270 sha.l\t%2,%0
296 sha.l\t%2,%0
307 sha.l\t%2,%0
/openbsd/src/regress/usr.sbin/pkg_add/oldcups/cups-libs-2.2.7/
D+CONTENTS6 @sha PR0u8PFMga/b6TrujLc3mwZyc4f2PuCKAFWEro5+E1w=
10 @sha nndQnatFkW4GsPimjdyYNdraX4Lr3rSmztL/ZYosf1U=
/openbsd/src/regress/usr.sbin/pkg_add/newcups/cups-libs-2.2.8/
D+CONTENTS6 @sha PR0u8PFMga/b6TrujLc3mwZyc4f2PuCKAFWEro5+E1w=
10 @sha 8G6TFClL0MBr/Se4Pjvin4ljJv2/j9zFqMKNSK1jVWw=
/openbsd/src/lib/libcrypto/arch/powerpc/
DMakefile.inc14 SSLASM+= sha sha1-ppc sha1-ppc
16 SSLASM+= sha sha512-ppc sha256-ppc
/openbsd/src/lib/libcrypto/arch/hppa/
DMakefile.inc16 SSLASM+= sha sha1-parisc sha1-parisc
18 SSLASM+= sha sha512-parisc sha256-parisc
/openbsd/src/gnu/llvm/clang/docs/tools/
Dgenerate_formatted_state.py83 sha = get_git_revision_short_hash() variable
86 sha=sha).encode("utf-8")))
/openbsd/src/gnu/usr.bin/perl/Porting/
Dmakerel321 my $sha = Digest::SHA->new('sha256');
322 $sha->addfile($file, 'b');
323 print $sha->hexdigest . " $file\n";
/openbsd/src/regress/usr.bin/snmp/
DMakefile423 ${SNMPGET} -v3 -l authnopriv -u sha1_des -a sha -A testtest 127.0.0.1 sysServices.0 > $@.res
430 ${SNMPGET} -v3 -l authnopriv -u sha224_des -a sha-224 -A testtest 127.0.0.1 sysServices.0 > $@.res
437 ${SNMPGET} -v3 -l authnopriv -u sha256_des -a sha-256 -A testtest 127.0.0.1 sysServices.0 > $@.res
444 ${SNMPGET} -v3 -l authnopriv -u sha384_des -a sha-384 -A testtest 127.0.0.1 sysServices.0 > $@.res
451 ${SNMPGET} -v3 -l authnopriv -u sha512_des -a sha-512 -A testtest 127.0.0.1 sysServices.0 > $@.res
472 …${SNMPGET} -v3 -l authpriv -u sha1_des -a sha -A testtest -x des -X testtest 127.0.0.1 sysServices…
479 …${SNMPGET} -v3 -l authpriv -u sha1_aes -a sha -A testtest -x aes -X testtest 127.0.0.1 sysServices…
486 …${SNMPGET} -v3 -l authpriv -u sha224_des -a sha-224 -A testtest -x des -X testtest 127.0.0.1 sysSe…
493 …${SNMPGET} -v3 -l authpriv -u sha224_aes -a sha-224 -A testtest -x aes -X testtest 127.0.0.1 sysSe…
500 …${SNMPGET} -v3 -l authpriv -u sha256_des -a sha-256 -A testtest -x des -X testtest 127.0.0.1 sysSe…
[all …]
/openbsd/src/gnu/usr.bin/perl/t/porting/
Dcustomized.t91 my ($module,$file,$sha) = split ' ';
92 $customised{ $module }->{ $file } = $sha;

1234