Searched refs:pt (Results 1 – 10 of 10) sorted by relevance
/net-tools-3.7.0/mbedtls-2.4.0/library/ |
D | ecp.c | 271 void mbedtls_ecp_point_init( mbedtls_ecp_point *pt ) in mbedtls_ecp_point_init() argument 273 if( pt == NULL ) in mbedtls_ecp_point_init() 276 mbedtls_mpi_init( &pt->X ); in mbedtls_ecp_point_init() 277 mbedtls_mpi_init( &pt->Y ); in mbedtls_ecp_point_init() 278 mbedtls_mpi_init( &pt->Z ); in mbedtls_ecp_point_init() 308 void mbedtls_ecp_point_free( mbedtls_ecp_point *pt ) in mbedtls_ecp_point_free() argument 310 if( pt == NULL ) in mbedtls_ecp_point_free() 313 mbedtls_mpi_free( &( pt->X ) ); in mbedtls_ecp_point_free() 314 mbedtls_mpi_free( &( pt->Y ) ); in mbedtls_ecp_point_free() 315 mbedtls_mpi_free( &( pt->Z ) ); in mbedtls_ecp_point_free() [all …]
|
D | gcm.c | 574 static const unsigned char pt[MAX_TESTS][64] = variable 763 pt[pt_index[i]], buf, 16, tag_buf ); in mbedtls_gcm_self_test() 793 memcmp( buf, pt[pt_index[i]], pt_len[i] ) != 0 || in mbedtls_gcm_self_test() 827 ret = mbedtls_gcm_update( &ctx, 32, pt[pt_index[i]], buf ); in mbedtls_gcm_self_test() 836 ret = mbedtls_gcm_update( &ctx, rest_len, pt[pt_index[i]] + 32, in mbedtls_gcm_self_test() 848 ret = mbedtls_gcm_update( &ctx, pt_len[i], pt[pt_index[i]], buf ); in mbedtls_gcm_self_test() 927 memcmp( buf, pt[pt_index[i]], pt_len[i] ) != 0 || in mbedtls_gcm_self_test()
|
/net-tools-3.7.0/mbedtls-2.4.0/include/mbedtls/ |
D | ecp.h | 281 void mbedtls_ecp_point_init( mbedtls_ecp_point *pt ); 296 void mbedtls_ecp_point_free( mbedtls_ecp_point *pt ); 338 int mbedtls_ecp_set_zero( mbedtls_ecp_point *pt ); 347 int mbedtls_ecp_is_zero( mbedtls_ecp_point *pt ); 430 int mbedtls_ecp_tls_read_point( const mbedtls_ecp_group *grp, mbedtls_ecp_point *pt, 447 int mbedtls_ecp_tls_write_point( const mbedtls_ecp_group *grp, const mbedtls_ecp_point *pt, 570 int mbedtls_ecp_check_pubkey( const mbedtls_ecp_group *grp, const mbedtls_ecp_point *pt );
|
/net-tools-3.7.0/mbedtls-2.4.0/tests/suites/ |
D | test_suite_ecp.function | 308 mbedtls_ecp_point pt; 314 mbedtls_ecp_point_init( &pt ); 321 TEST_ASSERT( mbedtls_ecp_tls_read_point( &grp, &pt, &vbuf, olen ) 328 TEST_ASSERT( mbedtls_ecp_tls_read_point( &grp, &pt, &vbuf, olen ) == 0 ); 329 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &grp.G.X, &pt.X ) == 0 ); 330 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &grp.G.Y, &pt.Y ) == 0 ); 331 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &grp.G.Z, &pt.Z ) == 0 ); 335 TEST_ASSERT( mbedtls_ecp_set_zero( &pt ) == 0 ); 336 TEST_ASSERT( mbedtls_ecp_tls_write_point( &grp, &pt, 338 TEST_ASSERT( mbedtls_ecp_tls_read_point( &grp, &pt, &vbuf, olen ) == 0 ); [all …]
|
/net-tools-3.7.0/mbedtls-2.4.0/tests/scripts/ |
D | gen_gcm_encrypt.pl | 58 my $pt = get_val("PT"); 67 print(":\"$pt\"");
|
D | gen_gcm_decrypt.pl | 79 my $pt = get_val_or_fail("PT"); 89 print(":\"$pt\"");
|
/net-tools-3.7.0/tinydtls-0.8.2/aes/ |
D | rijndael.c | 722 #define GETU32(pt) (((aes_u32)(pt)[0] << 24) ^ ((aes_u32)(pt)[1] << 16) ^ ((aes_u32)(pt)[2] << 8) … argument 863 rijndaelEncrypt(const aes_u32 rk[/*4*(Nr + 1)*/], int Nr, const aes_u8 pt[16], in rijndaelEncrypt() 875 s0 = GETU32(pt ) ^ rk[0]; in rijndaelEncrypt() 876 s1 = GETU32(pt + 4) ^ rk[1]; in rijndaelEncrypt() 877 s2 = GETU32(pt + 8) ^ rk[2]; in rijndaelEncrypt() 878 s3 = GETU32(pt + 12) ^ rk[3]; in rijndaelEncrypt() 1049 aes_u8 pt[16]) in rijndaelDecrypt() 1207 PUTU32(pt , s0); in rijndaelDecrypt() 1214 PUTU32(pt + 4, s1); in rijndaelDecrypt() 1221 PUTU32(pt + 8, s2); in rijndaelDecrypt() [all …]
|
D | rijndael.h | 64 void rijndaelEncrypt(const aes_u32 rk[/*4*(Nr + 1)*/], int Nr, const aes_u8 pt[16], aes_u8 ct[16]);
|
/net-tools-3.7.0/tinydtls-0.8.2/doc/ |
D | Doxyfile.in | 1406 # The default size is 10pt.
|
/net-tools-3.7.0/mbedtls-2.4.0/doxygen/ |
D | mbedtls.doxyfile | 1741 # The default size is 10pt.
|