Home
last modified time | relevance | path

Searched refs:v (Results 1 – 25 of 65) sorted by relevance

123

/lib/blake2/
A Dblake2b.c170 G(r,0,v[ 0],v[ 4],v[ 8],v[12]); \
171 G(r,1,v[ 1],v[ 5],v[ 9],v[13]); \
172 G(r,2,v[ 2],v[ 6],v[10],v[14]); \
173 G(r,3,v[ 3],v[ 7],v[11],v[15]); \
174 G(r,4,v[ 0],v[ 5],v[10],v[15]); \
175 G(r,5,v[ 1],v[ 6],v[11],v[12]); \
176 G(r,6,v[ 2],v[ 7],v[ 8],v[13]); \
177 G(r,7,v[ 3],v[ 4],v[ 9],v[14]); \
183 uint64_t v[16]; in blake2b_compress() local
191 v[i] = S->h[i]; in blake2b_compress()
[all …]
/lib/mbedtls/external/mbedtls/include/psa/
A Dcrypto_struct.h92 return v; in psa_hash_operation_init()
124 return v; in psa_cipher_operation_init()
156 return v; in psa_mac_operation_init()
195 return v; in psa_aead_operation_init()
223 return v; in psa_key_derivation_operation_init()
252 const struct psa_key_policy_s v = PSA_KEY_POLICY_INIT; in psa_key_policy_init() local
253 return v; in psa_key_policy_init()
306 return v; in psa_key_attributes_init()
453 const struct psa_sign_hash_interruptible_operation_s v = in psa_sign_hash_interruptible_operation_init() local
456 return v; in psa_sign_hash_interruptible_operation_init()
[all …]
/lib/bzip2/
A Dbzlib_compress.c110 void bsW ( EState* s, Int32 n, UInt32 v ) in bsW() argument
300 for (v = 0; v < alphaSize; v++) in sendMTFValues()
301 s->len[t][v] = BZ_GREATER_ICOST; in sendMTFValues()
340 for (v = 0; v < alphaSize; v++) in sendMTFValues()
341 if (v >= gs && v <= ge) in sendMTFValues()
359 for (v = 0; v < alphaSize; v++) in sendMTFValues()
360 s->rfreq[t][v] = 0; in sendMTFValues()
367 for (v = 0; v < alphaSize; v++) { in sendMTFValues()
368 s->len_pack[v][0] = (s->len[1][v] << 16) | s->len[0][v]; in sendMTFValues()
369 s->len_pack[v][1] = (s->len[3][v] << 16) | s->len[2][v]; in sendMTFValues()
[all …]
A Dbzlib_decompress.c86 UInt32 v; \
87 v = (s->bsBuff >> \
90 vvv = v; \
342 UChar pos[BZ_N_GROUPS], tmp, v; in BZ2_decompress() local
343 for (v = 0; v < nGroups; v++) pos[v] = v; in BZ2_decompress()
346 v = s->selectorMtf[i]; in BZ2_decompress()
347 tmp = pos[v]; in BZ2_decompress()
348 while (v > 0) { pos[v] = pos[v-1]; v--; } in BZ2_decompress()
/lib/
A Dcrc32c.c27 uint32_t v; in crc32c_init() local
31 v = i; in crc32c_init()
33 v = (v >> 1) ^ ((v & 1) ? poly : 0); in crc32c_init()
35 crc32c_table[i] = v; in crc32c_init()
A Doid_registry.c112 const unsigned char *v = data, *end = v + datasize; in sprint_oid() local
118 if (v >= end) in sprint_oid()
121 n = *v++; in sprint_oid()
128 while (v < end) { in sprint_oid()
130 n = *v++; in sprint_oid()
136 if (v >= end) in sprint_oid()
138 n = *v++; in sprint_oid()
A Dsscanf.c236 int c, n, v; in __sccl() local
241 v = 1; /* default => accept */ in __sccl()
244 v = 0; /* default => reject */ in __sccl()
249 tab[n] = v; /* memset(tab, v, 256) */ in __sccl()
261 v = 1 - v; in __sccl()
263 tab[c] = v; /* take character c */ in __sccl()
297 tab[++c] = v; in __sccl()
A Dtables_csum.c8 u8 table_compute_checksum(const void *v, const int len) in table_compute_checksum() argument
10 const u8 *bytes = v; in table_compute_checksum()
A Dbch.c308 while (v >= n) { in modulo()
309 v -= n; in modulo()
310 v = (v & n) + (v >> GF_M(bch)); in modulo()
312 return v; in modulo()
318 static inline int mod_s(struct bch_control *bch, unsigned int v) in mod_s() argument
321 return (v < n) ? v : v-n; in mod_s()
613 unsigned int u, v, r; in find_poly_deg2_roots() local
630 v = u; in find_poly_deg2_roots()
631 while (v) { in find_poly_deg2_roots()
632 i = deg(v); in find_poly_deg2_roots()
[all …]
/lib/mbedtls/external/mbedtls/library/
A Dpkcs12.c342 size_t hlen, use_len, v, i; in mbedtls_pkcs12_derivation() local
363 v = 64; in mbedtls_pkcs12_derivation()
365 v = 128; in mbedtls_pkcs12_derivation()
368 memset(diversifier, (unsigned char) id, v); in mbedtls_pkcs12_derivation()
371 pkcs12_fill_buffer(salt_block, v, salt, saltlen); in mbedtls_pkcs12_derivation()
375 pkcs12_fill_buffer(pwd_block, v, pwd, pwdlen); in mbedtls_pkcs12_derivation()
382 v) != 0) { in mbedtls_pkcs12_derivation()
396 pkcs12_fill_buffer(hash_block, v, hash_output, hlen); in mbedtls_pkcs12_derivation()
399 for (i = v; i > 0; i--) { in mbedtls_pkcs12_derivation()
408 for (i = v; i > 0; i--) { in mbedtls_pkcs12_derivation()
[all …]
A Dcamellia.c864 int i, j, u, v; in mbedtls_camellia_self_test() local
886 v = j & 1; in mbedtls_camellia_self_test()
894 if (v == MBEDTLS_CAMELLIA_DECRYPT) { in mbedtls_camellia_self_test()
906 if (v == MBEDTLS_CAMELLIA_DECRYPT) { in mbedtls_camellia_self_test()
918 mbedtls_camellia_crypt_ecb(&ctx, v, src, buf); in mbedtls_camellia_self_test()
943 v = j & 1; in mbedtls_camellia_self_test()
954 if (v == MBEDTLS_CAMELLIA_DECRYPT) { in mbedtls_camellia_self_test()
962 if (v == MBEDTLS_CAMELLIA_DECRYPT) { in mbedtls_camellia_self_test()
972 mbedtls_camellia_crypt_cbc(&ctx, v, 16, iv, src, buf); in mbedtls_camellia_self_test()
998 v = i & 1; in mbedtls_camellia_self_test()
[all …]
A Ddes.c836 int i, j, u, v, ret = 0; in mbedtls_des_self_test() local
852 v = i & 1; in mbedtls_des_self_test()
857 (v == MBEDTLS_DES_DECRYPT) ? "dec" : "enc"); in mbedtls_des_self_test()
905 if ((v == MBEDTLS_DES_DECRYPT && in mbedtls_des_self_test()
907 (v != MBEDTLS_DES_DECRYPT && in mbedtls_des_self_test()
932 v = i & 1; in mbedtls_des_self_test()
937 (v == MBEDTLS_DES_DECRYPT) ? "dec" : "enc"); in mbedtls_des_self_test()
976 if (v == MBEDTLS_DES_DECRYPT) { in mbedtls_des_self_test()
979 ret = mbedtls_des_crypt_cbc(&ctx, v, 8, iv, buf, buf); in mbedtls_des_self_test()
1008 if ((v == MBEDTLS_DES_DECRYPT && in mbedtls_des_self_test()
[all …]
/lib/efi_selftest/
A Defi_selftest_variables_runtime.c50 u8 v[16] = {0x5d, 0xd1, 0x5e, 0x51, 0x5a, 0x05, 0xc7, 0x0c, in execute() local
82 3, v + 4); in execute()
98 3, v + 4); in execute()
159 sizeof(v), v); in execute()
167 0, sizeof(v), v); in execute()
178 sizeof(v), v); in execute()
214 9, v + 4); in execute()
283 sizeof(v), v); in execute()
A Defi_selftest_variables.c48 u8 v[16] = {0x5d, 0xd1, 0x5e, 0x51, 0x5a, 0x05, 0xc7, 0x0c, in execute() local
65 3, v + 4); in execute()
78 if (memcmp(data, v + 4, 3)) { in execute()
89 8, v); in execute()
106 if (memcmp(data, v, 8)) { in execute()
114 7, v + 8); in execute()
129 if (memcmp(data, v, len)) in execute()
136 0, v); in execute()
153 15, v); in execute()
168 if (memcmp(data, v, len)) in execute()
A Defi_selftest_load_file.c64 struct efi_device_path_vendor v; member
83 struct efi_device_path_vendor v; member
115 struct efi_device_path_vendor v; member
134 struct efi_device_path_vendor v; member
392 ret = boottime->load_image(true, image_handle, &dp_lf_file.v.dp, NULL, in efi_st_load_file_execute()
411 ret = boottime->load_image(false, image_handle, &dp_lf_file.v.dp, NULL, in efi_st_load_file_execute()
427 ret = boottime->load_image(true, image_handle, &dp_lf2_file.v.dp, NULL, in efi_st_load_file_execute()
438 ret = boottime->load_image(false, image_handle, &dp_lf2_file.v.dp, NULL, in efi_st_load_file_execute()
/lib/zstd/common/
A Dzstd_internal.h355 U32 v = val; in ZSTD_highbit32()
356 v |= v >> 1; in ZSTD_highbit32()
357 v |= v >> 2; in ZSTD_highbit32()
358 v |= v >> 4; in ZSTD_highbit32()
359 v |= v >> 8; in ZSTD_highbit32()
360 v |= v >> 16; in ZSTD_highbit32()
361 return DeBruijnClz[(v * 0x07C4ACDDU) >> 27]; in ZSTD_highbit32()
A Dbitstream.h134 U32 v = val; in BIT_highbit32()
135 v |= v >> 1; in BIT_highbit32()
136 v |= v >> 2; in BIT_highbit32()
137 v |= v >> 4; in BIT_highbit32()
138 v |= v >> 8; in BIT_highbit32()
139 v |= v >> 16; in BIT_highbit32()
140 return DeBruijnClz[ (U32) (v * 0x07C4ACDDU) >> 27]; in BIT_highbit32()
/lib/lwip/lwip/src/netif/ppp/
A Dvj.c133 PACK_STRUCT_FIELD(u32_t v);
145 PACK_STRUCT_FIELD(u16_t v);
223 || (*(struct vj_u32_t*)th).v != (((struct vj_u32_t*)&cs->cs_ip)[IPH_HL(&cs->cs_ip)]).v) { in vj_compress_tcp()
244 && (*(struct vj_u32_t*)th).v == (((struct vj_u32_t*)&cs->cs_ip)[IPH_HL(&cs->cs_ip)]).v) { in vj_compress_tcp()
288 if ((((struct vj_u16_t*)ip)[0]).v != (((struct vj_u16_t*)&cs->cs_ip)[0]).v in vj_compress_tcp()
289 || (((struct vj_u16_t*)ip)[3]).v != (((struct vj_u16_t*)&cs->cs_ip)[3]).v in vj_compress_tcp()
290 || (((struct vj_u16_t*)ip)[4]).v != (((struct vj_u16_t*)&cs->cs_ip)[4]).v in vj_compress_tcp()
615 tmp += (*bp++).v; in vj_uncompress_tcp()
/lib/mbedtls/external/mbedtls/programs/test/
A Dselftest.c376 int v = 1; /* v=1 for verbose mode */ in main() local
504 v = 0; in main()
513 if (v != 0) { in main()
528 if (test->function(v) != 0) { in main()
551 if (v) { in main()
557 if (test->function(v) != 0) { in main()
569 if (v != 0) { in main()
/lib/mbedtls/external/mbedtls/tests/include/test/drivers/
A Dkey_agreement.h32 v = MBEDTLS_TEST_DRIVER_KEY_AGREEMENT_INIT; in mbedtls_test_driver_key_agreement_hooks_init() local
33 return v; in mbedtls_test_driver_key_agreement_hooks_init()
A Dhash.h30 const mbedtls_test_driver_hash_hooks_t v = MBEDTLS_TEST_DRIVER_HASH_INIT; in mbedtls_test_driver_hash_hooks_init() local
31 return v; in mbedtls_test_driver_hash_hooks_init()
A Dpake.h44 const mbedtls_test_driver_pake_hooks_t v = MBEDTLS_TEST_DRIVER_PAKE_INIT; in mbedtls_test_driver_pake_hooks_init() local
45 return v; in mbedtls_test_driver_pake_hooks_init()
A Dasymmetric_encryption.h34 const mbedtls_test_driver_asymmetric_encryption_hooks_t v = in mbedtls_test_driver_asymmetric_encryption_hooks_init() local
36 return v; in mbedtls_test_driver_asymmetric_encryption_hooks_init()
/lib/lwip/lwip/src/include/netif/ppp/
A Dccp.h85 #define BSD_MAKE_OPT(v, n) (((v) << 5) | (n)) argument
/lib/crypto/
A Dx509_cert_parser.c494 const unsigned char *v = value; in x509_process_extension() local
502 if (v[0] != ASN1_OTS || v[1] != vlen - 2) in x509_process_extension()
504 v += 2; in x509_process_extension()
508 ctx->cert->raw_skid = v; in x509_process_extension()
509 kid = asymmetric_key_generate_id(v, vlen, "", 0); in x509_process_extension()
519 ctx->raw_akid = v; in x509_process_extension()

Completed in 51 milliseconds

123