Searched refs:K1 (Results 1 - 25 of 61) sorted by relevance

123

/macosx-10.9.5/Heimdal-323.92.1/lib/hcrypto/
H A Dsha.c65 #define K1 0x6ed9eba1 macro
124 DO(20,F1,K1);
125 DO(21,F1,K1);
126 DO(22,F1,K1);
127 DO(23,F1,K1);
128 DO(24,F1,K1);
129 DO(25,F1,K1);
130 DO(26,F1,K1);
131 DO(27,F1,K1);
132 DO(28,F1,K1);
[all...]
/macosx-10.9.5/passwordserver_sasl-170/cyrus_sasl/mac/libdes/src/
H A Dsha.c85 /* * Copyright (c) 1995, 1996, 1997, 1998 Kungliga Tekniska H�gskolan * (Royal Institute of Technology, Stockholm, Sweden). * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * 3. All advertising materials mentioning features or use of this software * must display the following acknowledgement: * This product includes software developed by the Kungliga Tekniska * H�gskolan and its contributors. * * 4. Neither the name of the Institute nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ #ifdef HAVE_CONFIG_H #include "config.h" RCSID("$Id: sha.c,v 1.4 2005/01/10 19:09:08 snsimon Exp $"); #endif #include <stdlib.h> #include <string.h> #include "sha.h" #ifndef min #define min(a,b) (((a)>(b))?(b):(a)) #endif #define A m->counter[0] #define B m->counter[1] #define C m->counter[2] #define D m->counter[3] #define E m->counter[4] #define X data void sha_init (struct sha *m) { m->offset = 0; m->sz = 0; A = 0x67452301; B = 0xefcdab89; C = 0x98badcfe; D = 0x10325476; E = 0xc3d2e1f0; } static inline u_int32_t cshift (u_int32_t x, unsigned int n) { return (x << n) | (x >> (32 - n)); } #define F0(x,y,z) ((x & y) | (~x & z)) #define F1(x,y,z) (x ^ y ^ z) #define F2(x,y,z) ((x & y) | (x & z) | (y & z)) #define F3(x,y,z) F1(x,y,z) #define K0 0x5a827999 #define K1 0x6ed9eba1 #define K2 0x8f1bbcdc #define K3 0xca62c1d6 #define DO(t,f,k) \ do { \ u_int32_t temp; \ \ temp = cshift(AA, 5) + f(BB,CC,DD) + EE + data[t] + k; \ EE = DD; \ DD = CC; \ CC = cshift(BB, 30); \ BB = AA; \ AA = temp; \ } while(0) static inline void calc (struct sha *m, u_int32_t *in) { u_int32_t AA, BB, CC, DD, EE; u_int32_t data[80]; int i; AA = A; BB = B; CC = C; DD = D; EE = E; for (i = 0; i < 16; ++i) data[i] = in[i]; for (i = 16; i < 80; ++i) data[i] = cshift(data[i-3] ^ data[i-8] ^ data[i-14] ^ data[i-16], 1); /* t=[0,19] */ DO(0,F0,K0); DO(1,F0,K0); DO(2,F0,K0); DO(3,F0,K0); DO(4,F0,K0); DO(5,F0,K0); DO(6,F0,K0); DO(7,F0,K0); DO(8,F0,K0); DO(9,F0,K0); DO(10,F0,K0); DO(11,F0,K0); DO(12,F0,K0); DO(13,F0,K0); DO(14,F0,K0); DO(15,F0,K0); DO(16,F0,K0); DO(17,F0,K0); DO(18,F0,K0); DO(19,F0,K0); /* t=[20,39] */ DO(20,F1,K1); DO(21,F1,K1); DO(22,F1,K1); DO(23,F1,K1); DO(24,F1,K1); DO(25,F1,K1); DO(26,F1,K1); DO(27,F1,K1); DO(28,F1,K1); D
[all...]
/macosx-10.9.5/CommonCrypto-60049/lib/
H A DCommonCMAC.c71 if ( (L[0] & 0x80) == 0 ) { /* If MSB(L) = 0, then K1 = L << 1 */
73 } else { /* Else K1 = ( L << 1 ) (+) Rb */
107 uint8_t K1[16], K2[16]; local
119 ccGenAESSubKey(aesmode, ctx, K1, K2);
134 xor_128(&data[16*(n-1)],K1,M_last);
/macosx-10.9.5/CPANInternal-140/Digest-SHA/src/
H A Dsha.c43 #define K1 C32(0x5a827999) /* SHA-1 constants */ macro
122 M11(Ch, K1, *wp++); M12(Ch, K1, *wp++); M13(Ch, K1, *wp++);
123 M14(Ch, K1, *wp++); M15(Ch, K1, *wp++); M11(Ch, K1, *wp++);
124 M12(Ch, K1, *wp++); M13(Ch, K1, *wp++); M14(Ch, K1, *w
[all...]
/macosx-10.9.5/WebCore-7537.78.1/svg/
H A DSVGFECompositeElement.h94 DECLARE_ANIMATED_NUMBER(K1, k1)
/macosx-10.9.5/CPANInternal-140/DateTime-Locale/lib/DateTime/Locale/
H A Dmt.pm112 my $quarter_format_abbreviated = [ "K1", "K2", "K3", "K4" ];
116 my $quarter_format_wide = [ "K1", "K2", "K3", "K4" ];
370 K1
377 K1
391 K1
398 K1
665 2008-02-05T18:30:30 = 2008 K1
H A Dmt_MT.pm247 K1
254 K1
268 K1
275 K1
542 2008-02-05T18:30:30 = 2008 K1
H A Daf.pm112 my $quarter_format_abbreviated = [ "K1", "K2", "K3", "K4" ];
383 K1
404 K1
677 2008-02-05T18:30:30 = 2008 K1
H A Daf_NA.pm288 K1
309 K1
582 2008-02-05T18:30:30 = 2008 K1
H A Daf_ZA.pm249 K1
270 K1
543 2008-02-05T18:30:30 = 2008 K1
H A Dbs.pm108 my $quarter_format_abbreviated = [ "K1", "K2", "K3", "K4" ];
349 K1
370 K1
631 2008-02-05T18:30:30 = 2008 K1
H A Dbs_BA.pm244 K1
265 K1
526 2008-02-05T18:30:30 = 2008 K1
H A Dda_DK.pm249 K1
270 K1
549 2008-02-05T18:30:30 = K1 2008
H A Deo.pm108 my $quarter_format_abbreviated = [ "K1", "K2", "K3", "K4" ];
349 K1
370 K1
631 2008-02-05T18:30:30 = 2008 K1
H A Det.pm112 my $quarter_format_abbreviated = [ "K1", "K2", "K3", "K4" ];
383 K1
404 K1
677 2008-02-05T18:30:30 = 2008 K1
H A Det_EE.pm249 K1
270 K1
543 2008-02-05T18:30:30 = 2008 K1
H A Dfo.pm113 my $quarter_format_abbreviated = [ "K1", "K2", "K3", "K4" ];
390 K1
411 K1
690 2008-02-05T18:30:30 = 2008 K1
H A Dfo_FO.pm249 K1
270 K1
549 2008-02-05T18:30:30 = 2008 K1
H A Did.pm108 my $quarter_format_abbreviated = [ "K1", "K2", "K3", "K4" ];
379 K1
400 K1
679 2008-02-05T18:30:30 = 2008 K1
H A Did_ID.pm249 K1
270 K1
549 2008-02-05T18:30:30 = 2008 K1
H A Dnb_NO.pm249 K1
270 K1
543 2008-02-05T18:30:30 = K1 2008
H A Dnl_BE.pm259 K1
280 K1
559 2008-02-05T18:30:30 = K1 2008
/macosx-10.9.5/ksh-20/ksh/src/lib/libast/uwin/
H A Dcrypt.c284 #define DCL_BLOCK_K DCL_BLOCK(K,K0,K1)
663 PERM6464(K,K0,K1,(unsigned char *)key,(C_block *)PC1ROT);
665 STORE(K&~0x03030303L, K0&~0x03030303L, K1, *(C_block *)key);
668 STORE(K,K0,K1,*(C_block *)key);
670 PERM6464(K,K0,K1,(unsigned char *)key,ptabp);
671 STORE(K&~0x03030303L, K0&~0x03030303L, K1, *(C_block *)key);
/macosx-10.9.5/ruby-104/ruby/missing/
H A Dcrypt.c606 register DCL_BLOCK(K, K0, K1);
616 PERM6464(K,K0,K1,(unsigned char *)key,(C_block *)PC1ROT);
618 STORE(K&~0x03030303L, K0&~0x03030303L, K1, *(C_block *)key);
621 STORE(K,K0,K1,*(C_block *)key);
623 PERM6464(K,K0,K1,(unsigned char *)key,ptabp);
624 STORE(K&~0x03030303L, K0&~0x03030303L, K1, *(C_block *)key);
/macosx-10.9.5/ksh-20/ksh/src/lib/libast/tm/
H A Dtmxdate.c142 #define K1(c1) (c1) macro
1107 case K1('y'):
1108 case K1('Y'):
1114 case K1('M'):
1120 case K1('w'):
1121 case K1('W'):
1127 case K1('d'):
1128 case K1('D'):
1136 case K1('h'):
1137 case K1('
[all...]

Completed in 285 milliseconds

123