AES CBC: how shall i get to know with AES CBC method, the received Cipher Text is padded or not Algorithm: AES - CBC mode with PKCS7 padding

KeyValue:

10a58869d74be5a374cf867cfb473859


IV:

00000000000000000000000000000000


Plaintext:

00000000000000000000000000000000


Expected ciphertext:

6d251e6944b051e04eaa6fb4dbf78465


Three steps are used to compute the CBC Encrypt as mentioned below:

CBC_Start(Key,IV)
CBC_Update(Plaintext, plaintext length, Ciphertext, Ciphertextlength)
CBC_Finish(Ciphertext, Ciphertextlength)


Ciphertext is obtained when the update is finished, but when finish is completed, the ciphertext obtained is different from what is expected.

Why is this happening?
Your expected ciphertext is correct if you work with no padding. With PKCS padding the result is
6D251E6944B051E04EAA6FB4DBF78465881572C3A96A612C111055707BD7614E