Home
last modified time | relevance | path

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

/third_party/mbedtls/programs/aes/
Dcrypt_and_hash.c377 for( offset = 0; offset < filesize; offset += mbedtls_cipher_get_block_size( &cipher_ctx ) ) in main()
379 … ilen = ( (unsigned int) filesize - offset > mbedtls_cipher_get_block_size( &cipher_ctx ) ) ? in main()
380 mbedtls_cipher_get_block_size( &cipher_ctx ) : (unsigned int) ( filesize - offset ); in main()
457 if( mbedtls_cipher_get_block_size( &cipher_ctx ) == 0 ) in main()
468 mbedtls_cipher_get_block_size( &cipher_ctx ) ) != 0 ) in main()
471 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()
/third_party/mbedtls/tests/suites/
Dtest_suite_cipher.function209 /* mbedtls_cipher_get_block_size() */
210 TEST_ASSERT( mbedtls_cipher_get_block_size( &invalid_ctx ) == 0 );
459 block_size = mbedtls_cipher_get_block_size( &ctx_enc );
706 block_size = mbedtls_cipher_get_block_size( &ctx_enc );
1028 mbedtls_cipher_get_block_size( &ctx ),
1030 TEST_ASSERT( outlen == mbedtls_cipher_get_block_size( &ctx ) );
1038 mbedtls_cipher_get_block_size( &ctx ) ) );
/third_party/mbedtls/library/
Dcipher.c537 block_size = mbedtls_cipher_get_block_size( ctx ); in mbedtls_cipher_update()
1004 else if( mbedtls_cipher_get_block_size( ctx ) != ctx->unprocessed_len ) in mbedtls_cipher_finish()
1018 ctx->operation, mbedtls_cipher_get_block_size( ctx ), ctx->iv, in mbedtls_cipher_finish()
1026 return( ctx->get_padding( output, mbedtls_cipher_get_block_size( ctx ), in mbedtls_cipher_finish()
1030 *olen = mbedtls_cipher_get_block_size( ctx ); in mbedtls_cipher_finish()
Dssl_msg.c4877 block_size = mbedtls_cipher_get_block_size( in mbedtls_ssl_get_record_expansion()
/third_party/mbedtls/include/mbedtls/
Dcipher.h669 static inline unsigned int mbedtls_cipher_get_block_size( in mbedtls_cipher_get_block_size() function