Home
last modified time | relevance | path

Searched refs:mbedtls_cipher_get_block_size (Results 1 – 12 of 12) sorted by relevance

/external/openthread/third_party/mbedtls/repo/programs/aes/
Dcrypt_and_hash.c379 for( offset = 0; offset < filesize; offset += mbedtls_cipher_get_block_size( &cipher_ctx ) ) in main()
381 … ilen = ( (unsigned int) filesize - offset > mbedtls_cipher_get_block_size( &cipher_ctx ) ) ? in main()
382 mbedtls_cipher_get_block_size( &cipher_ctx ) : (unsigned int) ( filesize - offset ); in main()
459 if( mbedtls_cipher_get_block_size( &cipher_ctx ) == 0 ) in main()
470 mbedtls_cipher_get_block_size( &cipher_ctx ) ) != 0 ) in main()
473 mbedtls_cipher_get_block_size( &cipher_ctx )); in main()
552 for( offset = 0; offset < filesize; offset += mbedtls_cipher_get_block_size( &cipher_ctx ) ) in main()
554 … ilen = ( (unsigned int) filesize - offset > mbedtls_cipher_get_block_size( &cipher_ctx ) ) ? in main()
555 mbedtls_cipher_get_block_size( &cipher_ctx ) : (unsigned int) ( filesize - offset ); in main()
560 mbedtls_cipher_get_block_size( &cipher_ctx ) ); in main()
/external/mbedtls/programs/aes/
Dcrypt_and_hash.c366 for( offset = 0; offset < filesize; offset += mbedtls_cipher_get_block_size( &cipher_ctx ) ) in main()
368 … ilen = ( (unsigned int) filesize - offset > mbedtls_cipher_get_block_size( &cipher_ctx ) ) ? in main()
369 mbedtls_cipher_get_block_size( &cipher_ctx ) : (unsigned int) ( filesize - offset ); in main()
446 if( mbedtls_cipher_get_block_size( &cipher_ctx ) == 0 ) in main()
457 mbedtls_cipher_get_block_size( &cipher_ctx ) ) != 0 ) in main()
460 mbedtls_cipher_get_block_size( &cipher_ctx )); in main()
541 for( offset = 0; offset < filesize; offset += mbedtls_cipher_get_block_size( &cipher_ctx ) ) in main()
543 … ilen = ( (unsigned int) filesize - offset > mbedtls_cipher_get_block_size( &cipher_ctx ) ) ? in main()
544 mbedtls_cipher_get_block_size( &cipher_ctx ) : (unsigned int) ( filesize - offset ); in main()
549 mbedtls_cipher_get_block_size( &cipher_ctx ) ); in main()
/external/openthread/third_party/mbedtls/repo/tests/suites/
Dtest_suite_cipher.function113 /* mbedtls_cipher_get_block_size() */
114 TEST_ASSERT( mbedtls_cipher_get_block_size( &invalid_ctx ) == 0 );
239 /* mbedtls_cipher_get_block_size() */
240 TEST_INVALID_PARAM_RET( 0, mbedtls_cipher_get_block_size( NULL ) );
773 block_size = mbedtls_cipher_get_block_size( &ctx_enc );
1013 block_size = mbedtls_cipher_get_block_size( &ctx_enc );
1477 mbedtls_cipher_get_block_size( &ctx ),
1479 TEST_ASSERT( outlen == mbedtls_cipher_get_block_size( &ctx ) );
1487 mbedtls_cipher_get_block_size( &ctx ) ) );
/external/mbedtls/library/
Dcipher.c527 block_size = mbedtls_cipher_get_block_size( ctx ); in mbedtls_cipher_update()
991 else if( mbedtls_cipher_get_block_size( ctx ) != ctx->unprocessed_len ) in mbedtls_cipher_finish()
1005 ctx->operation, mbedtls_cipher_get_block_size( ctx ), ctx->iv, in mbedtls_cipher_finish()
1013 return( ctx->get_padding( output, mbedtls_cipher_get_block_size( ctx ), in mbedtls_cipher_finish()
1017 *olen = mbedtls_cipher_get_block_size( ctx ); in mbedtls_cipher_finish()
Dssl_msg.c5383 block_size = mbedtls_cipher_get_block_size( in mbedtls_ssl_get_record_expansion()
/external/mbedtls/tests/suites/
Dtest_suite_cipher.function206 /* mbedtls_cipher_get_block_size() */
207 TEST_ASSERT( mbedtls_cipher_get_block_size( &invalid_ctx ) == 0 );
461 block_size = mbedtls_cipher_get_block_size( &ctx_enc );
733 block_size = mbedtls_cipher_get_block_size( &ctx_enc );
1063 mbedtls_cipher_get_block_size( &ctx ),
1065 TEST_ASSERT( outlen == mbedtls_cipher_get_block_size( &ctx ) );
1073 mbedtls_cipher_get_block_size( &ctx ) ) );
/external/openthread/third_party/mbedtls/repo/library/
Dcipher.c503 block_size = mbedtls_cipher_get_block_size( ctx ); in mbedtls_cipher_update()
960 else if( mbedtls_cipher_get_block_size( ctx ) != ctx->unprocessed_len ) in mbedtls_cipher_finish()
974 ctx->operation, mbedtls_cipher_get_block_size( ctx ), ctx->iv, in mbedtls_cipher_finish()
982 return( ctx->get_padding( output, mbedtls_cipher_get_block_size( ctx ), in mbedtls_cipher_finish()
986 *olen = mbedtls_cipher_get_block_size( ctx ); in mbedtls_cipher_finish()
Dssl_msg.c5253 block_size = mbedtls_cipher_get_block_size( in mbedtls_ssl_get_record_expansion()
/external/openthread/third_party/mbedtls/repo/include/mbedtls/
Dcipher.h505 static inline unsigned int mbedtls_cipher_get_block_size( in mbedtls_cipher_get_block_size() function
Dcompat-1.3.h1805 #define cipher_get_block_size mbedtls_cipher_get_block_size
/external/mbedtls/include/mbedtls/
Dcipher.h670 static inline unsigned int mbedtls_cipher_get_block_size( in mbedtls_cipher_get_block_size() function
/external/openthread/third_party/mbedtls/repo/scripts/data_files/
Drename-1.3-2.0.txt1384 cipher_get_block_size mbedtls_cipher_get_block_size