def _advapi32_interpret_rsa_key_blob(bit_size, blob_struct, blob):
len1 = bit_size // <NUM_LIT:8><EOL>len2 = bit_size // <NUM_LIT:16><EOL>prime1_offset = len1<EOL>prime2_offset = prime1_offset + len2<EOL>exponent1_offset = prime2_offset + len2<EOL>exponent2_offset = exponent1_offset + len2<EOL>coefficient_offset = exponent2_offset + len2<EOL>private_exponent_offset = coefficient_offset + len2<EOL>public_exponent = blob_struct.rsapubkey.pubexp<EOL>modulus = int_from_bytes(blob[<NUM_LIT:0>:prime1_offset][::-<NUM_LIT:1>])<EOL>prime1 = int_from_bytes(blob[prime1_offset:prime2_offset][::-<NUM_LIT:1>])<EOL>prime2 = int_from_bytes(blob[prime2_offset:exponent1_offset][::-<NUM_LIT:1>])<EOL>exponent1 = int_from_bytes(blob[exponent1_offset:exponent2_offset][::-<NUM_LIT:1>])<EOL>exponent2 = int_from_bytes(blob[exponent2_offset:coefficient_offset][::-<NUM_LIT:1>])<EOL>coefficient = int_from_bytes(blob[coefficient_offset:private_exponent_offset][::-<NUM_LIT:1>])<EOL>private_exponent = int_from_bytes(blob[private_exponent_offset:private_exponent_offset + len1][::-<NUM_LIT:1>])<EOL>public_key_info = keys.PublicKeyInfo({<EOL>'<STR_LIT>': keys.PublicKeyAlgorithm({<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>}),<EOL>'<STR_LIT>': keys.RSAPublicKey({<EOL>'<STR_LIT>': modulus,<EOL>'<STR_LIT>': public_exponent,<EOL>}),<EOL>})<EOL>rsa_private_key = keys.RSAPrivateKey({<EOL>'<STR_LIT:version>': '<STR_LIT>',<EOL>'<STR_LIT>': modulus,<EOL>'<STR_LIT>': public_exponent,<EOL>'<STR_LIT>': private_exponent,<EOL>'<STR_LIT>': prime1,<EOL>'<STR_LIT>': prime2,<EOL>'<STR_LIT>': exponent1,<EOL>'<STR_LIT>': exponent2,<EOL>'<STR_LIT>': coefficient,<EOL>})<EOL>private_key_info = keys.PrivateKeyInfo({<EOL>'<STR_LIT:version>': <NUM_LIT:0>,<EOL>'<STR_LIT>': keys.PrivateKeyAlgorithm({<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>}),<EOL>'<STR_LIT>': rsa_private_key,<EOL>})<EOL>return (public_key_info, private_key_info)<EOL>
Takes a CryptoAPI RSA private key blob and converts it into the ASN.1
structures for the public and private keys

:param bit_size:
    The integer bit size of the key

:param blob_struct:
    An instance of the advapi32.RSAPUBKEY struct

:param blob:
    A byte string of the binary data after the header

:return:
    A 2-element tuple of (asn1crypto.keys.PublicKeyInfo,
    asn1crypto.keys.PrivateKeyInfo)