Searched refs:Modulus (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/lib/libkmf/plugins/kmf_pkcs11/common/ |
H A D | pkcs11_spi.c | 779 KMF_DATA Modulus, Exponent, Prime, Subprime, Base, Value; in KMFPK11_EncodePubKeyData() local 799 (void) memset(&Modulus, 0, sizeof (Modulus)); in KMFPK11_EncodePubKeyData() 812 SETATTR(rsaTemplate, 2, CKA_MODULUS, Modulus.Data, in KMFPK11_EncodePubKeyData() 813 Modulus.Length); in KMFPK11_EncodePubKeyData() 824 Modulus.Length = rsaTemplate[2].ulValueLen; in KMFPK11_EncodePubKeyData() 825 Modulus.Data = malloc(Modulus.Length); in KMFPK11_EncodePubKeyData() 826 if (Modulus.Data == NULL) in KMFPK11_EncodePubKeyData() 832 free(Modulus.Data); in KMFPK11_EncodePubKeyData() 836 SETATTR(rsaTemplate, 2, CKA_MODULUS, Modulus.Data, in KMFPK11_EncodePubKeyData() 837 Modulus.Length); in KMFPK11_EncodePubKeyData() [all …]
|
/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/ |
H A D | metaObjectManager.c | 117 static CK_BYTE Modulus[128] = { variable 928 template[i].pValue = Modulus; in create_wrap_unwrap_key() 929 template[i].ulValueLen = sizeof (Modulus); in create_wrap_unwrap_key()
|