Lines Matching refs:elements

747 	priv.elements[i].tag = TAG_RSA_MODULUS;  in opensslrsa_tofile()
748 priv.elements[i].length = BN_num_bytes(n); in opensslrsa_tofile()
750 priv.elements[i].data = bufs[i]; in opensslrsa_tofile()
753 priv.elements[i].tag = TAG_RSA_PUBLICEXPONENT; in opensslrsa_tofile()
754 priv.elements[i].length = BN_num_bytes(e); in opensslrsa_tofile()
756 priv.elements[i].data = bufs[i]; in opensslrsa_tofile()
760 priv.elements[i].tag = TAG_RSA_PRIVATEEXPONENT; in opensslrsa_tofile()
761 priv.elements[i].length = BN_num_bytes(d); in opensslrsa_tofile()
763 priv.elements[i].data = bufs[i]; in opensslrsa_tofile()
768 priv.elements[i].tag = TAG_RSA_PRIME1; in opensslrsa_tofile()
769 priv.elements[i].length = BN_num_bytes(p); in opensslrsa_tofile()
771 priv.elements[i].data = bufs[i]; in opensslrsa_tofile()
776 priv.elements[i].tag = TAG_RSA_PRIME2; in opensslrsa_tofile()
777 priv.elements[i].length = BN_num_bytes(q); in opensslrsa_tofile()
779 priv.elements[i].data = bufs[i]; in opensslrsa_tofile()
784 priv.elements[i].tag = TAG_RSA_EXPONENT1; in opensslrsa_tofile()
785 priv.elements[i].length = BN_num_bytes(dmp1); in opensslrsa_tofile()
787 priv.elements[i].data = bufs[i]; in opensslrsa_tofile()
792 priv.elements[i].tag = TAG_RSA_EXPONENT2; in opensslrsa_tofile()
793 priv.elements[i].length = BN_num_bytes(dmq1); in opensslrsa_tofile()
795 priv.elements[i].data = bufs[i]; in opensslrsa_tofile()
800 priv.elements[i].tag = TAG_RSA_COEFFICIENT; in opensslrsa_tofile()
801 priv.elements[i].length = BN_num_bytes(iqmp); in opensslrsa_tofile()
803 priv.elements[i].data = bufs[i]; in opensslrsa_tofile()
808 priv.elements[i].tag = TAG_RSA_ENGINE; in opensslrsa_tofile()
809 priv.elements[i].length = (unsigned short)strlen(key->engine) + in opensslrsa_tofile()
811 priv.elements[i].data = (unsigned char *)key->engine; in opensslrsa_tofile()
816 priv.elements[i].tag = TAG_RSA_LABEL; in opensslrsa_tofile()
817 priv.elements[i].length = (unsigned short)strlen(key->label) + in opensslrsa_tofile()
819 priv.elements[i].data = (unsigned char *)key->label; in opensslrsa_tofile()
934 switch (priv.elements[i].tag) { in opensslrsa_parse()
936 engine = (char *)priv.elements[i].data; in opensslrsa_parse()
939 label = (char *)priv.elements[i].data; in opensslrsa_parse()
1008 switch (priv.elements[i].tag) { in opensslrsa_parse()
1014 bn = BN_bin2bn(priv.elements[i].data, in opensslrsa_parse()
1015 priv.elements[i].length, NULL); in opensslrsa_parse()
1019 switch (priv.elements[i].tag) { in opensslrsa_parse()