1 Mar 2006 14:47
Utterly Confused by Resync
Ben Laurie <ben <at> algroup.co.uk>
2006-03-01 13:47:32 GMT
2006-03-01 13:47:32 GMT
I just implemented the Symmetrically Encrypted Data packet. It also does a "resync" after the first blocksize+2 bytes. However, I find that, unlike the MPI resync for v3 keys, as well as wiggling around the IV I have to encrypt it. That is, the resync operation for MPI looks like this: 1. Set the IV to the last blocksize bytes of ciphertext 2. Set the offset within the IV to zero. Whereas for the Symmetrically Encrypted Data resync looks like: 1. Set the IV to the last blocksize bytes of ciphertext 2. Encrypt the IV 3. Set the offset within the IV to zero. Can this possibly be right? Does the spec explain this at all? Cheers, Ben. -- -- http://www.apache-ssl.org/ben.html http://www.links.org/ "There is no limit to what a man can do or how far he can go if he doesn't mind who gets the credit." - Robert Woodruff(Continue reading)
I had thought it a bit strange that someone writing so comprehensively
about something related to digital signatures and to then make the
statement as you did at the end of the paragraph I quoted. Did you have
some other intended meaning, such as broken by draft explicit
prohibition or otherwise declared deprecated in a future draft?
Cheers,
James
RSS Feed