Home
last modified time | relevance | path

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

123

/net-tools-3.4.0/mbedtls-2.4.0/yotta/data/example-selftest/
Dmain.cpp69 int ret = 0, v; in selftest() local
75 v = 0; in selftest()
78 v = 1; in selftest()
89 if( ( ret = mbedtls_md2_self_test( v ) ) != 0 ) in selftest()
94 if( ( ret = mbedtls_md4_self_test( v ) ) != 0 ) in selftest()
99 if( ( ret = mbedtls_md5_self_test( v ) ) != 0 ) in selftest()
104 if( ( ret = mbedtls_ripemd160_self_test( v ) ) != 0 ) in selftest()
109 if( ( ret = mbedtls_sha1_self_test( v ) ) != 0 ) in selftest()
114 if( ( ret = mbedtls_sha256_self_test( v ) ) != 0 ) in selftest()
119 if( ( ret = mbedtls_sha512_self_test( v ) ) != 0 ) in selftest()
[all …]
/net-tools-3.4.0/mbedtls-2.4.0/programs/test/
Dselftest.c141 int v, suites_tested = 0, suites_failed = 0; in main() local
171 v = 0; in main()
175 v = 1; in main()
186 if( mbedtls_md2_self_test( v ) != 0 ) in main()
194 if( mbedtls_md4_self_test( v ) != 0 ) in main()
202 if( mbedtls_md5_self_test( v ) != 0 ) in main()
210 if( mbedtls_ripemd160_self_test( v ) != 0 ) in main()
218 if( mbedtls_sha1_self_test( v ) != 0 ) in main()
226 if( mbedtls_sha256_self_test( v ) != 0 ) in main()
234 if( mbedtls_sha512_self_test( v ) != 0 ) in main()
[all …]
/net-tools-3.4.0/libcoap/include/coap/
Dprng.h49 unsigned short v = random_rand(); in contiki_prng_impl() local
50 while (len > sizeof(v)) { in contiki_prng_impl()
51 memcpy(buf, &v, sizeof(v)); in contiki_prng_impl()
52 len -= sizeof(v); in contiki_prng_impl()
53 buf += sizeof(v); in contiki_prng_impl()
54 v = random_rand(); in contiki_prng_impl()
57 memcpy(buf, &v, len); in contiki_prng_impl()
68 u32_t v = LWIP_RAND(); in lwip_prng_impl() local
69 while (len > sizeof(v)) { in lwip_prng_impl()
70 memcpy(buf, &v, sizeof(v)); in lwip_prng_impl()
[all …]
Dencode.h36 #define COAP_PSEUDOFP_ENCODE_8_4_DOWN(v,ls) (v < HIBIT ? v : (ls = coap_fls(v) - Nn, (v >> ls) & MM… argument
37 #define COAP_PSEUDOFP_ENCODE_8_4_UP(v,ls,s) (v < HIBIT ? v : (ls = coap_fls(v) - Nn, (s = (((v + ((… argument
Dstr.h20 #define COAP_SET_STR(st,l,v) { (st)->length = (l), (st)->s = (v); } argument
Dresource.h209 #define COAP_PRINT_OUTPUT_LENGTH(v) ((v) & ~COAP_PRINT_STATUS_MASK) argument
/net-tools-3.4.0/tinydtls-0.8.2/
Dprng.h61 unsigned short v = random_rand(); in dtls_prng() local
62 while (len > sizeof(v)) { in dtls_prng()
63 memcpy(buf, &v, sizeof(v)); in dtls_prng()
64 len -= sizeof(v); in dtls_prng()
65 buf += sizeof(v); in dtls_prng()
66 v = random_rand(); in dtls_prng()
69 memcpy(buf, &v, len); in dtls_prng()
/net-tools-3.4.0/mbedtls-2.4.0/library/
Dpkcs12.c51 static void mbedtls_zeroize( void *v, size_t n ) { in mbedtls_zeroize() argument
52 volatile unsigned char *p = v; while( n-- ) *p++ = 0; in mbedtls_zeroize()
262 size_t hlen, use_len, v, i; in mbedtls_pkcs12_derivation() local
282 v = 64; in mbedtls_pkcs12_derivation()
284 v = 128; in mbedtls_pkcs12_derivation()
286 memset( diversifier, (unsigned char) id, v ); in mbedtls_pkcs12_derivation()
288 pkcs12_fill_buffer( salt_block, v, salt, saltlen ); in mbedtls_pkcs12_derivation()
289 pkcs12_fill_buffer( pwd_block, v, pwd, pwdlen ); in mbedtls_pkcs12_derivation()
298 if( ( ret = mbedtls_md_update( &md_ctx, diversifier, v ) ) != 0 ) in mbedtls_pkcs12_derivation()
301 if( ( ret = mbedtls_md_update( &md_ctx, salt_block, v ) ) != 0 ) in mbedtls_pkcs12_derivation()
[all …]
Ddes.c52 static void mbedtls_zeroize( void *v, size_t n ) { in mbedtls_zeroize() argument
53 volatile unsigned char *p = (unsigned char*)v; while( n-- ) *p++ = 0; in mbedtls_zeroize()
872 int i, j, u, v, ret = 0; in mbedtls_des_self_test() local
889 v = i & 1; in mbedtls_des_self_test()
894 ( v == MBEDTLS_DES_DECRYPT ) ? "dec" : "enc" ); in mbedtls_des_self_test()
936 if( ( v == MBEDTLS_DES_DECRYPT && in mbedtls_des_self_test()
938 ( v != MBEDTLS_DES_DECRYPT && in mbedtls_des_self_test()
962 v = i & 1; in mbedtls_des_self_test()
967 ( v == MBEDTLS_DES_DECRYPT ) ? "dec" : "enc" ); in mbedtls_des_self_test()
1003 if( v == MBEDTLS_DES_DECRYPT ) in mbedtls_des_self_test()
[all …]
Dcamellia.c52 static void mbedtls_zeroize( void *v, size_t n ) { in mbedtls_zeroize() argument
53 volatile unsigned char *p = (unsigned char*)v; while( n-- ) *p++ = 0; in mbedtls_zeroize()
896 int i, j, u, v; in mbedtls_camellia_self_test() local
916 v = j & 1; in mbedtls_camellia_self_test()
920 (v == MBEDTLS_CAMELLIA_DECRYPT) ? "dec" : "enc"); in mbedtls_camellia_self_test()
925 if( v == MBEDTLS_CAMELLIA_DECRYPT ) { in mbedtls_camellia_self_test()
935 mbedtls_camellia_crypt_ecb( &ctx, v, src, buf ); in mbedtls_camellia_self_test()
960 v = j & 1; in mbedtls_camellia_self_test()
964 ( v == MBEDTLS_CAMELLIA_DECRYPT ) ? "dec" : "enc" ); in mbedtls_camellia_self_test()
970 if( v == MBEDTLS_CAMELLIA_DECRYPT ) { in mbedtls_camellia_self_test()
[all …]
Darc4.c51 static void mbedtls_zeroize( void *v, size_t n ) { in mbedtls_zeroize() argument
52 volatile unsigned char *p = (unsigned char*)v; while( n-- ) *p++ = 0; in mbedtls_zeroize()
Daes.c58 static void mbedtls_zeroize( void *v, size_t n ) { in mbedtls_zeroize() argument
59 volatile unsigned char *p = (unsigned char*)v; while( n-- ) *p++ = 0; in mbedtls_zeroize()
1222 int ret = 0, i, j, u, v; in mbedtls_aes_self_test() local
1250 v = i & 1; in mbedtls_aes_self_test()
1254 ( v == MBEDTLS_AES_DECRYPT ) ? "dec" : "enc" ); in mbedtls_aes_self_test()
1258 if( v == MBEDTLS_AES_DECRYPT ) in mbedtls_aes_self_test()
1263 mbedtls_aes_crypt_ecb( &ctx, v, buf, buf ); in mbedtls_aes_self_test()
1279 mbedtls_aes_crypt_ecb( &ctx, v, buf, buf ); in mbedtls_aes_self_test()
1305 v = i & 1; in mbedtls_aes_self_test()
1309 ( v == MBEDTLS_AES_DECRYPT ) ? "dec" : "enc" ); in mbedtls_aes_self_test()
[all …]
Dmd2.c52 static void mbedtls_zeroize( void *v, size_t n ) { in mbedtls_zeroize() argument
53 volatile unsigned char *p = v; while( n-- ) *p++ = 0; in mbedtls_zeroize()
Dxtea.c46 static void mbedtls_zeroize( void *v, size_t n ) { in mbedtls_zeroize() argument
47 volatile unsigned char *p = v; while( n-- ) *p++ = 0; in mbedtls_zeroize()
Dssl_cookie.c47 static void mbedtls_zeroize( void *v, size_t n ) { in mbedtls_zeroize() argument
48 volatile unsigned char *p = v; while( n-- ) *p++ = 0; in mbedtls_zeroize()
Dx509write_csr.c47 static void mbedtls_zeroize( void *v, size_t n ) { in mbedtls_zeroize() argument
48 volatile unsigned char *p = v; while( n-- ) *p++ = 0; in mbedtls_zeroize()
Dhavege.c43 static void mbedtls_zeroize( void *v, size_t n ) { in mbedtls_zeroize() argument
44 volatile unsigned char *p = v; while( n-- ) *p++ = 0; in mbedtls_zeroize()
Dasn1parse.c47 static void mbedtls_zeroize( void *v, size_t n ) { in mbedtls_zeroize() argument
48 volatile unsigned char *p = (unsigned char*)v; while( n-- ) *p++ = 0; in mbedtls_zeroize()
Dx509_csr.c64 static void mbedtls_zeroize( void *v, size_t n ) { in mbedtls_zeroize() argument
65 volatile unsigned char *p = v; while( n-- ) *p++ = 0; in mbedtls_zeroize()
/net-tools-3.4.0/tinydtls-0.8.2/ecc/
Decc.c45 int v = 0; in add() local
46 for(v = 0;v<length;v++){ in add()
48 d += (uint64_t) x[v] + (uint64_t) y[v]; in add()
50 result[v] = d; in add()
59 int v; in sub() local
60 for(v = 0;v < length; v++){ in sub()
61 d = (uint64_t) x[v] - (uint64_t) y[v] - d; in sub()
62 result[v] = d & 0xFFFFFFFF; in sub()
354 uint32_t u[8],v[8],x1[8],x2[8]; in fieldInv() local
360 setZero(v, 8); in fieldInv()
[all …]
/net-tools-3.4.0/libcoap/examples/
Dcoap-rd.txt.in17 *coap-rd* [*-A* addr] [*-g* group] [*-p* port] [*-v* num]
36 *-v* num::
56 coap-rd -A 2001:db8:81a8:0:6ef0:dead:feed:beef -v 5
Dcoap-server.txt.in17 *coap-server* [*-A* addr] [*-g* group] [*-p* port] [*-v* num]
36 *-v* num::
56 coap-server -A 2001:db8:81a8:0:6ef0:dead:feed:beef -v 5
/net-tools-3.4.0/mbedtls-2.4.0/tests/data_files/
Dcrl_md4.pem10 v+nIx7rAOW6UNU8aj1kfJHYjEKMBH1I9wjMSHUpkxBLQOKlPNRksiEVsIhmEVss=
Dserver1.v1.crt17 OFIBDcU0x1cFfPfMgVdBLf6klPt/v/tD77mwx0eztSp28NIf+ACw8A==
Dkeyfile.aes25613 pKxl2FA2H0BVKtfNBHXvWkORi+v+XZl34rZZ37B8snYIN2aOqLuvyM4fd1EabkyG

123