Searched +refs:md5 +refs:bytes (Results 1 - 18 of 18) sorted by relevance

/macosx-10.10/tcl-105/tcl_ext/tcllib/tcllib/modules/md5/
H A Dmd5c.tcl13 critcl::cheaders md5.h; # The RSA header file
14 critcl::csources md5.c; # The RSA MD5 implementation.
16 namespace eval ::md5 {
19 #include "md5.h"
51 /* convert via a byte array to properly handle null bytes */
56 obj->bytes = Tcl_Alloc(obj->length + 1);
57 memcpy(obj->bytes, str, obj->length + 1);
131 puts "testing: ::md5::md5c \"$msg\""
132 binary scan [::md5::md5c $msg] H* computed
H A Dmd5.tcl3 # md5.tcl - MD5 in Tcl
28 namespace eval ::md5 {
31 if {![catch {package require Trf 2.0}] && ![catch {::md5 -- test}]} {
35 proc ::md5::md5 {msg} {
36 string tolower [::hex -mode encode -- [::md5 -- $msg]]
47 proc ::md5::hmac {key text} {
48 # if key is longer than 64 bytes, reset it to MD5(key). If shorter,
52 #old: set key [binary format H32 [md5 $key]]
53 set key [::md5
405 proc md5 {msg} $md5body procedure
[all...]
H A Dmd5x.tcl0 # md5.tcl - Copyright (C) 2003 Pat Thoyts <patthoyts@users.sourceforge.net>
8 # from the earlier tcllib md5 version by Don Libes.
23 namespace eval ::md5 {
29 namespace export md5 hmac MD5Init MD5Update MD5Final
44 proc ::md5::MD5Init {} {
68 ::md5 -attach $s -mode write \
89 proc ::md5::MD5Update {token data} {
133 proc ::md5::MD5Final {token} {
180 set r [bytes $state(A)][bytes
[all...]
/macosx-10.10/tcl-105/tcl_ext/sdx/sdx/lib/md5/
H A Dmd5.tcl3 # md5.tcl - MD5 in Tcl
26 namespace eval ::md5 {
33 proc ::md5::md5 {msg} {
34 string tolower [::hex -mode encode -- [::md5 -- $msg]]
45 proc ::md5::hmac {key text} {
46 # if key is longer than 64 bytes, reset it to MD5(key). If shorter,
50 #old: set key [binary format H32 [md5 $key]]
51 set key [::md5 -- $key]
70 # Perform inner md5, appendin
403 proc md5 {msg} $md5body procedure
[all...]
/macosx-10.10/AppleFileSystemDriver-17/
H A DAppleFileSystemDriver.cpp35 #include <libkern/crypto/md5.h>
120 uint8_t bytes[kVolumeUUIDValueLength]; member in union:VolumeUUID
135 void * bytes = 0; local
154 bytes = (void *) buffer->getBytesNoCopy();
156 mdbPtr = (HFSMasterDirectoryBlock *)bytes;
157 volHdrPtr = (HFSPlusVolumeHeader *)bytes;
206 bcopy((void *)&mdbPtr->drFndrInfo[6], volumeUUIDPtr->bytes, kVolumeUUIDValueLength);
211 bcopy((void *)&volHdrPtr->finderInfo[24], volumeUUIDPtr->bytes, kVolumeUUIDValueLength);
316 volumeUUID.bytes, kVolumeUUIDValueLength,
/macosx-10.10/bind9-45.101/bind9/lib/dns/
H A Dhmac_link.c42 #include <isc/md5.h>
151 unsigned int bytes; local
156 bytes = (key->key_size + 7) / 8;
157 if (bytes > ISC_SHA1_BLOCK_LENGTH) {
158 bytes = ISC_SHA1_BLOCK_LENGTH;
163 ret = dst__entropy_getdata(data, bytes, ISC_TF(pseudorandom_ok != 0));
168 isc_buffer_init(&b, data, bytes);
169 isc_buffer_add(&b, bytes);
194 unsigned int bytes; local
200 bytes
247 int bytes = (key->key_size + 7) / 8; local
427 unsigned int bytes; local
470 unsigned int bytes; local
523 int bytes = (key->key_size + 7) / 8; local
705 unsigned int bytes; local
748 unsigned int bytes; local
801 int bytes = (key->key_size + 7) / 8; local
983 unsigned int bytes; local
1026 unsigned int bytes; local
1079 int bytes = (key->key_size + 7) / 8; local
1261 unsigned int bytes; local
1304 unsigned int bytes; local
1357 int bytes = (key->key_size + 7) / 8; local
1539 unsigned int bytes; local
1582 unsigned int bytes; local
1635 int bytes = (key->key_size + 7) / 8; local
[all...]
/macosx-10.10/bind9-45.101/bind9/lib/isc/
H A Dmd5.c18 /* $Id: md5.c,v 1.16 2009/02/06 23:47:42 tbox Exp $ */
31 * To compute the message digest of a chunk of bytes, declare an
33 * needed on buffers full of bytes, and then call MD5Final, which
40 #include <isc/md5.h>
93 ctx->bytes[0] = 0;
94 ctx->bytes[1] = 0;
119 * the data and converts bytes into longwords for this routine.
206 * of bytes.
214 t = ctx->bytes[0];
215 if ((ctx->bytes[
[all...]
/macosx-10.10/ntp-92/lib/isc/
H A Dmd5.c18 /* $Id: md5.c,v 1.14 2007/06/19 23:47:17 tbox Exp $ */
31 * To compute the message digest of a chunk of bytes, declare an
33 * needed on buffers full of bytes, and then call MD5Final, which
40 #include <isc/md5.h>
68 ctx->bytes[0] = 0;
69 ctx->bytes[1] = 0;
94 * the data and converts bytes into longwords for this routine.
181 * of bytes.
189 t = ctx->bytes[0];
190 if ((ctx->bytes[
[all...]
/macosx-10.10/Heimdal-398.1.2/tools/
H A Dkdc-log-analyze.pl421 } elsif (/TCP-connection from IPv[46]:([0-9\.:a-fA-F]+) expired after [0-9]+ bytes/) {
427 } elsif (/connection closed before end of data after [0-9]+ bytes from IPv[46]:([0-9\.:a-fA-F]+)/) {
450 } elsif (/sending ([0-9]+) bytes to IPv[46]:([0-9\.:a-fA-F]+)/) {
459 if ($ticket =~ /des-cbc-(crc|md4|md5)/) {
/macosx-10.10/OpenSSH-189/openssh/
H A Dsshd.c78 #include "ossl-md5.h"
83 #include <openssl/md5.h>
2159 verbose("Transferred: sent %llu, received %llu bytes",
2244 * Generate check bytes that the client must send back in the user
2308 /* Get check bytes from the packet. These must match those we
2312 packet_disconnect("IP Spoofing check bytes do not match.");
2351 * Xor the first 16 bytes of the session key with the
2359 int bytes = BN_num_bytes(session_key_int); local
2360 u_char *buf = xmalloc(bytes);
2366 MD5_Update(&md, buf, bytes);
[all...]
/macosx-10.10/OpenSSL098-52/src/demos/engines/zencod/
H A Dhw_zencod.c125 #define ZEN_BITS(n, bytes) (ptr_zencod_bytes2bits((unsigned char *) (n), (unsigned long) (bytes)))
351 /* meth_rand->bytes ; */
352 /* zencod_rand.bytes = meth_rand->bytes ; */
1166 * and evp, sha md5 definitions etc ...
1171 #include <openssl/md5.h>
1279 0, /* FIXME: key should be up to 256 bytes */
/macosx-10.10/ipsec-286.1.1/ipsec-tools/racoon/
H A Dcftoken.l474 md5 { YYD; yylval.num = algtype_md5; return(ALGORITHMTYPE); }
644 B|byte|bytes { YYD; return(UNITTYPE_BYTE); }
/macosx-10.10/xnu-2782.1.97/bsd/net/
H A Dpf_ioctl.c105 #include <libkern/crypto/md5.h>
1445 pf_state_counter_to_pfsync(s->bytes[0], sp->bytes[0]);
1446 pf_state_counter_to_pfsync(s->bytes[1], sp->bytes[1]);
1501 s->bytes[0] = s->bytes[1] = 0;
1973 rule->bytes[0] = rule->bytes[1] = 0;
3102 rule->bytes[
[all...]
H A Dpf.c81 #include <libkern/crypto/md5.h>
5321 r->bytes[dirndx] += pd->tot_len;
5335 r->bytes[dirndx] += pd->tot_len;
5553 gs->bytes[0] = gs->bytes[1] = 0;
6785 * Only the first 8 bytes of the TCP header can be
7804 * Must be able to put at least 8 bytes per fragment.
8511 r->bytes[dirndx] += pd.tot_len;
8514 a->bytes[dirndx] += pd.tot_len;
8520 s->nat_rule.ptr->bytes[dirnd
[all...]
/macosx-10.10/ksh-23/ksh/src/cmd/INIT/
H A Dpackage.sh11 # (with md5 checksum b35adb5213ca9657e911e9befb180842) #
69 checksum_commands="$checksum md5"
4152 '') echo "$3 ($4 bytes):" >&2
4225 echo $command: $3: download error: expected $4 bytes, got $z >&2
4243 *) echo "$3 ($4 bytes)" >&2
6114 *.md5) : tarball checksum
6234 then while read md5 mode usr grp file
6353 *.md5) continue
/macosx-10.10/xnu-2782.1.97/bsd/hfs/
H A Dhfs_vfsops.c104 #include <libkern/crypto/md5.h>
1311 /* Compute an accurate disk size (i.e. within 512 bytes) */
2808 size_t bytes; local
2831 &bytes, bufsize, 0, UTF_DECOMPOSED);
2833 hint = hfs_pickencoding(unicode_name, bytes / 2);
2957 /* Note that the JIB's offset is in bytes */
4033 * located at FS Size - 1024 bytes, because this one will
4066 * Flush out alternate volume header located at 1024 bytes before
/macosx-10.10/vim-55/runtime/autoload/
H A Dphpcomplete.vim2724 \ 'md5(': 'string str [, bool raw_output] | string',
2741 \ 'mhash_keygen_s2k(': 'int hash, string password, string salt, int bytes | string',
/macosx-10.10/libarchive-30/libarchive/
H A Dconfigure619 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
5669 # (any single argument exceeding 2000 bytes causes a buffer overrun
15125 for ac_header in md5.h ripemd.h rmd160.h sha.h sha1.h sha2.h sha256.h
15587 for ac_header in openssl/md5.h
20845 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes

Completed in 921 milliseconds