aqbanking should be ported to use NSS library for cryptography. See the tracking bug for details and links on how it could be done.
aqbanking only uses whatever gwenhywfar uses - there is no direct code that I can see.