Home
last modified time | relevance | path

Searched +full:10 +full:k (Results 1 – 25 of 1306) sorted by relevance

12345678910>>...53

/freebsd/crypto/openssl/crypto/modes/asm/
H A Daes-gcm-armv8-unroll8_64.pl27 # | CTR block 8k+13| AES block 8k+8 | GHASH block 8k+0 |
30 # | CTR block 8k+14| AES block 8k+9 | GHASH block 8k+1 |
33 # | CTR block 8k+15| AES block 8k+10| GHASH block 8k+2 |
36 # | CTR block 8k+16| AES block 8k+11| GHASH block 8k+3 |
39 # | CTR block 8k+17| AES block 8k+12| GHASH block 8k+4 |
42 # | CTR block 8k+18| AES block 8k+13| GHASH block 8k+5 |
45 # | CTR block 8k+19| AES block 8k+14| GHASH block 8k+6 |
48 # | CTR block 8k+20| AES block 8k+15| GHASH block 8k+7 |
55 # Ensure previous generated intermediate hash is aligned and merged with result for GHASH 4k+0
57 # EOR res_curr (8k+0), res_curr (4k+0), low_acc
[all …]
H A Daes-gcm-armv8_64.pl27 # | CTR block 4k+8 | AES block 4k+4 | GHASH block 4k+0 |
30 # | CTR block 4k+9 | AES block 4k+5 | GHASH block 4k+1 |
33 # | CTR block 4k+10| AES block 4k+6 | GHASH block 4k+2 |
36 # | CTR block 4k+11| AES block 4k+7 | GHASH block 4k+3 |
43 # Ensure previous generated intermediate hash is aligned and merged with result for GHASH 4k+0
45 # EOR res_curr (4k+0), res_curr (4k+0), low_acc
458 eor $input_l0, $input_l0, $rk10_l @ AES block 0 - round 10 low
459 eor $input_h0, $input_h0, $rk10_h @ AES block 0 - round 10 high
461 eor $input_l2, $input_l2, $rk10_l @ AES block 2 - round 10 low
464 eor $input_l1, $input_l1, $rk10_l @ AES block 1 - round 10 low
[all …]
/freebsd/crypto/openssl/crypto/cast/
H A Dc_skey.c36 CAST_LONG k[32]; in CAST_set_key() local
38 CAST_LONG l, *K; in CAST_set_key() local
47 if (len <= 10) in CAST_set_key()
52 K = &k[0]; in CAST_set_key()
55 X[2] = ((x[8] << 24) | (x[9] << 16) | (x[10] << 8) | x[11]) & 0xffffffffL; in CAST_set_key()
62 l = X[2] ^ S4[z[0]] ^ S5[z[2]] ^ S6[z[1]] ^ S7[z[3]] ^ S7[x[10]]; in CAST_set_key()
66 l = X[1] ^ S4[z[10]] ^ S5[z[9]] ^ S6[z[11]] ^ S7[z[8]] ^ S5[x[11]]; in CAST_set_key()
69 K[0] = S4[z[8]] ^ S5[z[9]] ^ S6[z[7]] ^ S7[z[6]] ^ S4[z[2]]; in CAST_set_key()
70 K[1] = S4[z[10]] ^ S5[z[11]] ^ S6[z[5]] ^ S7[z[4]] ^ S5[z[6]]; in CAST_set_key()
71 K[2] = S4[z[12]] ^ S5[z[13]] ^ S6[z[3]] ^ S7[z[2]] ^ S6[z[9]]; in CAST_set_key()
[all …]
/freebsd/crypto/openssl/crypto/chacha/asm/
H A Dchacha-armv8.pl208 mov.32 @x[10],@d[5]
215 mov $ctr,#10
221 foreach (&ROUND(0, 5,10,15)) { eval; }
235 add.32 @x[10],@x[10],@d[5]
251 add @x[10],@x[10],@x[11],lsl#32
263 rev @x[10],@x[10]
272 eor @x[10],@x[10],@x[11]
279 stp @x[8],@x[10],[$out,#32]
311 add @x[10],@x[10],@x[11],lsl#32
320 rev @x[10],@x[10]
[all …]
/freebsd/sys/crypto/openssl/aarch64/
H A Daes-gcm-armv8-unroll8_64.S223 aesmc v3.16b, v3.16b //AES block 8k+11 - round 8
225 aesmc v6.16b, v6.16b //AES block 8k+14 - round 8
227 aesmc v2.16b, v2.16b //AES block 8k+10 - round 8
230 aesmc v7.16b, v7.16b //AES block 8k+15 - round 8
232 aesmc v0.16b, v0.16b //AES block 8k+8 - round 8
235 aese v3.16b, v26.16b //AES block 8k+11 - round 9
237 aesmc v4.16b, v4.16b //AES block 8k+12 - round 8
238 aese v2.16b, v26.16b //AES block 8k+10 - round 9
241 aesmc v5.16b, v5.16b //AES block 8k+13 - round 8
243 aesmc v1.16b, v1.16b //AES block 8k+9 - round 8
[all …]
H A Daes-gcm-armv8_64.S245 eor x6, x6, x13 //AES block 0 - round 10 low
246 eor x7, x7, x14 //AES block 0 - round 10 high
248 eor x21, x21, x13 //AES block 2 - round 10 low
251 eor x19, x19, x13 //AES block 1 - round 10 low
252 eor x22, x22, x14 //AES block 2 - round 10 high
256 eor x20, x20, x14 //AES block 1 - round 10 high
258 eor x23, x23, x13 //AES block 3 - round 10 low
262 eor x24, x24, x14 //AES block 3 - round 10 high
308 ldp x23, x24, [x0, #48] //AES block 4k+3 - load plaintext
313 rev64 v4.16b, v4.16b //GHASH block 4k (only t0 is free)
[all …]
/freebsd/sys/libkern/
H A Djenkins_hash.c44 #define rot(x,k) (((x)<<(k)) | ((x)>>(32-(k)))) argument
67 Some k values for my "a-=c; a^=rot(c,k); c+=b;" arrangement that
121 10 8 15 26 3 22 24
150 const uint32_t *k, /* the key, an array of uint32_t values */ in jenkins_hash32() argument
162 a += k[0]; in jenkins_hash32()
163 b += k[1]; in jenkins_hash32()
164 c += k[2]; in jenkins_hash32()
167 k += 3; in jenkins_hash32()
173 case 3 : c+=k[2]; in jenkins_hash32()
174 case 2 : b+=k[1]; in jenkins_hash32()
[all …]
/freebsd/contrib/gdtoa/
H A Dgdtoa.c41 int i, k; local
46 k = 0;
49 k++;
52 if (!k)
53 k = 1;
55 b = Balloc(k);
84 * to determine k = floor(log10(d)). We scale relevant
85 * quantities using O(log2(k)) rather than O(k) multiplications.
105 * the correctly rounded result. For k requested digits and
107 * something like 10^(k-15) that we must resort to the Long
[all …]
H A Ddtoa.c41 * to determine k = floor(log10(d)). We scale relevant
42 * quantities using O(log2(k)) rather than O(k) multiplications.
62 * the correctly rounded result. For k requested digits and
64 * something like 10^(k-15) that we must resort to the Long
119 j, j1, k, k0, k_check, leftright, m2, m5, s2, s5, local
215 * log10(x) = log(x) / log(10)
216 * ~=~ log(1.5)/log(10) + (x-1.5)/(1.5*log(10))
217 * log10(&d) = (i-Bias)*log(2)/log(10) + log10(&d2)
219 * This suggests computing an approximation k to log10(&d) by
221 * k = (i - Bias)*0.301029995663981
[all …]
/freebsd/contrib/bearssl/test/
H A Dtest_speed.c44 for (i = 0; i < 10; i ++) { \
49 num = 10; \
53 long k; \
57 for (k = num; k > 0; k --) { \
97 for (i = 0; i < 10; i ++) { \
101 num = 10; \
105 long k; \
109 for (k = num; k > 0; k --) { \
146 for (i = 0; i < 10; i ++) { \
150 num = 10; \
[all …]
/freebsd/contrib/unbound/util/storage/
H A Dlookup3.c118 #define rot(x,k) (((x)<<(k)) | ((x)>>(32-(k)))) argument
150 Some k values for my "a-=c; a^=rot(c,k); c+=b;" arrangement that
204 10 8 15 26 3 22 24
233 const uint32_t *k, /* the key, an array of uint32_t values */ in hashword() argument
245 a += k[0]; in hashword()
246 b += k[1]; in hashword()
247 c += k[2]; in hashword()
250 k += 3; in hashword()
256 case 3 : c+=k[2]; in hashword()
259 case 2 : b+=k[1]; in hashword()
[all …]
/freebsd/sys/contrib/openzfs/module/icp/asm-x86_64/aes/
H A Daeskey.c46 * cx->n_col = 4 10 9 8 7 7
47 * cx->n_col = 5 14 11 10 9 9
82 #define ke4(k, i) \ argument
83 { k[4 * (i) + 4] = ss[0] ^= ls_box(ss[3], 3) ^ t_use(r, c)[i]; \
84 k[4 * (i) + 5] = ss[1] ^= ss[0]; \
85 k[4 * (i) + 6] = ss[2] ^= ss[1]; \
86 k[4 * (i) + 7] = ss[3] ^= ss[2]; \
116 #define kef6(k, i) \ argument
117 { k[6 * (i) + 6] = ss[0] ^= ls_box(ss[5], 3) ^ t_use(r, c)[i]; \
118 k[6 * (i) + 7] = ss[1] ^= ss[0]; \
[all …]
/freebsd/crypto/krb5/src/lib/crypto/builtin/aes/
H A Daeskey.c61 cx->n_col = 4 10 9 8 7 7
62 cx->n_col = 5 14 11 10 9 9
85 #define ke4(k,i) \ argument
86 { k[4*(i)+4] = ss[0] ^= ls_box(ss[3],3) ^ t_use(r,c)[i]; \
87 k[4*(i)+5] = ss[1] ^= ss[0]; \
88 k[4*(i)+6] = ss[2] ^= ss[1]; \
89 k[4*(i)+7] = ss[3] ^= ss[2]; \
114 cx->inf.b[0] = 10 * AES_BLOCK_SIZE; in aes_xi()
128 #define kef6(k,i) \ argument
129 { k[6*(i)+ 6] = ss[0] ^= ls_box(ss[5],3) ^ t_use(r,c)[i]; \
[all …]
/freebsd/sys/dev/cxgb/common/
H A Djhash.h28 b -= c; b -= a; b ^= (a<<10); \
42 const u8 *k = key; in jhash() local
49 a += (k[0] +((u32)k[1]<<8) +((u32)k[2]<<16) +((u32)k[3]<<24)); in jhash()
50 b += (k[4] +((u32)k[5]<<8) +((u32)k[6]<<16) +((u32)k[7]<<24)); in jhash()
51 c += (k[8] +((u32)k[9]<<8) +((u32)k[10]<<16)+((u32)k[11]<<24)); in jhash()
55 k += 12; in jhash()
61 case 11: c += ((u32)k[10]<<24); in jhash()
62 case 10: c += ((u32)k[9]<<16); in jhash()
63 case 9 : c += ((u32)k[8]<<8); in jhash()
64 case 8 : b += ((u32)k[7]<<24); in jhash()
[all …]
/freebsd/lib/libusbhid/
H A Dusage.c1 /* $NetBSD: usage.c,v 1.8 2000/10/10 19:23:58 is Exp $ */
113 curpage->pagesizemax += 10; in hid_init()
143 curpage->pagesizemax = 10; in hid_init()
160 static char b[10]; in hid_usage_page()
161 int k; in hid_usage_page() local
166 for (k = 0; k < npages; k++) in hid_usage_page()
167 if (pages[k].usage == i) in hid_usage_page()
168 return pages[k].name; in hid_usage_page()
179 int j, k, us; in hid_usage_in_page() local
181 for (k = 0; k < npages; k++) in hid_usage_in_page()
[all …]
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zfs_create/
H A Dzfs_create_008_neg.ksh64 "-blah" "-cV 12k" "-s -cV 1P" "-sc" "-Vs 5g" "-o" "--o" "-O" "--O" \
67 "-o recorDSize=64k" "-o recordsize=256K" "-o recordsize=256" \
92 "-o used=10K" "-o used=10K -V $VOLSIZE" \
93 "-o available=10K" "-o available=10K -V $VOLSIZE" \
94 "-o referenced=10K" "-o referenced=10K -V $VOLSIZE" \
96 "-o version=0" "-o version=1.234" "-o version=10K" "-o version=-1" \
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_create/
H A Dzfs_create_008_neg.ksh57 "-blah" "-cV 12k" "-s -cV 1P" "-sc" "-Vs 5g" "-o" "--o" "-O" "--O" \
60 "-o recorDSize=64k" "-o recordsize=32768K" "-o recordsize=32M" \
84 "-o used=10K" "-o used=10K -V $VOLSIZE" \
85 "-o available=10K" "-o available=10K -V $VOLSIZE" \
86 "-o referenced=10K" "-o referenced=10K -V $VOLSIZE" \
88 "-o version=0" "-o version=1.234" "-o version=10K" "-o version=-1" \
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Djhash.h35 b -= c; b -= a; b ^= (a<<10); \
49 const u8 *k = key; in jhash() local
56 a += (k[0] +((u32)k[1]<<8) +((u32)k[2]<<16) +((u32)k[3]<<24)); in jhash()
57 b += (k[4] +((u32)k[5]<<8) +((u32)k[6]<<16) +((u32)k[7]<<24)); in jhash()
58 c += (k[8] +((u32)k[9]<<8) +((u32)k[10]<<16)+((u32)k[11]<<24)); in jhash()
62 k += 12; in jhash()
68 case 11: c += ((u32)k[10]<<24); in jhash()
69 case 10: c += ((u32)k[9]<<16); in jhash()
70 case 9 : c += ((u32)k[8]<<8); in jhash()
71 case 8 : b += ((u32)k[7]<<24); in jhash()
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/lua_core/
H A Dtst.lib_base.lua35 X = X+10
50 local a, t = {10,20,30; x="10", y="20"}, {}
67 assert(a[1] == 10 and a.z == 28 and a[4] == 27 and a.x == "10")
82 a[1] = 10; a[2] = 20; a[3] = 90
83 assert(c[1] == 10 and c[2] == 20 and c[3] == 90)
92 for i=0,10 do
101 for i=1,10 do a[i] = 0; a['a'..i] = 0; end
102 setmetatable(a, {__newindex = function (t,k,v) foi=true; rawset(t,k,v) end})
173 t = setmetatable({1,2,3}, {__len = function () return 10 end})
174 assert(#t == 10 and rawlen(t) == 3)
[all …]
/freebsd/contrib/bearssl/src/ec/
H A Dec_c25519_i31.c30 * - R^2 mod p (R = 2^(31k) for the smallest k such that R >= p)
59 uint32_t y[10];
118 for (i = 0; i < 10; i ++) { in cswap()
133 uint32_t t[10]; in c255_add()
145 uint32_t t[10]; in c255_sub()
155 uint32_t t[10]; in c255_mul()
179 uint32_t x1[10], x2[10], x3[10], z2[10], z3[10]; in api_mul()
180 uint32_t a[10], aa[10], b[10], bb[10]; in api_mul()
181 uint32_t c[10], d[10], e[10], da[10], cb[10]; in api_mul()
182 unsigned char k[32]; in api_mul() local
[all …]
/freebsd/usr.bin/grdc/
H A Dgrdc.c10 * modified 10-18-89 for curses (jrl)
11 * 10-18-89 added signal handling
25 #define YBASE 10
26 #define XBASE 10
63 int i, j, s, k; in main() local
180 set(second % 10, 0); in main()
181 set(second / 10, 4); in main()
182 set(minute % 10, 10); in main()
183 set(minute / 10, 14); in main()
184 set(hour % 10, 20); in main()
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/redacted_send/
H A Dredacted_volume.ksh43 log_must zfs create -b 8k -V 1g $sendvol
44 sleep 10
50 for t in 10 5 3 2 1; do
57 log_must dd if=/dev/urandom of=$send_file bs=8k count=64
66 sleep 10
72 for t in 10 5 3 2 1; do
79 log_must dd if=$send_file of=$tmpdir/send.dd bs=8k count=64
80 log_must dd if=$recv_file of=$tmpdir/recv.dd bs=8k count=64
84 log_must dd if=/dev/urandom of=$clone_file bs=8k count=32
89 sleep 10
[all …]
/freebsd/crypto/openssl/crypto/ripemd/
H A Drmd_local.h67 c=ROTATE(c,10); }
69 #define RIP2(a,b,c,d,e,w,s,K) { \ argument
70 a+=F2(b,c,d)+X(w)+K; \
72 c=ROTATE(c,10); }
74 #define RIP3(a,b,c,d,e,w,s,K) { \ argument
75 a+=F3(b,c,d)+X(w)+K; \
77 c=ROTATE(c,10); }
79 #define RIP4(a,b,c,d,e,w,s,K) { \ argument
80 a+=F4(b,c,d)+X(w)+K; \
82 c=ROTATE(c,10); }
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DCOFFModuleDefinition.cpp53 explicit Token(Kind T = Unknown, StringRef S = "") : K(T), Value(S) {} in Token()
54 Kind K; member
115 Kind K = llvm::StringSwitch<Kind>(Word) in lex() local
130 return Token(K, Word); in lex()
151 } while (Tok.K != Eof); in parse()
167 if (Tok.K != Identifier || Tok.Value.getAsInteger(10, *I)) in readAsInt()
174 if (Tok.K != Expected) in expect()
183 switch (Tok.K) { in parseOne()
189 if (Tok.K != Identifier) { in parseOne()
202 bool IsDll = Tok.K == KwLibrary; // Check before parseName. in parseOne()
[all …]
/freebsd/contrib/byacc/
H A Doutput.c127 fprintf(fp, "#define %-10s %s%s\n", name, symbol_prefix, name + 2); in define_prefixed()
291 putl_code(fp, "#define YYRHSLOC(rhs, k) ((rhs)[k])\n"); in output_ltype()
314 j = 10; in output_rule_data()
317 if (j >= 10) in output_rule_data()
331 j = 10; in output_rule_data()
334 if (j >= 10) in output_rule_data()
354 j = 10; in output_yydefred()
357 if (j < 10) in output_yydefred()
395 j = 10; in output_accessing_symbols()
398 if (j < 10) in output_accessing_symbols()
[all …]

12345678910>>...53