Home
last modified time | relevance | path

Searched refs:u (Results 1 – 17 of 17) sorted by relevance

/net-tools-3.7.0/mbedtls-2.4.0/library/
Dcamellia.c896 int i, j, u, v; in mbedtls_camellia_self_test() local
915 u = j >> 1; in mbedtls_camellia_self_test()
919 mbedtls_printf( " CAMELLIA-ECB-%3d (%s): ", 128 + u * 64, in mbedtls_camellia_self_test()
923 memcpy( key, camellia_test_ecb_key[u][i], 16 + 8 * u ); in mbedtls_camellia_self_test()
926 mbedtls_camellia_setkey_dec( &ctx, key, 128 + u * 64 ); in mbedtls_camellia_self_test()
927 memcpy( src, camellia_test_ecb_cipher[u][i], 16 ); in mbedtls_camellia_self_test()
930 mbedtls_camellia_setkey_enc( &ctx, key, 128 + u * 64 ); in mbedtls_camellia_self_test()
932 memcpy( dst, camellia_test_ecb_cipher[u][i], 16 ); in mbedtls_camellia_self_test()
959 u = j >> 1; in mbedtls_camellia_self_test()
963 mbedtls_printf( " CAMELLIA-CBC-%3d (%s): ", 128 + u * 64, in mbedtls_camellia_self_test()
[all …]
Ddes.c872 int i, j, u, v, ret = 0; in mbedtls_des_self_test() local
888 u = i >> 1; in mbedtls_des_self_test()
893 ( u == 0 ) ? ' ' : '3', 56 + u * 56, in mbedtls_des_self_test()
930 if( u == 0 ) in mbedtls_des_self_test()
937 memcmp( buf, des3_test_ecb_dec[u], 8 ) != 0 ) || in mbedtls_des_self_test()
939 memcmp( buf, des3_test_ecb_enc[u], 8 ) != 0 ) ) in mbedtls_des_self_test()
961 u = i >> 1; in mbedtls_des_self_test()
966 ( u == 0 ) ? ' ' : '3', 56 + u * 56, in mbedtls_des_self_test()
1007 if( u == 0 ) in mbedtls_des_self_test()
1019 if( u == 0 ) in mbedtls_des_self_test()
[all …]
Daes.c1222 int ret = 0, i, j, u, v; in mbedtls_aes_self_test() local
1249 u = i >> 1; in mbedtls_aes_self_test()
1253 mbedtls_printf( " AES-ECB-%3d (%s): ", 128 + u * 64, in mbedtls_aes_self_test()
1260 mbedtls_aes_setkey_dec( &ctx, key, 128 + u * 64 ); in mbedtls_aes_self_test()
1265 if( memcmp( buf, aes_test_ecb_dec[u], 16 ) != 0 ) in mbedtls_aes_self_test()
1276 mbedtls_aes_setkey_enc( &ctx, key, 128 + u * 64 ); in mbedtls_aes_self_test()
1281 if( memcmp( buf, aes_test_ecb_enc[u], 16 ) != 0 ) in mbedtls_aes_self_test()
1304 u = i >> 1; in mbedtls_aes_self_test()
1308 mbedtls_printf( " AES-CBC-%3d (%s): ", 128 + u * 64, in mbedtls_aes_self_test()
1317 mbedtls_aes_setkey_dec( &ctx, key, 128 + u * 64 ); in mbedtls_aes_self_test()
[all …]
Decp.c794 mbedtls_mpi *c, u, Zi, ZZi; in ecp_normalize_jac_many() local
802 mbedtls_mpi_init( &u ); mbedtls_mpi_init( &Zi ); mbedtls_mpi_init( &ZZi ); in ecp_normalize_jac_many()
817 MBEDTLS_MPI_CHK( mbedtls_mpi_inv_mod( &u, &c[t_len-1], &grp->P ) ); in ecp_normalize_jac_many()
826 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &Zi, &u ) ); in ecp_normalize_jac_many()
830 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &Zi, &u, &c[i-1] ) ); MOD_MUL( Zi ); in ecp_normalize_jac_many()
831 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &u, &u, &T[i]->Z ) ); MOD_MUL( u ); in ecp_normalize_jac_many()
858 mbedtls_mpi_free( &u ); mbedtls_mpi_free( &Zi ); mbedtls_mpi_free( &ZZi ); in ecp_normalize_jac_many()
/net-tools-3.7.0/libcoap/src/
Dcoap_io.c478 } u; in coap_network_read() local
479 u.c = CMSG_DATA(cmsg); in coap_network_read()
480 (*packet)->ifindex = (int)(u.p->ipi6_ifindex); in coap_network_read()
483 &u.p->ipi6_addr, sizeof(struct in6_addr)); in coap_network_read()
500 } u; in coap_network_read() local
502 u.c = CMSG_DATA(cmsg); in coap_network_read()
503 (*packet)->ifindex = u.p->ipi_ifindex; in coap_network_read()
506 &u.p->ipi_addr, sizeof(struct in_addr)); in coap_network_read()
/net-tools-3.7.0/tinydtls-0.8.2/ecc/
Decc.c354 uint32_t u[8],v[8],x1[8],x2[8]; in fieldInv() local
359 setZero(u, 8); in fieldInv()
363 copy(A,u,arrayLength); in fieldInv()
369 while ((isOne(u) || isOne(v))==0) { in fieldInv()
370 while(!(u[0]&1)) { /* While u is even */ in fieldInv()
371 rshift(u); /* divide by 2 */ in fieldInv()
392 t=sub(u,v,tempm,arrayLength); /* tempm=u-v */ in fieldInv()
394 copy(tempm,u,arrayLength); /* u=u-v */ in fieldInv()
398 sub(v,u,tempm,arrayLength); /* tempm=v-u */ in fieldInv()
404 if (isOne(u)) { in fieldInv()
/net-tools-3.7.0/mbedtls-2.4.0/tests/data_files/
Dserver8.crt10 u/HuOQQ4o73i0eBma+KcR5npKOa2/C7KZ0OE6NWD1p2YawE+gdw8esr585z31igb
Dserver9-sha224.crt15 PHZLxI0pLQUnFJQ9Kpu6jxfICseBF00Z6BJE/RcYDpIie5GDt/8u/i6xB6Li29Pm
Dtest-int-ca.crt21 CgYIKoZIzj0EAwIDaAAwZQIxAPyE+u+eP7gRrSFjQicmpYg8jiFUCYEowWY2zuOG
Dserver8_int-ca2.crt10 u/HuOQQ4o73i0eBma+KcR5npKOa2/C7KZ0OE6NWD1p2YawE+gdw8esr585z31igb
Dserver2.key24 ISOWmrUCgYAFEmRxgwAc/u+D6t0syCwAYh6POtscq9Y0i9GyWk89NzgC4NdwwbBH
Dserver7_all_space.crt44 CgYIKoZIzj0EAwIDaAAwZQIxAPyE+u+eP7gRrSFjQicmpYg8jiFUCYEowWY2zuOG
Dserver7_int-ca.crt44 CgYIKoZIzj0EAwIDaAAwZQIxAPyE+u+eP7gRrSFjQicmpYg8jiFUCYEowWY2zuOG
Dserver7_pem_space.crt44 CgYIKoZIzj0EAwIDaAAwZQIxAPyE+u+eP7gRrSFjQicmpYg8jiFUCYEowWY2zuOG
Dserver7_trailing_space.crt44 CgYIKoZIzj0EAwIDaAAwZQIxAPyE+u+eP7gRrSFjQicmpYg8jiFUCYEowWY2zuOG
Dserver7_int-ca_ca2.crt44 CgYIKoZIzj0EAwIDaAAwZQIxAPyE+u+eP7gRrSFjQicmpYg8jiFUCYEowWY2zuOG
/net-tools-3.7.0/
DREADME.legacy37 $ nc -u -6 2001:db8::2 4242 <<EOF
98 $ nc -u 192.0.2.2 4242 <<EOF